8788899091929394959697
assertSame(f, cr.getOutput()); try { cr.execute(); unreachable(); } catch (BuildException ex) { assertExceptionSubstring(ex, "You must specify a set of module descriptors");
120121122123124125126127128129130
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testBasic.xml")); output.delete(); }
149150151152153154155156157158159
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testSDL.xml")); output.delete(); }
176177178179180181182183184185186
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testLocalRefs.xml")); output.delete(); }
205206207208209210211212213214215
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testUptoDate.xml")); long stamp = output.lastModified();
211212213214215216217218219220221
compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testUptoDate.xml")); long stamp = output.lastModified(); cr.execute(); assertEquals(stamp, output.lastModified()); output.delete(); }
240241242243244245246247248249250
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testJars.xml")); output.delete(); }
6465666768697071727374
{ ConstructRegistry cr = create(); try { cr.execute(); unreachable(); } catch (BuildException ex) { assertExceptionSubstring(ex, "You must specify an output file");
8586878889909192939495
output.deleteOnExit(); cr.setOutput(output); cr.execute(); compare( output, getFrameworkPath("src/test-data/TestConstructRegistry/testBasic.xml.master")); }