*/
@Test
public void testModuleValues() throws IOException
{
Path modFile = basehome.getPath("modules/protonego-impl/" + modBootFile);
Module mod = new Module(basehome,modFile);
assertNotNull("module",mod);
// Validate logical name
assertThat("Module name",mod.getName(),is("protonego-boot"));
List<String> expectedBootClasspath = new ArrayList<>();
for (String line : mod.getFiles())
{
FileArg farg = new FileArg(line);
if (farg.uri != null)
{
assertTrue("Not a known good NPN URL: " + farg.uri,KNOWN_GOOD_NPN_URLS.contains(farg.uri));
expectedBootClasspath.add("-Xbootclasspath/p:" + farg.location);
}
}
for (String line : mod.getJvmArgs())
{
expectedBootClasspath.remove(line);
}
if (expectedBootClasspath.size() > 0)