1 53 package org.swixml; 54 55 import junit.framework.TestCase; 56 57 import javax.swing.*; 58 59 63 public class ExtMappingTest extends MappingTest { 64 65 public JButton b1; 66 private JButton b2; 67 private JButton b5; 68 69 public ExtMappingTest() { 70 } 71 72 public ExtMappingTest(String s) { 73 super(s); 74 } 75 76 public void setUp() throws Exception { 77 super.setUp(); 78 } 79 80 public void teardown() { 81 super.teardown(); 82 } 83 84 85 88 public void testMappingPublicFields() { 89 TestCase.assertNotNull("Public Fields, whose names have matching ids the the XML descriptor should be initializd by the SwingEngine.", b1); 90 TestCase.assertNotNull("Public Fields, whose names have matching ids the the XML descriptor should be initializd by the SwingEngine.", super.b1); 91 TestCase.assertNotNull("Private Field, whose names have a matching ids the the XML descriptor should be initializd by the SwingEngine.", b2); 92 TestCase.assertNotNull("Private Field, whose names have a matching ids the the XML descriptor should be initializd by the SwingEngine.", b5); 93 } 94 } 95 | Popular Tags |