1 19 20 package org.openide.filesystems; 21 22 import junit.framework.*; 23 import java.io.*; 24 import org.netbeans.junit.*; 25 26 31 public class LocalFileSystemTest extends FileSystemFactoryHid { 32 33 34 public LocalFileSystemTest (Test test) { 35 super(test); 36 } 37 38 39 public static void main(String args[]) { 40 junit.textui.TestRunner.run(suite()); 41 } 42 43 44 45 public static Test suite() { 46 NbTestSuite suite = new NbTestSuite(); 47 48 suite.addTestSuite(AttributesTestHidden.class); 49 suite.addTestSuite(RepositoryTestHid.class); 50 suite.addTestSuite(FileSystemTestHid.class); 51 suite.addTestSuite(FileObjectTestHid.class); 52 suite.addTestSuite(LocalFileSystemTestHid.class); 53 54 suite.addTestSuite(URLMapperTestHidden.class); 55 suite.addTestSuite(URLMapperTestInternalHidden.class); 56 suite.addTestSuite(FileUtilTestHidden.class); 57 58 return new LocalFileSystemTest(suite); 59 } 60 61 protected void destroyFileSystem (String testName) throws IOException {} 62 63 protected FileSystem[] createFileSystem(String testName, String [] resources) throws IOException { 64 return new FileSystem[] {TestUtilHid.createLocalFileSystem(testName, resources)}; 65 } 66 } 67 | Popular Tags |