/** * Tests the double validation failure. */ public void testDoubleFailure() throws ValidatorException { // Create bean to run test on. ValueBean info = new ValueBean(); valueTest(info, false); }
/** * Tests the double validation. */ public void testDoubleMin() throws ValidatorException { // Create bean to run test on. ValueBean info = new ValueBean(); info.setValue(new Double(Double.MIN_VALUE).toString()); valueTest(info, true); }
/** * Tests the double validation. */ public void testDoubleMax() throws ValidatorException { // Create bean to run test on. ValueBean info = new ValueBean(); info.setValue(new Double(Double.MAX_VALUE).toString()); valueTest(info, true); }
/** * Tests the double validation. */ public void testDouble() throws ValidatorException { // Create bean to run test on. ValueBean info = new ValueBean(); info.setValue("0"); valueTest(info, true); }