summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/constdb/client-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/components/constdb/client-test.cpp (renamed from sca-cpp/trunk/components/nosqldb/client-test.cpp)12
1 files changed, 6 insertions, 6 deletions
diff --git a/sca-cpp/trunk/components/nosqldb/client-test.cpp b/sca-cpp/trunk/components/constdb/client-test.cpp
index 970f817d5a..766e1d2583 100644
--- a/sca-cpp/trunk/components/nosqldb/client-test.cpp
+++ b/sca-cpp/trunk/components/constdb/client-test.cpp
@@ -34,11 +34,11 @@
#include "../../modules/http/http.hpp"
namespace tuscany {
-namespace nosqldb {
+namespace constdb {
-const string uri("http://localhost:8090/nosqldb");
+const string uri("http://localhost:8090/constdb");
-bool testNoSqlDb() {
+bool testConstDb() {
http::CURLSession cs("", "", "", "");
const list<value> i = list<value>() + "content" + (list<value>() + "item"
@@ -119,7 +119,7 @@ bool testGetPerf() {
const string p = path(content(id));
const lambda<bool()> gl = getLoop(p, a, cs);
- cout << "NoSqldb get test " << time(gl, 5, 200) << " ms" << endl;
+ cout << "ConstDb get test " << time(gl, 5, 200) << " ms" << endl;
return true;
}
@@ -130,8 +130,8 @@ bool testGetPerf() {
int main() {
tuscany::cout << "Testing..." << tuscany::endl;
- tuscany::nosqldb::testNoSqlDb();
- tuscany::nosqldb::testGetPerf();
+ tuscany::constdb::testConstDb();
+ tuscany::constdb::testGetPerf();
tuscany::cout << "OK" << tuscany::endl;