// Launcher+CeylonClassLoader that dynamically find and load the necessary
// jar and car files. But when running from within Eclipse it doesn't know
// where to look, so we need to give it a hint
System.setProperty("ceylon.home", "../ceylon-dist/dist");
ModuleDescriptorReader r = new ModuleDescriptorReader("com.redhat.ceylon.ant.modules.a", new File("test/src"));
Assert.assertEquals("1.0", r.getModuleVersion());
Assert.assertEquals("com.redhat.ceylon.ant.modules.a", r.getModuleName());
Assert.assertEquals("http://example.com/license", r.getModuleLicense());
List<String> authors = r.getModuleAuthors();
Assert.assertEquals(2, authors.size());
Assert.assertEquals("Tom", authors.get(0));
Assert.assertEquals("and Tom", authors.get(1));
}