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