46474849505152535455
} } ); } private void reportTestRunResult( final Result result ) { fireMessageEvent( new TestResultMessage( result.wasSuccessful(), result.getRunCount(), result.getFailureCount(), getFailures( result.getFailures() ) ) ); }
53545556575859606162
result.getFailureCount(), getFailures( result.getFailures() ) ) ); } private void reportTestSuccess() { fireMessageEvent( new TestResultMessage( true, 1, 1, new ArrayList<org.guvnor.common.services.shared.test.Failure>() ) ); }
63646566676869707172
private void reportTestFailure( final Failure failure ) { ArrayList<org.guvnor.common.services.shared.test.Failure> failures = new ArrayList<org.guvnor.common.services.shared.test.Failure>(); failures.add( failureToFailure( failure ) ); fireMessageEvent( new TestResultMessage( false, 1, 1, failures ) ); }