Package com.asakusafw.runtime.value

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


        // C_INTのテスト
        IntOption intOption = new IntOption();
        testField(list, "getCIntOption", DATA.NUMERIC_0, intOption.modify(0));
        testField(list, "getCIntOption", DATA.NUMERIC_1, intOption.modify(1));
        testField(list, "getCIntOption", DATA.NUMERIC_MINUS1, intOption.modify(-1));
        testField(list, "getCIntOption", DATA.NUMERIC_MAX, intOption.modify(Integer.MAX_VALUE));
        testField(list, "getCIntOption", DATA.NUMERIC_MIN, intOption.modify(Integer.MIN_VALUE));
        testField(list, "getCIntOption", DATA.NUMERIC_DECIMAL, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_BIG_VALUE, intOption.setNull());
View Full Code Here


        IntOption intOption = new IntOption();
        testField(list, "getCIntOption", DATA.NUMERIC_0, intOption.modify(0));
        testField(list, "getCIntOption", DATA.NUMERIC_1, intOption.modify(1));
        testField(list, "getCIntOption", DATA.NUMERIC_MINUS1, intOption.modify(-1));
        testField(list, "getCIntOption", DATA.NUMERIC_MAX, intOption.modify(Integer.MAX_VALUE));
        testField(list, "getCIntOption", DATA.NUMERIC_MIN, intOption.modify(Integer.MIN_VALUE));
        testField(list, "getCIntOption", DATA.NUMERIC_DECIMAL, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_0, intOption.modify(0));
View Full Code Here

        testField(list, "getCIntOption", DATA.NUMERIC_MIN, intOption.modify(Integer.MIN_VALUE));
        testField(list, "getCIntOption", DATA.NUMERIC_DECIMAL, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_0, intOption.modify(0));
        testField(list, "getCIntOption", DATA.STRING_1, intOption.modify(1));
        testField(list, "getCIntOption", DATA.STRING_MINUS1, intOption.modify(-1));
        testField(list, "getCIntOption", DATA.STRING_MAX, intOption.modify(Integer.MAX_VALUE));
        testField(list, "getCIntOption", DATA.STRING_MIN, intOption.modify(Integer.MIN_VALUE));
        testField(list, "getCIntOption", DATA.STRING_DECIMAL, intOption.setNull());
View Full Code Here

        testField(list, "getCIntOption", DATA.NUMERIC_DECIMAL, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_0, intOption.modify(0));
        testField(list, "getCIntOption", DATA.STRING_1, intOption.modify(1));
        testField(list, "getCIntOption", DATA.STRING_MINUS1, intOption.modify(-1));
        testField(list, "getCIntOption", DATA.STRING_MAX, intOption.modify(Integer.MAX_VALUE));
        testField(list, "getCIntOption", DATA.STRING_MIN, intOption.modify(Integer.MIN_VALUE));
        testField(list, "getCIntOption", DATA.STRING_DECIMAL, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_OVER_MAX, intOption.setNull());
View Full Code Here

        testField(list, "getCIntOption", DATA.NUMERIC_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_0, intOption.modify(0));
        testField(list, "getCIntOption", DATA.STRING_1, intOption.modify(1));
        testField(list, "getCIntOption", DATA.STRING_MINUS1, intOption.modify(-1));
        testField(list, "getCIntOption", DATA.STRING_MAX, intOption.modify(Integer.MAX_VALUE));
        testField(list, "getCIntOption", DATA.STRING_MIN, intOption.modify(Integer.MIN_VALUE));
        testField(list, "getCIntOption", DATA.STRING_DECIMAL, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_UNDER_MIN, intOption.setNull());
View Full Code Here

        testField(list, "getCIntOption", DATA.NUMERIC_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.NUMERIC_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_0, intOption.modify(0));
        testField(list, "getCIntOption", DATA.STRING_1, intOption.modify(1));
        testField(list, "getCIntOption", DATA.STRING_MINUS1, intOption.modify(-1));
        testField(list, "getCIntOption", DATA.STRING_MAX, intOption.modify(Integer.MAX_VALUE));
        testField(list, "getCIntOption", DATA.STRING_MIN, intOption.modify(Integer.MIN_VALUE));
        testField(list, "getCIntOption", DATA.STRING_DECIMAL, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_BIG_VALUE, intOption.setNull());
View Full Code Here

        testField(list, "getCIntOption", DATA.NUMERIC_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_0, intOption.modify(0));
        testField(list, "getCIntOption", DATA.STRING_1, intOption.modify(1));
        testField(list, "getCIntOption", DATA.STRING_MINUS1, intOption.modify(-1));
        testField(list, "getCIntOption", DATA.STRING_MAX, intOption.modify(Integer.MAX_VALUE));
        testField(list, "getCIntOption", DATA.STRING_MIN, intOption.modify(Integer.MIN_VALUE));
        testField(list, "getCIntOption", DATA.STRING_DECIMAL, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.BLANK, intOption.setNull());
View Full Code Here

        testField(list, "getCIntOption", DATA.STRING_OVER_MAX, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.BLANK, intOption.setNull());
        testField(list, "getCIntOption", DATA.NULL_STRING, intOption.setNull());
        testField(list, "getCIntOption", DATA.BOOL_TRUE, intOption.modify(1));
        testField(list, "getCIntOption", DATA.BOOL_FALSE, intOption.modify(0));
        testField(list, "getCIntOption", DATA.NUMERIC_DATE, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATE_FMT1, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATE_FMT2, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATETIME_FIMT1, intOption.modify(40179));
View Full Code Here

        testField(list, "getCIntOption", DATA.STRING_UNDER_MIN, intOption.setNull());
        testField(list, "getCIntOption", DATA.STRING_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.BLANK, intOption.setNull());
        testField(list, "getCIntOption", DATA.NULL_STRING, intOption.setNull());
        testField(list, "getCIntOption", DATA.BOOL_TRUE, intOption.modify(1));
        testField(list, "getCIntOption", DATA.BOOL_FALSE, intOption.modify(0));
        testField(list, "getCIntOption", DATA.NUMERIC_DATE, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATE_FMT1, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATE_FMT2, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATETIME_FIMT1, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATETIME_FIMT2, intOption.modify(40179));
View Full Code Here

        testField(list, "getCIntOption", DATA.STRING_BIG_VALUE, intOption.setNull());
        testField(list, "getCIntOption", DATA.BLANK, intOption.setNull());
        testField(list, "getCIntOption", DATA.NULL_STRING, intOption.setNull());
        testField(list, "getCIntOption", DATA.BOOL_TRUE, intOption.modify(1));
        testField(list, "getCIntOption", DATA.BOOL_FALSE, intOption.modify(0));
        testField(list, "getCIntOption", DATA.NUMERIC_DATE, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATE_FMT1, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATE_FMT2, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATETIME_FIMT1, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.DATE_DATETIME_FIMT2, intOption.modify(40179));
        testField(list, "getCIntOption", DATA.STRING_DATE, intOption.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.