From: Jean-Marc V. <jm...@us...> - 2004-08-07 16:48:13
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xmldb/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18278/src/org/exist/xmldb/test Modified Files: DOMTest.java Log Message: JUnit test: Update of an existing document through DOM: currently **FAILS** Index: DOMTest.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmldb/test/DOMTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DOMTest.java 7 Aug 2004 15:38:44 -0000 1.3 --- DOMTest.java 7 Aug 2004 16:48:03 -0000 1.4 *************** *** 14,17 **** --- 14,20 ---- import org.w3c.dom.*; + /** + * @author jmv + */ public class DOMTest { *************** *** 33,36 **** --- 36,45 ---- } + /** + * - Storing XML resource from XML string + * - simple XQuery + * - removing resource + * - shutdown with the DatabaseInstanceManager + */ public void runTest1() { try { *************** *** 88,92 **** } } ! public void runTest2() { try { --- 97,105 ---- } } ! /** ! * - create and fill a simple document via DOM and JAXP ! * - store it with setContentAsDOM() ! * - simple access via getContentAsDOM() ! * */ public void runTest2() { try { *************** *** 161,165 **** } } ! public void runTest3() { try { --- 174,179 ---- } } ! ! /** like test 2 but add attribute and text as well */ public void runTest3() { try { *************** *** 215,218 **** --- 229,233 ---- } + /** like test 3 but uses the DOM as input to an (identity) XSLT transform */ public void runTest4(boolean getContentAsDOM) { Database database = null; |