/** * 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); }
/** * 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); }
/** * 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); }