Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/test
In directory sc8-pr-cvs1:/tmp/cvs-serv15682/cirrus/hibernate/test
Modified Files:
FooBarTest.java
Log Message:
new tests
minor dtd change
Index: FooBarTest.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/test/FooBarTest.java,v
retrieving revision 1.224
retrieving revision 1.225
diff -C2 -d -r1.224 -r1.225
*** FooBarTest.java 20 Nov 2002 14:20:09 -0000 1.224
--- FooBarTest.java 21 Nov 2002 07:51:18 -0000 1.225
***************
*** 640,643 ****
--- 640,650 ----
public void testFind() throws Exception {
Session s = sessions.openSession();
+
+ s.iterate("from bz in class Baz where bz.setArray[0].size=0");
+ s.iterate("from bz in class Baz where not 'foo' in bz.setArray[0].elements");
+ s.iterate("from bz in class Baz where 3 in bz.stringArrayMap['foo'].indices");
+ s.iterate("from bz in class Baz where bz.stringArrayMap['foo'][0] = 'foo'");
+ //s.iterate("from bz in class Baz where bz.components[1].name='foo'");
+
Bar bar = new Bar();
s.save(bar);
|