summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/dbmap/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-02-19 13:20:06 +0000
committerMarc Laukien <marc@zeroc.com>2004-02-19 13:20:06 +0000
commit3d1e4a101bd5d2efbd52f25d62cee4278fc58a9f (patch)
treee8ed767e7210a6c0cf685885d2278daf4b11a5c0 /cpp/test/Freeze/dbmap/Client.cpp
parentfix (diff)
downloadice-3d1e4a101bd5d2efbd52f25d62cee4278fc58a9f.tar.bz2
ice-3d1e4a101bd5d2efbd52f25d62cee4278fc58a9f.tar.xz
ice-3d1e4a101bd5d2efbd52f25d62cee4278fc58a9f.zip
fixes
Diffstat (limited to 'cpp/test/Freeze/dbmap/Client.cpp')
-rw-r--r--cpp/test/Freeze/dbmap/Client.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/cpp/test/Freeze/dbmap/Client.cpp b/cpp/test/Freeze/dbmap/Client.cpp
index c528d18c7e8..7c24ed7abcb 100644
--- a/cpp/test/Freeze/dbmap/Client.cpp
+++ b/cpp/test/Freeze/dbmap/Client.cpp
@@ -215,7 +215,7 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN
ByteIntMap::iterator p;
ByteIntMap::const_iterator cp;
- cout << " testing populate... ";
+ cout << "testing populate... ";
//
// First try non-const iterator
//
@@ -239,7 +239,7 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN
test(m.size() == alphabet.size());
cout << "ok" << endl;
- cout << " testing map::find... ";
+ cout << "testing map::find... ";
j = find(alphabet.begin(), alphabet.end(), 'n');
cp = m.find(*j);
@@ -247,7 +247,7 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN
test(cp->first == 'n' && cp->second == j - alphabet.begin());
cout << "ok" << endl;
- cout << " testing erase... ";
+ cout << "testing erase... ";
//
// erase first offset characters (first offset characters is
@@ -289,12 +289,12 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN
//
// Get an iterator for the deleted element - this should fail.
//
- cout << " testing map::find (again)... ";
+ cout << "testing map::find (again)... ";
cp = m.find('a');
test(cp == m.end());
cout << "ok" << endl;
- cout << " testing iterators... ";
+ cout << "testing iterators... ";
p = m.begin();
ByteIntMap::iterator p2 = p;
@@ -354,7 +354,7 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN
//
// Test writing into an iterator.
//
- cout << " testing iterator.set... ";
+ cout << "testing iterator.set... ";
p = m.find('d');
test(p != m.end() && p->second == 3);
@@ -430,7 +430,7 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN
//
populateDB(connection, m);
- cout << " testing algorithms... ";
+ cout << "testing algorithms... ";
for_each(m.begin(), m.end(), ForEachTest);
@@ -490,7 +490,7 @@ run(const CommunicatorPtr& communicator, const string& envName, const string&dbN
}
cout << "ok" << endl;
- cout << " testing concurrent access... " << flush;
+ cout << "testing concurrent access... " << flush;
m.clear();
populateDB(connection, m);
@@ -529,7 +529,6 @@ main(int argc, char* argv[])
envName += "db";
}
- cout << "testing encoding..." << endl;
status = run(communicator, envName, "binary");
}
catch(const Ice::Exception& ex)