1 22 package org.jboss.test.mx.mxbean.test; 23 24 import org.jboss.test.mx.mxbean.support.TestEnum; 25 26 import junit.framework.Test; 27 import junit.framework.TestSuite; 28 29 35 public class CompositeDataEnumUnitTestCase extends CompositeDataTest 36 { 37 public static Test suite() 38 { 39 return new TestSuite(CompositeDataEnumUnitTestCase.class); 40 } 41 42 public CompositeDataEnumUnitTestCase(String name) 43 { 44 super(name); 45 } 46 47 public void testEnum() throws Exception 48 { 49 constructReconstructTest(TestEnum.FIRST, TestEnum.FIRST.name()); 50 } 51 52 public void testEnumNull() throws Exception 53 { 54 constructReconstructTest(null, TestEnum.class); 55 } 56 } 57 | Popular Tags |