diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-24 09:27:44 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-24 09:27:44 +0000 |
commit | 1c21d758af81d880ad6e045d18f8bc62ad8be89e (patch) | |
tree | 5d7de84e2edcb5b5e12183506f98b68b0e312046 /sca-cpp/trunk/test/store-cpp | |
parent | aff8757990e8f3d633541cb9649c43483377c0fa (diff) |
Minor improvements to java component support, use one classloader per component, use Iterables instead of arrays to represent lists, added more tests and a working java version of the store integration test.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902539 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/test/store-cpp')
-rw-r--r-- | sca-cpp/trunk/test/store-cpp/fruits-catalog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sca-cpp/trunk/test/store-cpp/fruits-catalog.cpp b/sca-cpp/trunk/test/store-cpp/fruits-catalog.cpp index a7d502a9b9..4c93b2a58e 100644 --- a/sca-cpp/trunk/test/store-cpp/fruits-catalog.cpp +++ b/sca-cpp/trunk/test/store-cpp/fruits-catalog.cpp @@ -33,7 +33,7 @@ namespace tuscany { namespace store { /** - * Returns a catalog. + * Returns the catalog. */ struct convert { const lambda<value(const list<value>&)> converter; @@ -61,6 +61,9 @@ const failable<value> get(const lambda<value(const list<value>&)> converter) { mkfruit("Pear", currency, symbol, conv(1.55))); } +/** + * TODO remove this JSON-RPC specific function. + */ const failable<value> listMethods(unused const lambda<value(const list<value>&)> converter) { return value(mklist<value>(string("Service.get"))); } |