1 19 20 package org.netbeans.spi.looks; 21 22 import org.netbeans.junit.*; 23 24 import org.netbeans.spi.looks.*; 25 26 27 29 public class ProxyLookValuesTest extends TestBaseValues { 30 31 33 public ProxyLookValuesTest(java.lang.String testName) { 34 super(testName); 35 } 36 37 public static void main(java.lang.String [] args) { 38 junit.textui.TestRunner.run(suite()); 39 } 40 41 public static NbTest suite() { 42 NbTestSuite suite = new NbTestSuite(ProxyLookValuesTest.class); 43 return suite; 44 } 45 46 protected void setUp() throws Exception { 47 48 Look look = createLook(); 49 setGoldenValues( GoldenValue.createGoldenValues() ); 50 setTarget( look, new SampleRepObject( goldenValues ), 1 ); 51 52 super.setUp(); 53 } 54 55 protected void tearDown() throws Exception { 56 super.tearDown(); 57 } 58 59 60 62 68 69 71 static Look createLook() { 72 73 return new ProxyLook( "ProxyLookValuesTestLook", Selectors.singleton( new SampleLook( "Test" ) ) ) { 74 75 public String getDisplayName() { 76 return getName(); 77 } 78 }; 79 } 80 81 82 83 } 84 85 86 | Popular Tags |