Package com.asakusafw.runtime.value

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


        // C_CHARのテスト
        StringOption stringOption = new StringOption();
        testField(list, "getCCharOption", DATA.NUMERIC_0, stringOption.modify("0"));
        testField(list, "getCCharOption", DATA.NUMERIC_1, stringOption.modify("1"));
        testField(list, "getCCharOption", DATA.NUMERIC_MINUS1, stringOption.modify("-1"));
        testField(list, "getCCharOption", DATA.NUMERIC_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCCharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
View Full Code Here


        // C_CHARのテスト
        StringOption stringOption = new StringOption();
        testField(list, "getCCharOption", DATA.NUMERIC_0, stringOption.modify("0"));
        testField(list, "getCCharOption", DATA.NUMERIC_1, stringOption.modify("1"));
        testField(list, "getCCharOption", DATA.NUMERIC_MINUS1, stringOption.modify("-1"));
        testField(list, "getCCharOption", DATA.NUMERIC_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCCharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
View Full Code Here

        // getStringOptionのテスト

        StringOption stringOption = new StringOption();
        stringOption.modify("0");
        testGetXXXOptionDo(excelUtils, sheet,  DATA.NUMERIC_0, TYPES.CHAR, stringOption);
        stringOption.modify("1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_1, TYPES.CHAR, stringOption);
        stringOption.modify("-1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_MINUS1, TYPES.CHAR, stringOption);
        stringOption.modify("6.54321");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_DECIMAL, TYPES.CHAR, stringOption);
View Full Code Here

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

        StringOption stringOption = new StringOption();
        stringOption.modify("0");
        testGetXXXOptionDo(excelUtils, sheet,  DATA.NUMERIC_0, TYPES.CHAR, stringOption);
        stringOption.modify("1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_1, TYPES.CHAR, stringOption);
        stringOption.modify("-1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_MINUS1, TYPES.CHAR, stringOption);
        stringOption.modify("6.54321");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_DECIMAL, TYPES.CHAR, stringOption);
        stringOption.modify("9.2233720368547697E18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_OVER_MAX, TYPES.CHAR, stringOption);
View Full Code Here

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

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

        testGetXXXOptionDo(excelUtils, sheet,  DATA.NUMERIC_0, TYPES.CHAR, stringOption);
        stringOption.modify("1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_1, TYPES.CHAR, stringOption);
        stringOption.modify("-1");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_MINUS1, TYPES.CHAR, stringOption);
        stringOption.modify("6.54321");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_DECIMAL, TYPES.CHAR, stringOption);
        stringOption.modify("9.2233720368547697E18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_OVER_MAX, TYPES.CHAR, stringOption);
        stringOption.modify("-9.2233720368547697E18");
        testGetXXXOptionDo(excelUtils, sheet, DATA.NUMERIC_UNDER_MIN, TYPES.CHAR, stringOption);
View Full Code Here

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

        testField(list, "getCCharOption", DATA.NUMERIC_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_DECIMAL, stringOption.modify("6.54321"));
        testField(list, "getCCharOption", DATA.NUMERIC_OVER_MAX, stringOption.modify("9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_UNDER_MIN, stringOption.modify("-9.2233720368547697E18"));
        testField(list, "getCCharOption", DATA.NUMERIC_BIG_VALUE, stringOption.modify("1.23456789012345E19"));
        testField(list, "getCCharOption", DATA.STRING_0, stringOption.modify("0"));
        testField(list, "getCCharOption", DATA.STRING_1, stringOption.modify("1"));
        testField(list, "getCCharOption", DATA.STRING_MINUS1, stringOption.modify("-1"));
        testField(list, "getCCharOption", DATA.STRING_MAX, stringOption.setNull());
        testField(list, "getCCharOption", DATA.STRING_MIN, stringOption.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.