1 19 20 package org.openide; 21 22 import junit.framework.TestCase; 23 24 28 public class PropertiesTest extends TestCase { 29 30 public PropertiesTest(String testName) { 31 super(testName); 32 } 33 34 public void testGetProperties() throws Exception { 35 WizardDescriptor d = new WizardDescriptor(new WizardDescriptor.Panel[0]); 36 assertTrue(d.getProperties().isEmpty()); 37 d.putProperty("Kuk", "Ahoj"); 38 assertEquals("Ahoj", d.getProperties().get("Kuk")); 39 } 40 } 41 | Popular Tags |