Package com.tangosol.io.pof

Examples of com.tangosol.io.pof.ConfigurablePofContext


        Assert.assertEquals("ABC", extracter1.extractFromBinary(ctx, blob));       
    }

    @Test
    public void testTypeB_String_length() {
        ConfigurablePofContext ctx = new ConfigurablePofContext(XmlHelper.loadXml(getClass().getResource("/test-pof-config.xml")));
       
        TypeB b = new TypeB();
        b.string = "ABC";
       
        Binary blob = ExternalizableHelper.toBinary(b, ctx);
View Full Code Here


        Assert.assertEquals(3, extracter.extractFromBinary(ctx, blob));       
    }

    @Test
    public void testTypeB_String_null() {
        ConfigurablePofContext ctx = new ConfigurablePofContext(XmlHelper.loadXml(getClass().getResource("/test-pof-config.xml")));
       
        TypeB b = new TypeB();
        b.string = null;
       
        Binary blob = ExternalizableHelper.toBinary(b, ctx);
View Full Code Here

TOP

Related Classes of com.tangosol.io.pof.ConfigurablePofContext

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.