summaryrefslogtreecommitdiff
path: root/java/test/Freeze/dbmap/Client.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-01-29 09:26:34 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-01-29 09:26:34 +0100
commit0c86c3b2013261eb55347317474310831892a8fa (patch)
treec8b61f87cd4235b02a41c2b76c8939e9ef9f039d /java/test/Freeze/dbmap/Client.java
parentFixed Ice for Python/Ruby/PHP to not copy data from output stream (diff)
downloadice-0c86c3b2013261eb55347317474310831892a8fa.tar.bz2
ice-0c86c3b2013261eb55347317474310831892a8fa.tar.xz
ice-0c86c3b2013261eb55347317474310831892a8fa.zip
Fixed ICE-5128: Freeze map clear failure
Diffstat (limited to 'java/test/Freeze/dbmap/Client.java')
-rw-r--r--java/test/Freeze/dbmap/Client.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/test/Freeze/dbmap/Client.java b/java/test/Freeze/dbmap/Client.java
index 44049e90c8a..f19d7ff978a 100644
--- a/java/test/Freeze/dbmap/Client.java
+++ b/java/test/Freeze/dbmap/Client.java
@@ -448,6 +448,7 @@ public class Client
}
m.clear();
+ test(m.size() == 0);
try
{
nm.firstKey();
@@ -771,6 +772,15 @@ public class Client
}
{
+ System.out.print("testing clear... ");
+ System.out.flush();
+ test(m.size() > 0);
+ m.clear();
+ test(m.size() == 0);
+ System.out.println("ok");
+ }
+
+ {
System.out.print("testing index... ");
System.out.flush();