Package com.asakusafw.runtime.value

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


        testField(list, "getCBigintOption", DATA.NULL_STRING, longOption.setNull());
        testField(list, "getCBigintOption", DATA.BOOL_TRUE, longOption.modify(1));
        testField(list, "getCBigintOption", DATA.BOOL_FALSE, longOption.modify(0));
        testField(list, "getCBigintOption", DATA.NUMERIC_DATE, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATE_FMT1, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATE_FMT2, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATETIME_FIMT1, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATETIME_FIMT2, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.STRING_DATE, longOption.setNull());
        testField(list, "getCBigintOption", DATA.NUMERIC_DATETIME, longOption.setNull());
        testField(list, "getCBigintOption", DATA.DATETIME_DATE_FMT1, longOption.setNull());
View Full Code Here


        testField(list, "getCBigintOption", DATA.BOOL_TRUE, longOption.modify(1));
        testField(list, "getCBigintOption", DATA.BOOL_FALSE, longOption.modify(0));
        testField(list, "getCBigintOption", DATA.NUMERIC_DATE, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATE_FMT1, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATE_FMT2, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATETIME_FIMT1, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATETIME_FIMT2, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.STRING_DATE, longOption.setNull());
        testField(list, "getCBigintOption", DATA.NUMERIC_DATETIME, longOption.setNull());
        testField(list, "getCBigintOption", DATA.DATETIME_DATE_FMT1, longOption.setNull());
        testField(list, "getCBigintOption", DATA.DATETIME_DATE_FMT2, longOption.setNull());
View Full Code Here

        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_1, TYPES.BIGINT, longOption);
        longOption.modify(-1);
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_MINUS1, TYPES.BIGINT, longOption);
        longOption.modify(Long.MAX_VALUE);
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_MAX, TYPES.BIGINT, longOption);
        longOption.modify(Long.MIN_VALUE);
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_MIN, TYPES.BIGINT, longOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_DECIMAL, TYPES.BIGINT, new CellTypeMismatchException("数値"));
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_OVER_MAX, TYPES.BIGINT, new CellTypeMismatchException("数値"));
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_UNDER_MIN, TYPES.BIGINT, new CellTypeMismatchException("数値"));
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_BIG_VALUE, TYPES.BIGINT, new CellTypeMismatchException("数値"));
View Full Code Here

        testField(list, "getCBigintOption", DATA.BOOL_FALSE, longOption.modify(0));
        testField(list, "getCBigintOption", DATA.NUMERIC_DATE, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATE_FMT1, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATE_FMT2, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATETIME_FIMT1, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.DATE_DATETIME_FIMT2, longOption.modify(40179));
        testField(list, "getCBigintOption", DATA.STRING_DATE, longOption.setNull());
        testField(list, "getCBigintOption", DATA.NUMERIC_DATETIME, longOption.setNull());
        testField(list, "getCBigintOption", DATA.DATETIME_DATE_FMT1, longOption.setNull());
        testField(list, "getCBigintOption", DATA.DATETIME_DATE_FMT2, longOption.setNull());
        testField(list, "getCBigintOption", DATA.DATETIME_DATETIME_FIMT1, longOption.setNull());
View Full Code Here

        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_BIG_VALUE, TYPES.BIGINT, new CellTypeMismatchException("数値"));
        longOption.setNull();
        testGetXXXOptionDo(excelUtils, sheet, DATA.BLANK, TYPES.BIGINT, longOption);
        longOption.setNull();
        testGetXXXOptionDo(excelUtils, sheet, DATA.NULL_STRING, TYPES.BIGINT, new CellTypeMismatchException("数値"));
        longOption.modify(1);
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_TRUE, TYPES.BIGINT, longOption);
        longOption.modify(0);
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_FALSE, TYPES.BIGINT, longOption);
        longOption.modify(40179);
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_DATE, TYPES.BIGINT, longOption);
View Full Code Here

        testGetXXXOptionDo(excelUtils, sheet, DATA.BLANK, TYPES.BIGINT, longOption);
        longOption.setNull();
        testGetXXXOptionDo(excelUtils, sheet, DATA.NULL_STRING, TYPES.BIGINT, new CellTypeMismatchException("数値"));
        longOption.modify(1);
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_TRUE, TYPES.BIGINT, longOption);
        longOption.modify(0);
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_FALSE, TYPES.BIGINT, longOption);
        longOption.modify(40179);
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_DATE, TYPES.BIGINT, longOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATE_DATE_FMT1, TYPES.BIGINT, longOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATE_DATE_FMT2, TYPES.BIGINT, longOption);
View Full Code Here

        testGetXXXOptionDo(excelUtils, sheet, DATA.NULL_STRING, TYPES.BIGINT, new CellTypeMismatchException("数値"));
        longOption.modify(1);
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_TRUE, TYPES.BIGINT, longOption);
        longOption.modify(0);
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_FALSE, TYPES.BIGINT, longOption);
        longOption.modify(40179);
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_DATE, TYPES.BIGINT, longOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATE_DATE_FMT1, TYPES.BIGINT, longOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATE_DATE_FMT2, TYPES.BIGINT, longOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATE_DATETIME_FIMT1, TYPES.BIGINT, longOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATE_DATETIME_FIMT2, TYPES.BIGINT, longOption);
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.