KentBeck/junit — pull request #370 by matthewfarwell (2012-01-03 21:54:59+00:00)
Title: Added MainRunner. This removes the need for public methods in JUnitCore

MainRunner installs a SecurityManager which traps the System.exit(), thereby
removing the need to have runMainAndExit and runMain public in JUnitCore.
MainRunner is only used in the tests of course.

The idea of this change is to remove the public methods runMainAndExit and runMain.