TesterViera/JavaLibTester — pull request #2 by sbloch (2012-12-29 02:12:51+00:00)
Title: boolean-valued Tester.run() methods

Changed the public "runWhatever" hooks in the Tester class to return true (if there were no errors) or false (if there was at least one), so "runWhatever" can be composed with other things. Such as, for example,

junit.framework.TestCase.assertTrue (Tester.run(new Whatever()));

so failed Tester cases show up as failed JUnit cases (in IDE's that support JUnit).

This should be backwards-compatible: any code that was calling Tester.run on the assumption that it returned void should still compile and run.