Rev 5 | Go to most recent revision | Blame | Last modification | View Log | RSS feed
<?php
/**
* A test class for testing the core.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
* @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
* @version CVS: $Id: AllTests.php 34 2009-04-09 07:34:39Z aurelien $
* @link http://pear.php.net/package/PHP_CodeSniffer
*/
require_once 'IsCamelCapsTest.php';
/**
* A test class for testing the core.
*
* Do not run this file directly. Run the AllSniffs.php file in the root
* testing directory of PHP_CodeSniffer.
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
* @license http://matrix.squiz.net/developer/tools/php_cs/licence BSD Licence
* @version Release: 1.2.0RC1
* @link http://pear.php.net/package/PHP_CodeSniffer
*/
class PHP_CodeSniffer_Core_AllTests
{
/**
* Prepare the test runner.
*
* @return void
*/
public static function main()
{
PHPUnit2_TextUI_TestRunner::run(self::suite());
}//end main()
/**
* Add all core unit tests into a test suite.
*
* @return PHPUnit_Framework_TestSuite
*/
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('PHP CodeSniffer Core');
$suite->addTestSuite('Core_IsCamelCapsTest');
return $suite;
}//end suite()
}//end class
?>