Package com.asakusafw.runtime.value

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


        testField(list, "getCCharOption", DATA.BLANK, stringOption.setNull());
        testField(list, "getCCharOption", DATA.NULL_STRING, stringOption.modify(""));
        testField(list, "getCCharOption", DATA.BOOL_TRUE, stringOption.modify("1"));
        testField(list, "getCCharOption", DATA.BOOL_FALSE, stringOption.modify("0"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATE, stringOption.modify("40179"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
View Full Code Here


        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_DECIMAL, TYPES.CHAR, stringOption);
        stringOption.modify("9223372036854775808");
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_OVER_MAX, TYPES.CHAR, stringOption);
        stringOption.modify("-9223372036854775809");
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_UNDER_MIN, TYPES.CHAR, stringOption);
        stringOption.modify("12345678901234567890");
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_BIG_VALUE, TYPES.CHAR, stringOption);
        stringOption.setNull();
        testGetXXXOptionDo(excelUtils, sheet, DATA.BLANK, TYPES.CHAR, stringOption);
        stringOption.modify("");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NULL_STRING, TYPES.CHAR, stringOption);
View Full Code Here

        testField(list, "getCCharOption", DATA.NULL_STRING, stringOption.modify(""));
        testField(list, "getCCharOption", DATA.BOOL_TRUE, stringOption.modify("1"));
        testField(list, "getCCharOption", DATA.BOOL_FALSE, stringOption.modify("0"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATE, stringOption.modify("40179"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here

        testField(list, "getCCharOption", DATA.BOOL_TRUE, stringOption.modify("1"));
        testField(list, "getCCharOption", DATA.BOOL_FALSE, stringOption.modify("0"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATE, stringOption.modify("40179"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here

        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_UNDER_MIN, TYPES.CHAR, stringOption);
        stringOption.modify("12345678901234567890");
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_BIG_VALUE, TYPES.CHAR, stringOption);
        stringOption.setNull();
        testGetXXXOptionDo(excelUtils, sheet, DATA.BLANK, TYPES.CHAR, stringOption);
        stringOption.modify("");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NULL_STRING, TYPES.CHAR, stringOption);
        stringOption.modify("1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_TRUE, TYPES.CHAR, stringOption);
        stringOption.modify("0");
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_FALSE, TYPES.CHAR, stringOption);
View Full Code Here

        testField(list, "getCCharOption", DATA.BOOL_FALSE, stringOption.modify("0"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATE, stringOption.modify("40179"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here

        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_BIG_VALUE, TYPES.CHAR, stringOption);
        stringOption.setNull();
        testGetXXXOptionDo(excelUtils, sheet, DATA.BLANK, TYPES.CHAR, stringOption);
        stringOption.modify("");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NULL_STRING, TYPES.CHAR, stringOption);
        stringOption.modify("1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_TRUE, TYPES.CHAR, stringOption);
        stringOption.modify("0");
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_FALSE, TYPES.CHAR, stringOption);
        stringOption.modify("40179");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_DATE, TYPES.CHAR, stringOption);
View Full Code Here

        testField(list, "getCCharOption", DATA.NUMERIC_DATE, stringOption.modify("40179"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here

        testField(list, "getCCharOption", DATA.DATE_DATE_FMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATE_FMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT1, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.DATE_DATETIME_FIMT2, stringOption.modify("2010-01-01 00:00:00"));
        testField(list, "getCCharOption", DATA.STRING_DATE, stringOption.modify("2010-01-01"));
        testField(list, "getCCharOption", DATA.NUMERIC_DATETIME, stringOption.modify("40452.50090277778"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATE_FMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATETIME_FIMT1, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.DATETIME_DATETIME_FIMT2, stringOption.modify("2010-10-01 12:01:18"));
        testField(list, "getCCharOption", DATA.STRING_DATETIME, stringOption.modify("2010-10-01 12:01:18"));
View Full Code Here

        testGetXXXOptionDo(excelUtils, sheet, DATA.BLANK, TYPES.CHAR, stringOption);
        stringOption.modify("");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NULL_STRING, TYPES.CHAR, stringOption);
        stringOption.modify("1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_TRUE, TYPES.CHAR, stringOption);
        stringOption.modify("0");
        testGetXXXOptionDo(excelUtils, sheet, DATA.BOOL_FALSE, TYPES.CHAR, stringOption);
        stringOption.modify("40179");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_DATE, TYPES.CHAR, stringOption);
        stringOption.modify("2010-01-01 00:00:00");
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATE_DATE_FMT1, TYPES.CHAR, stringOption);
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.