Examples of BintBcharType


Examples of org.apache.torque.test.dbobject.BintBcharType

        // execute
        BintBcharTypePeer.doUpdate(columnValues);

        // verify
        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("f1"));
        assertEquals(true, bc.getBintValue());
        assertEquals(true, bc.getBcharValue());
        assertEquals(Boolean.TRUE, bc.getBintObjectValue());
        assertEquals(Boolean.TRUE, bc.getBcharObjectValue());
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

        // execute
        BintBcharTypePeer.doUpdate(columnValues);

        // verify
        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("f1"));
        assertEquals(true, bc.getBintValue());
        assertEquals(true, bc.getBcharValue());
        assertEquals(Boolean.TRUE, bc.getBintObjectValue());
        assertEquals(Boolean.TRUE, bc.getBcharObjectValue());
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

        // execute
        BintBcharTypePeer.doUpdate(columnValues);

        // verify
        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("t1"));
        assertEquals(false, bc.getBintValue());
        assertEquals(false, bc.getBcharValue());
        assertEquals(Boolean.FALSE, bc.getBintObjectValue());
        assertEquals(Boolean.FALSE, bc.getBcharObjectValue());
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

        // execute
        BintBcharTypePeer.doUpdate(columnValues);

        // verify
        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("t1"));
        assertEquals(false, bc.getBintValue());
        assertEquals(false, bc.getBcharValue());
        assertEquals(Boolean.FALSE, bc.getBintObjectValue());
        assertEquals(Boolean.FALSE, bc.getBcharObjectValue());
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

        // execute
        BintBcharTypePeer.doUpdate(columnValues);

        // verify
        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("t1"));
        assertEquals(null, bc.getBintObjectValue());
        assertEquals(null, bc.getBcharObjectValue());
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

        // execute
        BintBcharTypePeer.doUpdate(columnValues);

        // verify
        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("t1"));
        assertEquals(null, bc.getBintObjectValue());
        assertEquals(null, bc.getBcharObjectValue());
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

    private void fillTables() throws TorqueException
    {
        Criteria criteria = new Criteria();
        BintBcharTypePeer.doDelete(criteria);

        BintBcharType bc = new BintBcharType();
        bc.setId("t1");
        bc.setBintValue(true);
        bc.setBcharValue(true);
        bc.setBintObjectValue(Boolean.TRUE);
        bc.setBcharObjectValue(Boolean.TRUE);
        bc.save();
        bc = new BintBcharType();
        bc.setId("f1");
        bc.setBintValue(false);
        bc.setBcharValue(false);
        bc.setBintObjectValue(Boolean.FALSE);
        bc.setBcharObjectValue(Boolean.FALSE);
        bc.save();
        bc = new BintBcharType();
        bc.setId("null");
        bc.setBintValue(false);
        bc.setBcharValue(true);
        bc.setBintObjectValue(null);
        bc.setBcharObjectValue(null);
        bc.save();
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

     */
    public void testReadBooleanIntCharTrueValue() throws Exception
    {
        fillTables();

        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("t1"));
        assertEquals(true, bc.getBintValue());
        assertEquals(true, bc.getBcharValue());
        assertEquals(Boolean.TRUE, bc.getBintObjectValue());
        assertEquals(Boolean.TRUE, bc.getBcharObjectValue());
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

     */
    public void testReadBooleanIntCharFalseValue() throws Exception
    {
        fillTables();

        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("f1"));
        assertEquals(false, bc.getBintValue());
        assertEquals(false, bc.getBcharValue());
        assertEquals(Boolean.FALSE, bc.getBintObjectValue());
        assertEquals(Boolean.FALSE, bc.getBcharObjectValue());
    }
View Full Code Here

Examples of org.apache.torque.test.dbobject.BintBcharType

     */
    public void testReadBooleanIntCharNullValue() throws Exception
    {
        fillTables();

        BintBcharType bc
                = BintBcharTypePeer.retrieveByPK(new StringKey("null"));
        assertEquals(null, bc.getBintObjectValue());
        assertEquals(null, bc.getBcharObjectValue());
    }
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.