Search in sources :

Example 6 with CeylonSrcTool

use of com.redhat.ceylon.tools.src.CeylonSrcTool in project ceylon-compiler by ceylon.

the class SrcToolTests method testModuleOnly.

@Test
public void testModuleOnly() throws Exception {
    ToolModel<CeylonSrcTool> model = pluginLoader.loadToolModel("src");
    Assert.assertNotNull(model);
    CeylonSrcTool tool = pluginFactory.bindArguments(model, getMainTool(), Collections.<String>singletonList("ceylon.language"));
}
Also used : CeylonSrcTool(com.redhat.ceylon.tools.src.CeylonSrcTool) Test(org.junit.Test)

Aggregations

CeylonSrcTool (com.redhat.ceylon.tools.src.CeylonSrcTool)6 Test (org.junit.Test)6 File (java.io.File)2 OptionArgumentException (com.redhat.ceylon.common.tool.OptionArgumentException)1