Examples of CeylonInfoTool


Examples of com.redhat.ceylon.tools.info.CeylonInfoTool

    @Test
    public void testNoArgs() throws Exception {
        ToolModel<CeylonInfoTool> model = pluginLoader.loadToolModel("info");
        Assert.assertNotNull(model);
        try {
            CeylonInfoTool tool = pluginFactory.bindArguments(model, Collections.<String>emptyList());
            Assert.fail();
        } catch (OptionArgumentException e) {
            // asserting this is thrown
        }
    }
View Full Code Here

Examples of com.redhat.ceylon.tools.info.CeylonInfoTool

   
    @Test
    public void testModuleVersion() throws Exception {
        ToolModel<CeylonInfoTool> model = pluginLoader.loadToolModel("info");
        Assert.assertNotNull(model);
        CeylonInfoTool tool = pluginFactory.bindArguments(model, Collections.<String>singletonList("ceylon.language/"+Versions.CEYLON_VERSION_NUMBER));
    }
View Full Code Here

Examples of com.redhat.ceylon.tools.info.CeylonInfoTool

   
    @Test
    public void testModuleOnly() throws Exception {
        ToolModel<CeylonInfoTool> model = pluginLoader.loadToolModel("info");
        Assert.assertNotNull(model);
        CeylonInfoTool tool = pluginFactory.bindArguments(model, Collections.<String>singletonList("ceylon.language"));
    }
View Full Code Here

Examples of com.redhat.ceylon.tools.info.CeylonInfoTool

   
    @Test
    public void testOffline() throws Exception {
        ToolModel<CeylonInfoTool> model = pluginLoader.loadToolModel("info");
        Assert.assertNotNull(model);
        CeylonInfoTool tool = pluginFactory.bindArguments(model, Arrays.<String>asList("--offline", "ceylon.language"));
    }
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.