diff options
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/components/cache/client-test.cpp | 4 | ||||
-rw-r--r-- | sca-cpp/trunk/components/chat/client-test.cpp | 2 | ||||
-rw-r--r-- | sca-cpp/trunk/components/log/client-test.cpp | 6 | ||||
-rw-r--r-- | sca-cpp/trunk/components/nosqldb/client-test.cpp | 4 | ||||
-rw-r--r-- | sca-cpp/trunk/components/queue/client-test.cpp | 2 | ||||
-rw-r--r-- | sca-cpp/trunk/components/sqldb/client-test.cpp | 4 | ||||
-rw-r--r-- | sca-cpp/trunk/components/webservice/client-test.cpp | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/sca-cpp/trunk/components/cache/client-test.cpp b/sca-cpp/trunk/components/cache/client-test.cpp index 4f655c3d98..4fb4cfe4e1 100644 --- a/sca-cpp/trunk/components/cache/client-test.cpp +++ b/sca-cpp/trunk/components/cache/client-test.cpp @@ -40,7 +40,7 @@ const string memcacheuri("http://localhost:8090/memcache"); const string frontcacheuri("http://localhost:8090/frontcache"); bool testCache(const string& uri) { - http::CURLSession cs; + http::CURLSession cs("", "", ""); const list<value> i = list<value>() + (list<value>() + "name" + string("Apple")) @@ -113,7 +113,7 @@ bool testGetPerf() { + (list<value>() + "price" + string("$4.55")); const value a = mklist<value>(string("item"), 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)); diff --git a/sca-cpp/trunk/components/chat/client-test.cpp b/sca-cpp/trunk/components/chat/client-test.cpp index 702d3ae041..2c91fda1f2 100644 --- a/sca-cpp/trunk/components/chat/client-test.cpp +++ b/sca-cpp/trunk/components/chat/client-test.cpp @@ -83,7 +83,7 @@ bool testListen() { bool testPost() { gc_scoped_pool pool; - http::CURLSession ch; + http::CURLSession ch("", "", ""); const failable<value> id = http::post(entry, "http://localhost:8090/print-sender/sca2@localhost", ch); assert(hasContent(id)); return true; diff --git a/sca-cpp/trunk/components/log/client-test.cpp b/sca-cpp/trunk/components/log/client-test.cpp index e972ed59bf..5f13f64ac1 100644 --- a/sca-cpp/trunk/components/log/client-test.cpp +++ b/sca-cpp/trunk/components/log/client-test.cpp @@ -39,7 +39,7 @@ namespace log { const string uri("http://localhost:8090/log"); bool testLog() { - http::CURLSession cs; + http::CURLSession cs("", "", ""); const list<value> i = list<value>() + (list<value>() + "name" + string("Apple")) @@ -71,7 +71,7 @@ bool testLogPerf() { + (list<value>() + "price" + string("$2.99")); const value a = mklist<value>(string("item"), string("cart-53d67a61-aa5e-4e5e-8401-39edeba8b83b"), i); - http::CURLSession cs; + http::CURLSession cs("", "", ""); const failable<value> id = http::post(a, uri, cs); assert(hasContent(id)); @@ -82,7 +82,7 @@ bool testLogPerf() { } bool testLogger() { - http::CURLSession cs; + http::CURLSession cs("", "", ""); const failable<value> res = http::evalExpr(mklist<value>(string("sum"), 33, 22), string("http://localhost:8090/client"), cs); assert(hasContent(res)); diff --git a/sca-cpp/trunk/components/nosqldb/client-test.cpp b/sca-cpp/trunk/components/nosqldb/client-test.cpp index f28f084487..8eed7ce8cd 100644 --- a/sca-cpp/trunk/components/nosqldb/client-test.cpp +++ b/sca-cpp/trunk/components/nosqldb/client-test.cpp @@ -39,7 +39,7 @@ namespace nosqldb { const string uri("http://localhost:8090/nosqldb"); bool testNoSqlDb() { - http::CURLSession cs; + http::CURLSession cs("", "", ""); const list<value> i = list<value>() + (list<value>() + "name" + string("Apple")) @@ -104,7 +104,7 @@ bool testGetPerf() { + (list<value>() + "price" + string("$4.55")); const value a = mklist<value>(string("item"), string("cart-53d67a61-aa5e-4e5e-8401-39edeba8b83b"), i); - http::CURLSession cs; + http::CURLSession cs("", "", ""); const failable<value> id = http::post(a, uri, cs); assert(hasContent(id)); const string p = path(content(id)); diff --git a/sca-cpp/trunk/components/queue/client-test.cpp b/sca-cpp/trunk/components/queue/client-test.cpp index c80b2d2a31..286faa2930 100644 --- a/sca-cpp/trunk/components/queue/client-test.cpp +++ b/sca-cpp/trunk/components/queue/client-test.cpp @@ -77,7 +77,7 @@ bool testListen() { bool testPost() { gc_scoped_pool pool; - http::CURLSession ch; + http::CURLSession ch("", "", ""); const failable<value> id = http::post(entry, "http://localhost:8090/print-sender", ch); assert(hasContent(id)); return true; diff --git a/sca-cpp/trunk/components/sqldb/client-test.cpp b/sca-cpp/trunk/components/sqldb/client-test.cpp index 303afe3c10..4e5c067633 100644 --- a/sca-cpp/trunk/components/sqldb/client-test.cpp +++ b/sca-cpp/trunk/components/sqldb/client-test.cpp @@ -39,7 +39,7 @@ namespace sqldb { const string uri("http://localhost:8090/sqldb"); bool testSqlDb() { - http::CURLSession cs; + http::CURLSession cs("", "", ""); const list<value> i = list<value>() + (list<value>() + "name" + string("Apple")) @@ -104,7 +104,7 @@ bool testGetPerf() { + (list<value>() + "price" + string("$4.55")); const value a = mklist<value>(string("item"), string("cart-53d67a61-aa5e-4e5e-8401-39edeba8b83b"), i); - http::CURLSession cs; + http::CURLSession cs("", "", ""); const failable<value> id = http::post(a, uri, cs); assert(hasContent(id)); const string p = path(content(id)); diff --git a/sca-cpp/trunk/components/webservice/client-test.cpp b/sca-cpp/trunk/components/webservice/client-test.cpp index e666895717..658c87e2fc 100644 --- a/sca-cpp/trunk/components/webservice/client-test.cpp +++ b/sca-cpp/trunk/components/webservice/client-test.cpp @@ -60,7 +60,7 @@ bool testModAxis2() { } bool testEval() { - http::CURLSession cs; + http::CURLSession cs("", "", ""); const value func = "http://ws.apache.org/axis2/c/samples/echoString"; const list<value> arg = mklist<value>( |