Package io.airlift.airline.args

Examples of io.airlift.airline.args.ArgsInherited


    }

    @Test
    public void inheritance()
    {
        ArgsInherited args = singleCommandParser(ArgsInherited.class).parse("ArgsInherited", "-log", "3", "-child", "2");
        assertEquals(args.child.intValue(), 2);
        assertEquals(args.log.intValue(), 3);
    }
View Full Code Here


    }

    @Test
    public void inheritance()
    {
        ArgsInherited args = singleCommand(ArgsInherited.class).parse("-log", "3", "-child", "2");
        assertEquals(args.child.intValue(), 2);
        assertEquals(args.log.intValue(), 3);
    }
View Full Code Here

TOP

Related Classes of io.airlift.airline.args.ArgsInherited

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.