1 19 20 package org.openide.loaders; 21 22 import junit.textui.TestRunner; 23 24 import org.openide.filesystems.*; 25 import java.io.IOException ; 26 import java.util.*; 27 import org.netbeans.junit.*; 28 import org.openide.util.Lookup; 29 30 36 public class DataLoaderPoolOnlyEventsTest extends DataLoaderPoolTest { 37 38 public DataLoaderPoolOnlyEventsTest(String name) { 39 super(name); 40 } 41 42 44 protected void doSetPreferredLoader(FileObject fo, DataLoader loader) throws IOException { 45 if (loader == null) { 46 fo.setAttribute("NetBeansAttrAssignedLoader", null); 47 } else { 48 Class c = loader.getClass(); 49 fo.setAttribute ("NetBeansAttrAssignedLoader", c.getName ()); 50 } 51 } 52 53 54 } 55 | Popular Tags |