137138139140141142143144145146147
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testSDL.xml")); output.delete(); }
161162163164165166167168169170171
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testLocalRefs.xml")); output.delete(); }
187188189190191192193194195196197
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testUptoDate.xml")); long stamp = output.lastModified();
193194195196197198199200201202203
compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testUptoDate.xml")); long stamp = output.lastModified(); cr.execute(); assertEquals(stamp, output.lastModified()); output.delete(); }
219220221222223224225226227228229
output.delete(); cr.setOutput(output); cr.execute(); compare(output, getFrameworkPath("src/test-data/TestConstructRegistry/testJars.xml")); output.delete(); }
6667686970717273747576
{ ConstructRegistry cr = create(); try { cr.execute(); unreachable(); } catch (BuildException ex) { assertExceptionSubstring(ex, "You must specify an output file");
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(); }
147148149150151152153154155156157
176177178179180181182183184185186