Package com.asakusafw.runtime.value

Examples of com.asakusafw.runtime.value.DecimalOption.modify()


        // C_DECIMAL20_0のテスト
        DecimalOption decimalOption = new DecimalOption();
        testField(list, "getCDecimal200Option", DATA.NUMERIC_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_MAX, decimalOption.modify(new BigDecimal(999999999999999L)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
View Full Code Here


        DecimalOption decimalOption = new DecimalOption();
        testField(list, "getCDecimal200Option", DATA.NUMERIC_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_MAX, decimalOption.modify(new BigDecimal(999999999999999L)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.NUMERIC_MIN, decimalOption.modify(new BigDecimal(-999999999999999L)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.STRING_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("7")));
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.NUMERIC_DECIMAL, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.STRING_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("7")));
        testField(list, "getCDecimal200Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.NUMERIC_OVER_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_UNDER_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NUMERIC_BIG_VALUE, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.STRING_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("7")));
        testField(list, "getCDecimal200Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
        testField(list, "getCDecimal200Option", DATA.STRING_UNDER_MIN, decimalOption.modify(new BigDecimal("-9223372036854775809")));
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.STRING_0, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.STRING_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("7")));
        testField(list, "getCDecimal200Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
        testField(list, "getCDecimal200Option", DATA.STRING_UNDER_MIN, decimalOption.modify(new BigDecimal("-9223372036854775809")));
        testField(list, "getCDecimal200Option", DATA.STRING_BIG_VALUE, decimalOption.modify(new BigDecimal("12345678901234567890")));
        testField(list, "getCDecimal200Option", DATA.BLANK, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NULL_STRING, decimalOption.setNull());
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.STRING_1, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("7")));
        testField(list, "getCDecimal200Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
        testField(list, "getCDecimal200Option", DATA.STRING_UNDER_MIN, decimalOption.modify(new BigDecimal("-9223372036854775809")));
        testField(list, "getCDecimal200Option", DATA.STRING_BIG_VALUE, decimalOption.modify(new BigDecimal("12345678901234567890")));
        testField(list, "getCDecimal200Option", DATA.BLANK, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NULL_STRING, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.BOOL_TRUE, decimalOption.modify(new BigDecimal(1)));
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.STRING_MINUS1, decimalOption.modify(new BigDecimal(-1)));
        testField(list, "getCDecimal200Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("7")));
        testField(list, "getCDecimal200Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
        testField(list, "getCDecimal200Option", DATA.STRING_UNDER_MIN, decimalOption.modify(new BigDecimal("-9223372036854775809")));
        testField(list, "getCDecimal200Option", DATA.STRING_BIG_VALUE, decimalOption.modify(new BigDecimal("12345678901234567890")));
        testField(list, "getCDecimal200Option", DATA.BLANK, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NULL_STRING, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.BOOL_TRUE, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.BOOL_FALSE, decimalOption.modify(new BigDecimal(0)));
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.STRING_MAX, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_MIN, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.STRING_DECIMAL, decimalOption.modify(new BigDecimal("7")));
        testField(list, "getCDecimal200Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
        testField(list, "getCDecimal200Option", DATA.STRING_UNDER_MIN, decimalOption.modify(new BigDecimal("-9223372036854775809")));
        testField(list, "getCDecimal200Option", DATA.STRING_BIG_VALUE, decimalOption.modify(new BigDecimal("12345678901234567890")));
        testField(list, "getCDecimal200Option", DATA.BLANK, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NULL_STRING, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.BOOL_TRUE, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.BOOL_FALSE, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_DATE, decimalOption.modify(new BigDecimal(40179)));
View Full Code Here

        testField(list, "getCDecimal200Option", DATA.STRING_OVER_MAX, decimalOption.modify(new BigDecimal("9223372036854775808")));
        testField(list, "getCDecimal200Option", DATA.STRING_UNDER_MIN, decimalOption.modify(new BigDecimal("-9223372036854775809")));
        testField(list, "getCDecimal200Option", DATA.STRING_BIG_VALUE, decimalOption.modify(new BigDecimal("12345678901234567890")));
        testField(list, "getCDecimal200Option", DATA.BLANK, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.NULL_STRING, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.BOOL_TRUE, decimalOption.modify(new BigDecimal(1)));
        testField(list, "getCDecimal200Option", DATA.BOOL_FALSE, decimalOption.modify(new BigDecimal(0)));
        testField(list, "getCDecimal200Option", DATA.NUMERIC_DATE, decimalOption.modify(new BigDecimal(40179)));
        testField(list, "getCDecimal200Option", DATA.DATE_DATE_FMT1, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATE_DATE_FMT2, decimalOption.setNull());
        testField(list, "getCDecimal200Option", DATA.DATE_DATETIME_FIMT1, decimalOption.setNull());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.