Package org.jboss.serial.data

Examples of org.jboss.serial.data.TestClassWithSQLDateOnly


    }


    public void testClassWithSQLDate() throws Exception
    {
        TestClassWithSQLDateOnly dateObj = new TestClassWithSQLDateOnly();

        DataContainer data = new DataContainer(true);
        ObjectOutput out = data.getOutput();
        out.writeObject(dateObj);
        out.flush();

        ObjectInput input = data.getInput();
        TestClassWithSQLDateOnly newDate = (TestClassWithSQLDateOnly)input.readObject();

        assertEquals(dateObj.newDate, newDate.newDate);
    }
View Full Code Here

TOP

Related Classes of org.jboss.serial.data.TestClassWithSQLDateOnly

Copyright © 2018 www.massapicom. 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.