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 .