You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vg...@apache.org on 2003/12/18 15:47:22 UTC

cvs commit: xml-xindice/java/tests/src/org/apache/xindice UnitTests.java

vgritsenko    2003/12/18 06:47:22

  Modified:    java/tests/src/org/apache/xindice UnitTests.java
  Log:
  Moved to FilerTestCaseSetup
  
  Revision  Changes    Path
  1.17      +3 -19     xml-xindice/java/tests/src/org/apache/xindice/UnitTests.java
  
  Index: UnitTests.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/tests/src/org/apache/xindice/UnitTests.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- UnitTests.java	9 Aug 2003 01:08:16 -0000	1.16
  +++ UnitTests.java	18 Dec 2003 14:47:22 -0000	1.17
  @@ -122,22 +122,6 @@
           suite.addTest(new TestSuite(XMLToolsTest.class));
           suite.addTest(new TestSuite(ConfigurationTest.class));
           suite.addTest(new TestSuite(MetaTest.class));
  -
  -        return new TestSetup(suite) {
  -            private File root = new File(FilerTestCase.TEST_COLLECTION_NAME);
  -
  -            public void setUp() {
  -                // Create the directory to hold the tests.
  -                root.mkdir();
  -            }
  -
  -            public void tearDown() {
  -                String[] files = root.list();
  -                for (int i = 0; i < files.length; i++) {
  -                    new File(root, files[i]).delete();
  -                }
  -                root.delete();
  -            }
  -        };
  +        return suite;
       }
   }