1 19 20 25 26 27 package org.netbeans.test.java.integrity.ForName; 28 29 import junit.textui.TestRunner; 30 import org.netbeans.test.java.LogTestCase; 31 import org.openide.filesystems.FileObject; 32 import org.openide.filesystems.FileUtil; 33 import org.openide.loaders.DataObject; 34 36 54 55 56 public class ForName extends LogTestCase { 57 58 59 public void testRun(){ 60 try { 61 FileObject artefact=FileUtil.toFileObject(classPathWorkDir); 62 for (int i=0;i < Classes.length;i++){ 63 } 70 } catch (Exception e) { 71 e.printStackTrace(log); 72 assertTrue(e.toString(), false); 73 } 74 } 75 76 public static void main(java.lang.String [] args) { 77 TestRunner.run(ForName.class); 78 } 79 80 final String [] Classes = { 81 "TopLevelClassDefaultPackage", 82 "TopLevelClassDefaultPackage.InnerClass", 83 "TopLevelClassDefaultPackage$InnerClass", 84 "org.netbeans.test.java.testsources.TopLevelClass", 85 "org.netbeans.test.java.testsources.TopLevelClass.InnerClass", 86 "org.netbeans.test.java.testsources.TopLevelClass$InnerClass", 87 "org.netbeans.test.java.testsources.InTestFS", 88 "org.netbeans.test.java.testsources.InTestFS$InnerClass", 89 "org.netbeans.test.java.testsources.InTestFS.InnerClass", 90 }; 91 92 public ForName(java.lang.String testName) { 93 super(testName); 94 } 95 96 } 97 | Popular Tags |