Skip to content

Commit

Permalink
Rename tests to match default PHPUnit pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel O'Connor committed Nov 28, 2011
1 parent a893449 commit 16c6fca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
15 changes: 7 additions & 8 deletions tests/AllTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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();
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16c6fca

Please sign in to comment.