Search in sources :

Example 1 with GridBinaryTestClass2

use of org.apache.ignite.internal.binary.test.GridBinaryTestClass2 in project ignite by apache.

the class BinaryObjectBuilderAdditionalSelfTest method testBuildFromObjectWithoutSchema.

/**
     * Ensure that object w/o schema can be re-built.
     */
public void testBuildFromObjectWithoutSchema() {
    BinaryObjectBuilderImpl binBuilder = wrap(new GridBinaryTestClass2());
    BinaryObject binObj = binBuilder.build();
    BinaryObjectBuilderImpl binBuilder2 = wrap(binObj);
    binBuilder2.build();
}
Also used : BinaryObject(org.apache.ignite.binary.BinaryObject) BinaryObjectBuilderImpl(org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl) GridBinaryTestClass2(org.apache.ignite.internal.binary.test.GridBinaryTestClass2)

Aggregations

BinaryObject (org.apache.ignite.binary.BinaryObject)1 BinaryObjectBuilderImpl (org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl)1 GridBinaryTestClass2 (org.apache.ignite.internal.binary.test.GridBinaryTestClass2)1