1 19 20 package org.openide.filesystems; 21 22 import junit.framework.*; 23 import java.io.*; 24 import java.util.*; 25 import java.util.jar.*; 26 import java.util.zip.*; 27 import java.net.*; 28 import org.netbeans.junit.*; 29 30 32 37 public class XMLFileSystemTest extends FileSystemFactoryHid { 38 39 40 public XMLFileSystemTest(Test test) { 41 super(test); 42 } 43 44 public static void main(String args[]) { 45 junit.textui.TestRunner.run(suite()); 46 } 47 48 public static Test suite() { 49 NbTestSuite suite = new NbTestSuite(); 50 suite.addTestSuite(FileSystemTestHid.class); 51 suite.addTestSuite(FileObjectTestHid.class); 52 suite.addTestSuite(XMLFileSystemTestHid.class); 53 54 return new XMLFileSystemTest(suite); 55 } 56 protected void destroyFileSystem(String testName) throws IOException {} 57 58 protected FileSystem[] createFileSystem(String testName, String [] resources) throws IOException{ 59 return new FileSystem[] {TestUtilHid.createXMLFileSystem(testName, resources)}; 60 } 61 62 63 64 } 65 | Popular Tags |