Package io.airlift.airline.args

Examples of io.airlift.airline.args.Arity1


    }

    @Test
    public void arity1Success1()
    {
        Arity1 arguments = singleCommandParser(Arity1.class).parse("Arity1", "-inspect", "true");
        assertTrue(arguments.inspect);
    }
View Full Code Here


    }

    @Test
    public void arity1Success2()
    {
        Arity1 arguments = singleCommandParser(Arity1.class).parse("Arity1", "-inspect", "false");
        assertFalse(arguments.inspect);
    }
View Full Code Here

    }

    @Test
    public void arity1Success1()
    {
        Arity1 arguments = singleCommand(Arity1.class).parse("-inspect", "true");
        assertTrue(arguments.inspect);
    }
View Full Code Here

    }

    @Test
    public void arity1Success2()
    {
        Arity1 arguments = singleCommand(Arity1.class).parse("-inspect", "false");
        assertFalse(arguments.inspect);
    }
View Full Code Here

TOP

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

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.