Examples of ConfigurablePofContext


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

Examples of com.tangosol.io.pof.ConfigurablePofContext

        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
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.