diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-23 06:50:15 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-23 06:50:15 +0000 |
commit | 2faafb710633884260b070e1d4ed4ef46326612a (patch) | |
tree | deea4d9ecb9e799fcd28900a1b76c6c0bce01cbf /sca-cpp/trunk/components/cache | |
parent | 8f252e970a8b3584d3f566dba619b79d70b5efcf (diff) |
Support cookies over outgoing HTTP calls and a shorter component URL addressing scheme.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1126336 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components/cache')
-rw-r--r-- | sca-cpp/trunk/components/cache/client-test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-cpp/trunk/components/cache/client-test.cpp b/sca-cpp/trunk/components/cache/client-test.cpp index bef5aa454a..c44060b7a4 100644 --- a/sca-cpp/trunk/components/cache/client-test.cpp +++ b/sca-cpp/trunk/components/cache/client-test.cpp @@ -41,7 +41,7 @@ const string datacacheuri("http://localhost:8090/datacache"); const string memocacheuri("http://localhost:8090/memocache"); bool testCache(const string& uri) { - http::CURLSession cs("", "", ""); + http::CURLSession cs("", "", "", ""); const list<value> i = list<value>() + "content" + (list<value>() + "item" + (list<value>() + "name" + string("Apple")) @@ -101,7 +101,7 @@ bool testDatacache() { } bool testMemocache() { - http::CURLSession cs("", "", ""); + http::CURLSession cs("", "", "", ""); const failable<value> res = http::evalExpr(mklist<value>(string("add"), 33, 22), memocacheuri, cs); assert(hasContent(res)); @@ -137,7 +137,7 @@ bool testGetPerf() { + (list<value>() + "id" + string("cart-53d67a61-aa5e-4e5e-8401-39edeba8b83b")) + i); - http::CURLSession cs("", "", ""); + http::CURLSession cs("", "", "", ""); const failable<value> id = http::post(a, memcacheuri, cs); assert(hasContent(id)); const string p = path(content(id)); |