/**
  * @access public
  */
 public function showHelp()
 {
     print PHPUnit2_Runner_Version::getVersionString() . "\n\n" . "Usage: phpunit [switches] UnitTest\n" . "  --wait             Waits for a keystroke after each test.\n" . "  --help             Prints this usage information.\n" . "  --version          Prints the version and exits.\n";
 }
Beispiel #2
0
 /**
  * @access private
  * @since  Method available since Release 2.2.0
  */
 private static function printVersionString()
 {
     if (!self::$versionStringPrinted) {
         print PHPUnit2_Runner_Version::getVersionString() . "\n\n";
         self::$versionStringPrinted = TRUE;
     }
 }