Package com.asakusafw.runtime.value

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


        testField(list, "getCVcharOption", DATA.NUMERIC_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.NUMERIC_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
        testField(list, "getCVcharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.STRING_1, stringOption.modify("1"));
View Full Code Here


        testGetXXXOptionDo(excelUtils, sheet, DATA.DATETIME_DATE_FMT1, TYPES.CHAR, stringOption);
        stringOption.modify("2010-10-01 12:01:18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATETIME_DATE_FMT2, TYPES.CHAR, stringOption);
        stringOption.modify("2010-10-01 12:01:18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATETIME_DATETIME_FIMT1, TYPES.CHAR, stringOption);
        stringOption.modify("2010-10-01 12:01:18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATETIME_DATETIME_FIMT2, TYPES.CHAR, stringOption);
        stringOption.modify("2010-10-01 12:01:18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_DATETIME, TYPES.CHAR, stringOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.ERROR, TYPES.CHAR,  new CellTypeMismatchException("文字列"));
        testGetXXXOptionDo(excelUtils, sheet, DATA.FORMULA, TYPES.CHAR, new CellTypeMismatchException("文字列"));
View Full Code Here

        testGetXXXOptionDo(excelUtils, sheet, DATA.DATETIME_DATE_FMT2, TYPES.CHAR, stringOption);
        stringOption.modify("2010-10-01 12:01:18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATETIME_DATETIME_FIMT1, TYPES.CHAR, stringOption);
        stringOption.modify("2010-10-01 12:01:18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.DATETIME_DATETIME_FIMT2, TYPES.CHAR, stringOption);
        stringOption.modify("2010-10-01 12:01:18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.STRING_DATETIME, TYPES.CHAR, stringOption);
        testGetXXXOptionDo(excelUtils, sheet, DATA.ERROR, TYPES.CHAR,  new CellTypeMismatchException("文字列"));
        testGetXXXOptionDo(excelUtils, sheet, DATA.FORMULA, TYPES.CHAR, new CellTypeMismatchException("文字列"));

        // getDateOptionのテスト
View Full Code Here

        testField(list, "getCVcharOption", DATA.NUMERIC_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
        testField(list, "getCVcharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.STRING_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.STRING_MINUS1, stringOption.modify("-1"));
View Full Code Here

        testField(list, "getCVcharOption", DATA.NUMERIC_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
        testField(list, "getCVcharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.STRING_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.STRING_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.STRING_MAX, stringOption.setNull());
View Full Code Here

        testField(list, "getCVcharOption", DATA.NUMERIC_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
        testField(list, "getCVcharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.STRING_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.STRING_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.STRING_MAX, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_MIN, stringOption.setNull());
View Full Code Here

        testField(list, "getCVcharOption", DATA.NUMERIC_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
        testField(list, "getCVcharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.STRING_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.STRING_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.STRING_MAX, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_MIN, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_DECIMAL, stringOption.modify("6.54321"));
View Full Code Here

        testField(list, "getCVcharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
        testField(list, "getCVcharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.STRING_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.STRING_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.STRING_MAX, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_MIN, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.STRING_OVER_MAX, stringOption.modify("9223372036854775808"));
View Full Code Here

        testField(list, "getCVcharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCVcharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
        testField(list, "getCVcharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.STRING_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.STRING_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.STRING_MAX, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_MIN, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.STRING_OVER_MAX, stringOption.modify("9223372036854775808"));
        testField(list, "getCVcharOption", DATA.STRING_UNDER_MIN, stringOption.modify("-9223372036854775809"));
View Full Code Here

        testField(list, "getCVcharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCVcharOption", DATA.STRING_1, stringOption.modify("1"));
        testField(list, "getCVcharOption", DATA.STRING_MINUS1, stringOption.modify("-1"));
        testField(list, "getCVcharOption", DATA.STRING_MAX, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_MIN, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.STRING_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCVcharOption", DATA.STRING_OVER_MAX, stringOption.modify("9223372036854775808"));
        testField(list, "getCVcharOption", DATA.STRING_UNDER_MIN, stringOption.modify("-9223372036854775809"));
        testField(list, "getCVcharOption", DATA.STRING_BIG_VALUE, stringOption.modify("12345678901234567890"));
        testField(list, "getCVcharOption", DATA.BLANK, stringOption.setNull());
        testField(list, "getCVcharOption", DATA.NULL_STRING, stringOption.modify(""));
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.