public void reportRun(String testfile) { TestSuiteResults results = run(testfile); results.reportResults(); }
/** * Sets the destination directory to the base directory if it is not set explicitly. */ private void checkDest() { if (destDir == null) { destDir = baseDir; log("destdir defaulting to basedir", Project.MSG_DEBUG); } }
private void makeReport(Vector<TestSuiteResult> results) { for (TestSuiteResult result : results) { result.report(); } }
public void runTests(Vector<String> tests) { startReport(); for (String testfile : tests) { reportRun(testfile); } endReport(); }
/** * Work with an instance of a <option> element already configured by Ant. * * @param option the configured Option */ public void addConfiguredOption(Option option) { if (!option.shouldUse()) { log("Skipping option '" + option.getName() + "' as it is configured to be unused.", Project.MSG_DEBUG); return; } options.add(option); }
/** * Work with an instance of a <parameter> element already configured by Ant. * * @param parameter the configured Parameter */ public void addConfiguredParameter(Parameter parameter) { if (!parameter.shouldUse()) { log("Skipping parameter '" + parameter.getName() + "' as it is configured to be unused.", Project.MSG_DEBUG); return; } parameters.add(parameter); }
/** * Adds a nested FileNameMapper. * * @param fileNameMapper the mapper to add * @throws BuildException if more than one mapper is defined */ public void add(FileNameMapper fileNameMapper) throws BuildException { if (mapper != null) { handleError("Cannot define more than one mapper"); return; } mapper = fileNameMapper; }
public boolean shouldUse() { return useable.shouldUse(); } }
public void setUnless(Object unlessCond) { useable.setUnless(unlessCond); }
public static void main(String[] args) throws SaxonApiException, IOException, URISyntaxException { BaseURITest test = new BaseURITest(); test.run(); }
public static void main(String[] args) throws SaxonApiException, IOException, URISyntaxException { EmbeddedTest test = new EmbeddedTest(); test.run(); }
public static void main(String[] args) throws SaxonApiException, IOException, URISyntaxException { ValidBaseURITest test = new ValidBaseURITest(); test.run(); }
public void runTests(Vector<String> tests) { startReport(); for (String testfile : tests) { reportRun(testfile); } endReport(); }
/** * Work with an instance of a <option> element already configured by Ant. * * @param option the configured Option */ public void addConfiguredOption(Option option) { if (!option.shouldUse()) { log("Skipping option '" + option.getName() + "' as it is configured to be unused.", Project.MSG_DEBUG); return; } options.add(option); }
/** * Work with an instance of a <parameter> element already configured by Ant. * * @param parameter the configured Parameter */ public void addConfiguredParameter(Parameter parameter) { if (!parameter.shouldUse()) { log("Skipping parameter '" + parameter.getName() + "' as it is configured to be unused.", Project.MSG_DEBUG); return; } parameters.add(parameter); }
public void reportRun(String testfile) { TestSuiteResults results = run(testfile); results.reportResults(); }
private void makeReport(Vector<TestSuiteResult> results) { for (TestSuiteResult result : results) { result.report(); } }
/** * Sets the destination directory to the base directory if it is not set explicitly. */ private void checkDest() { if (destDir == null) { destDir = baseDir; log("destdir defaulting to basedir", Project.MSG_DEBUG); } }
/** * Adds a nested FileNameMapper. * * @param fileNameMapper the mapper to add * @throws BuildException if more than one mapper is defined */ public void add(FileNameMapper fileNameMapper) throws BuildException { if (mapper != null) { handleError("Cannot define more than one mapper"); return; } mapper = fileNameMapper; }
public boolean shouldUse() { return useable.shouldUse(); } }