Examples of AllFieldTypesTest


Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

        aftt.setTestshort(Short.MAX_VALUE);
        saveAndQuery(aftt, "testshort =", new Short(Short.MAX_VALUE));
    }
   
    public void testShortMin() {
        AllFieldTypesTest aftt = new AllFieldTypesTest();
        aftt.setTestshort(Short.MIN_VALUE);
        try {
            saveAndQuery(aftt, "testshort =",
                    new Short(Short.MIN_VALUE));
        } catch (Throwable t) {
            bug(AbstractTestCase.Platform.EMPRESS, 889, t,
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

            // try to get inserted.
        }
    }

    public void testShortMax() {
        AllFieldTypesTest aftt = new AllFieldTypesTest();
        aftt.setTestshort(Short.MAX_VALUE);
        saveAndQuery(aftt, "testshort =", new Short(Short.MAX_VALUE));
    }
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

        aftt.setTestshort(Short.MAX_VALUE);
        saveAndQuery(aftt, "testshort =", new Short(Short.MAX_VALUE));
    }
   
    public void testShortMin() {
        AllFieldTypesTest aftt = new AllFieldTypesTest();
        aftt.setTestshort(Short.MIN_VALUE);
        try {
            saveAndQuery(aftt, "testshort =",
                    new Short(Short.MIN_VALUE));
        } catch (Throwable t) {
            bug(AbstractTestCase.Platform.EMPRESS, 889, t,
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

                    "Empress cannot store min values");
        }
    }
   
    public void testLongMax() {
        AllFieldTypesTest aftt = new AllFieldTypesTest();
        aftt.setTestlong(Long.MAX_VALUE);
        saveAndQuery(aftt, "testlong =", new Long(Long.MAX_VALUE));
    }
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

        saveAndQuery(aftt, "testlong =", new Long(Long.MAX_VALUE));
    }
   
    public void testLongMin() {
        try {
            AllFieldTypesTest aftt = new AllFieldTypesTest();
            aftt.setTestlong(Long.MIN_VALUE);
            saveAndQuery(aftt, "testlong =", new Long(Long.MIN_VALUE));
        } catch (Throwable t) {
            bug(AbstractTestCase.Platform.HYPERSONIC, 474, t,
                    "Some databases cannot store Long.MIN_VALUE");
        }
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

                    "Some databases cannot store Long.MIN_VALUE");
        }
    }
   
    public void testIntegerMax() {
        AllFieldTypesTest aftt = new AllFieldTypesTest();
        aftt.setTestint(Integer.MAX_VALUE);
        saveAndQuery(aftt, "testint =",
                new Integer(Integer.MAX_VALUE));
    }
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

        saveAndQuery(aftt, "testint =",
                new Integer(Integer.MAX_VALUE));
    }
   
    public void testIntegerMin() {
        AllFieldTypesTest aftt = new AllFieldTypesTest();
        aftt.setTestint(Integer.MIN_VALUE);
        try {
            saveAndQuery(aftt, "testint =",
                    new Integer(Integer.MIN_VALUE));
        } catch (Throwable t) {
            bug(AbstractTestCase.Platform.EMPRESS, 889, t,
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

        }
    }
   
    public void testFloatMax() {
        try {
          AllFieldTypesTest aftt = new AllFieldTypesTest();
            aftt.setTestfloat(Float.MAX_VALUE);
            saveAndQuery(aftt, "testfloat =",
                    new Float(Float.MAX_VALUE));
        } catch (Exception e) {
            bug(getCurrentPlatform(), 494, e,
                    "Some datastores cannot store Float.MAX_VALUE");
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

        }
    }
   
    public void testFloatMin() {
        try {
            AllFieldTypesTest aftt = new AllFieldTypesTest();
            aftt.setTestfloat(Float.MIN_VALUE);
            saveAndQuery(aftt, "testfloat =",
                    new Float(Float.MIN_VALUE));
        } catch (Exception e) {
            bug(getCurrentPlatform(), 494, e,
                    "Some databases cannot store Float.MIN_VALUE");
View Full Code Here

Examples of org.apache.openjpa.persistence.kernel.common.apps.AllFieldTypesTest

        }
    }
   
    public void testFloatNaN() {
        try {
            AllFieldTypesTest aftt = new AllFieldTypesTest();
            aftt.setTestfloat(Float.NaN);
            saveAndQuery(aftt, "testfloat =", new Float(Float.NaN));
        } catch (Throwable t) {
            bug(461, t, "NaN problems");
        }
    }
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.