commit 17781b4aa6d760441d5f290c73ca0fd02324792f Author: Timur Abishev Date: Tue Jan 5 00:40:52 2016 -0500 Fix exception in test mechanism in case of exception in @BeforeClass method. NPE in test mechanism happens in case of output-mode equal to FAILURE_MODE and exception in method annotated with @BeforeClass. This PR contains test for this case (currently skipped) and java junit runner fix. Testing Done: https://travis-ci.org/ttim/pants/builds/100258111 Bugs closed: 2767 Reviewed at https://rbcommons.com/s/twitter/r/3293/ .../org/pantsbuild/tools/junit/impl/ConsoleRunnerImpl.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)