Skip to content
Browse files

Rename tests to match default PHPUnit pattern

  • Loading branch information...
1 parent a893449 commit 16c6fca8becd60d201ce0beffe5b1d22f54c7844 @CloCkWeRX CloCkWeRX committed Nov 29, 2011
View
15 tests/AllTests.php
@@ -20,9 +20,9 @@
require_once 'PHPUnit/TextUI/TestRunner.php';
-require_once 'HTML_CSS_TestSuite_Standard.php';
-require_once 'HTML_CSS_TestSuite_Output.php';
-require_once 'HTML_CSS_TestSuite_Bugs.php';
+require_once 'HTML_CSS_StandardTest.php';
+require_once 'HTML_CSS_OutputTest.php';
+require_once 'HTML_CSS_BugsTest.php';
/**
* Class for running all test suites for HTML_CSS package.
@@ -75,9 +75,9 @@ public static function main()
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('HTML_CSS Test Suite');
- $suite->addTestSuite('HTML_CSS_TestSuite_Standard');
- $suite->addTestSuite('HTML_CSS_TestSuite_Output');
- $suite->addTestSuite('HTML_CSS_TestSuite_Bugs');
+ $suite->addTestSuite('HTML_CSS_StandardTest');
+ $suite->addTestSuite('HTML_CSS_OutputTest');
+ $suite->addTestSuite('HTML_CSS_BugsTest');
return $suite;
}
@@ -123,5 +123,4 @@ public static function packageInstalled($name, $version = null, $channel = null,
if (PHPUnit_MAIN_METHOD == 'HTML_CSS_AllTests::main') {
HTML_CSS_AllTests::main();
-}
-?>
+}
View
2 tests/HTML_CSS_TestSuite_Bugs.php → tests/HTML_CSS_BugsTest.php
@@ -34,7 +34,7 @@
* @link http://pear.php.net/package/HTML_CSS
* @since File available since Release 1.4.0
*/
-class HTML_CSS_TestSuite_Bugs extends PHPUnit_Framework_TestCase
+class HTML_CSS_BugsTest extends PHPUnit_Framework_TestCase
{
/**
* A CSS object
View
3 tests/HTML_CSS_TestSuite_Output.php → tests/HTML_CSS_OutputTest.php
@@ -18,7 +18,6 @@
require_once "PHPUnit/Framework/TestCase.php";
require_once "PHPUnit/Framework/TestSuite.php";
-require_once "PHPUnit/Extensions/OutputTestCase.php";
require_once 'HTML/CSS.php';
require_once 'PEAR.php';
@@ -34,7 +33,7 @@
* @link http://pear.php.net/package/HTML_CSS
* @since File available since Release 1.5.2
*/
-class HTML_CSS_TestSuite_Output extends PHPUnit_Framework_TestCase
+class HTML_CSS_OutputTest extends PHPUnit_Framework_TestCase
{
/**
* A CSS object
View
2 tests/HTML_CSS_TestSuite_Standard.php → tests/HTML_CSS_StandardTest.php
@@ -33,7 +33,7 @@
* @link http://pear.php.net/package/HTML_CSS
* @since File available since Release 1.4.0
*/
-class HTML_CSS_TestSuite_Standard extends PHPUnit_Framework_TestCase
+class HTML_CSS_StandardTest extends PHPUnit_Framework_TestCase
{
/**
* A CSS object

0 comments on commit 16c6fca

Please sign in to comment.
Something went wrong with that request. Please try again.