1 19 20 package org.netbeans.core.startup.layers; 21 22 import junit.textui.TestRunner; 23 import org.netbeans.junit.NbTestSuite; 24 27 public class NonCacheManagerTest extends CacheManagerTestBaseHid 28 implements CacheManagerTestBaseHid.ManagerFactory { 29 30 public NonCacheManagerTest(String name) { 31 super(name); 32 } 33 34 public static void main(String [] args) { 35 if (System.getProperty("nbjunit.workdir") == null) { 36 System.setProperty("nbjunit.workdir", System.getProperty("java.io.tmpdir")); 38 } 39 System.setProperty("org.openide.util.Lookup", "-"); 40 System.setProperty("org.netbeans.core.projects.cache", "0"); 42 TestRunner.run(new NbTestSuite(NonCacheManagerTest.class)); 43 } 44 45 46 public LayerCacheManager createManager() throws Exception { 50 return LayerCacheManager.emptyManager(); 51 } 52 53 public boolean supportsTimestamps () { 54 return false; 55 } 56 } 57 | Popular Tags |