diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-17 09:03:01 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-17 09:03:01 +0000 |
commit | 1c5a690b1c985b45196af14cb8539725a854e0dc (patch) | |
tree | fb0f26614ba0ccaa54903ba29c5e9360427c2233 /sca-cpp/trunk/modules/server | |
parent | cd55407949abee58e663cad28945ce48d0fb2a52 (diff) |
Added asserts to memory alloc functions. Fixed JSON request construction to support char func names. Reduced size of test messages to speed up test cases.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@900074 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/server')
-rw-r--r-- | sca-cpp/trunk/modules/server/client-test.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sca-cpp/trunk/modules/server/client-test.hpp b/sca-cpp/trunk/modules/server/client-test.hpp index d1c8d9ba15..0f8b64a031 100644 --- a/sca-cpp/trunk/modules/server/client-test.hpp +++ b/sca-cpp/trunk/modules/server/client-test.hpp @@ -101,8 +101,8 @@ struct evalLoop { } }; -const value blob(string(3000, 'A')); -const list<value> blobs = mklist(blob, blob, blob, blob, blob); +const value blob(string(2048, 'A')); +const list<value> blobs = mklist(blob, blob); struct blobEvalLoop { const string uri; @@ -181,9 +181,6 @@ const bool testPostPerf() { + (list<value>() + "name" + string("Apple")) + (list<value>() + "blob1" + blob) + (list<value>() + "blob2" + blob) - + (list<value>() + "blob3" + blob) - + (list<value>() + "blob4" + blob) - + (list<value>() + "blob5" + blob) + (list<value>() + "price" + string("$2.99")); const list<value> val = mklist<value>(string("item"), string("cart-53d67a61-aa5e-4e5e-8401-39edeba8b83b"), i); const lambda<bool()> pl = postBlobLoop(testURI, val, ch); |