openworm/org.geppetto.solver.sph — pull request #40 by dkruchinin (2014-09-30 13:21:25+00:00)
Title: mvn test won't ignore @Before and @After annotations after this change

Without this change tests launched from command line via maven ignore @Before and @After annotations which makes it impossible to run unit tests outside of IDE.

Before the change:
% mvn -Dtest="PCISPHSolverTest" test
...
org.geppetto.solver.sph.internal.PCISPHSolverTest.testSolve15_NoNaN() Time elapsed: 1.037 sec <<< FAILURE!
java.lang.NullPointerException
at org.geppetto.solver.sph.SPHSolverService.updateStateTree(SPHSolverService.java:1126)
at org.geppetto.solver.sph.SPHSolverService.solve(SPHSolverService.java:1112)
at org.geppetto.solver.sph.internal.PCISPHSolverTest.testSolve15_NoNaN(PCISPHSolverTest.java:209)
...
Tests run: 8, Failures: 8, Errors: 0, Skipped: 0

After the change:
% mvn -Dtest="PCISPHSolverTest" test
...
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0