Package test.sample.valid

Examples of test.sample.valid.CustomHandler


    public void testCustomHandler() throws Exception
    {
        final Element element = this.getRootElement( "/correct/test1.xml" );

        final CustomHandler cfg = XML2Java.bind( element, CustomHandler.class );
        final String[] retVal = cfg.getInner().getTestArray1();
        Assert.assertTrue( "CH1", "j".equals( retVal[ 0 ] ) );
        Assert.assertTrue( "CH2", "k".equals( retVal[ 1 ] ) );
        Assert.assertTrue( "CH3", "l".equals( retVal[ 2 ] ) );
        Assert.assertTrue( "CH4", "o".equals( retVal[ 3 ] ) );
View Full Code Here

TOP

Related Classes of test.sample.valid.CustomHandler

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.