/** * Add assertions to enable in this program (if fork=true). * @param asserts assertion set. * @since Ant 1.6 */ public void addAssertions(Assertions asserts) { if (getCommandLine().getAssertions() != null) { throw new BuildException("Only one assertion declaration is allowed"); } getCommandLine().setAssertions(asserts); }
if (getAssertions() != null) { size += getAssertions().size();
if (getAssertions() != null) { getAssertions().applyAssertions(listIterator);
"You have used an attribute or nested element which is not compatible with spawn"); if (getCommandLine().getAssertions() != null && !fork) { log("Assertion statements are currently ignored in non-forked mode");
/** * Add assertions to tests execution. */ public void addAssertions(Assertions asserts) { if (getCommandline().getAssertions() != null) { throw new BuildException("Only one assertion declaration is allowed"); } getCommandline().setAssertions(asserts); }
/** * Add assertions to tests execution. */ public void addAssertions(Assertions asserts) { if (getCommandline().getAssertions() != null) { throw new BuildException("Only one assertion declaration is allowed"); } getCommandline().setAssertions(asserts); }
/** * Assertions to enable in this program (if fork=true) * * @since Ant 1.6 * @param asserts assertion set */ public void addAssertions(final Assertions asserts) { if (getCommandline().getAssertions() != null) { throw new BuildException("Only one assertion declaration is allowed"); } getCommandline().setAssertions(asserts); }