From 76aedbefe05d9f5b8aad9573635a07045efa392a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 8 Jun 2008 19:50:54 +0000 Subject: - Patch #267813 by alpritt: fixed some user module tests. --- modules/simpletest/drupal_reporter.php | 4 ++-- modules/simpletest/drupal_test_suite.php | 2 +- modules/simpletest/reporter.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/simpletest') diff --git a/modules/simpletest/drupal_reporter.php b/modules/simpletest/drupal_reporter.php index 7664925f6..f885d227f 100644 --- a/modules/simpletest/drupal_reporter.php +++ b/modules/simpletest/drupal_reporter.php @@ -252,6 +252,6 @@ class DrupalReporter extends SimpleReporter { } function unit_tests($args, $reporter) { - return $reporter->form['Drupal Unit Tests']; + return $reporter->form['Drupal unit tests']; } -?> \ No newline at end of file +?> diff --git a/modules/simpletest/drupal_test_suite.php b/modules/simpletest/drupal_test_suite.php index 9aa428391..cdc681203 100644 --- a/modules/simpletest/drupal_test_suite.php +++ b/modules/simpletest/drupal_test_suite.php @@ -36,7 +36,7 @@ class DrupalTests extends DrupalTestSuite { */ function DrupalTests($class_list = NULL) { static $classes; - $this->DrupalTestSuite('Drupal Unit Tests'); + $this->DrupalTestSuite('Drupal unit tests'); // Tricky part to avoid double inclusion. if (!$classes) { diff --git a/modules/simpletest/reporter.php b/modules/simpletest/reporter.php index e0487a243..5c63e5d43 100644 --- a/modules/simpletest/reporter.php +++ b/modules/simpletest/reporter.php @@ -210,9 +210,9 @@ class TextReporter extends SimpleReporter { print "OK\n"; } else { - print "FAILURES!!!\n"; + print "FAILURES\n"; } - print "Test cases run: ". $this->getTestCaseProgress() ."/". $this->getTestCaseCount() .", Passes: ". $this->getPassCount() .", Failures: ". $this->getFailCount() .", Exceptions: ". $this->getExceptionCount() ."\n"; + print "Test cases run: ". $this->getTestCaseProgress() ."/". $this->getTestCaseCount() .", passes: ". $this->getPassCount() .", failures: ". $this->getFailCount() .", exceptions: ". $this->getExceptionCount() ."\n"; } /** -- cgit v1.2.3