Exemplo n.º 1
0
 /**
  * Creates the phpunit test suite for this package.
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('PHP_Depend - AllTests');
     $suite->addTest(PHP_Depend_Bugs_AllTests::suite());
     $suite->addTest(PHP_Depend_Code_AllTests::suite());
     $suite->addTest(PHP_Depend_Issues_AllTests::suite());
     $suite->addTest(PHP_Depend_Log_AllTests::suite());
     $suite->addTest(PHP_Depend_Input_AllTests::suite());
     $suite->addTest(PHP_Depend_Metrics_AllTests::suite());
     $suite->addTest(PHP_Depend_Parser_AllTests::suite());
     $suite->addTest(PHP_Depend_TextUI_AllTests::suite());
     $suite->addTest(PHP_Depend_Tokenizer_AllTests::suite());
     $suite->addTest(PHP_Depend_Util_AllTests::suite());
     $suite->addTest(PHP_Depend_Visitor_AllTests::suite());
     $suite->addTestSuite('PHP_Depend_Builder_DefaultTest');
     $suite->addTestSuite('PHP_Depend_ParserTest');
     $suite->addTestSuite('PHP_Depend_DependTest');
     $suite->addTestSuite('PHP_Depend_StorageRegistryTest');
     return $suite;
 }
Exemplo n.º 2
0
 * @license   http://www.opensource.org/licenses/bsd-license.php  BSD License
 * @version   Release: @package_version@
 * @link      http://pdepend.org/
 */
class PHP_Depend_Tokenizer_AllTests
{
    /**
     * Test suite main method.
     *
     * @return void
     */
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    /**
     * Creates the phpunit test suite for this package.
     *
     * @return PHPUnit_Framework_TestSuite
     */
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('PHP_Depend_Tokenizer - AllTests');
        $suite->addTestSuite('PHP_Depend_Tokenizer_InternalTest');
        $suite->addTestSuite('PHP_Depend_Tokenizer_PHP53NamespaceHelperTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD === 'PHP_Depend_Tokenizer_AllTests::main') {
    PHP_Depend_Tokenizer_AllTests::main();
}
Exemplo n.º 3
0
 /**
  * Creates the phpunit test suite for this package.
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('PHP_Depend - AllTests');
     $suite->addTestSuite('PHP_Depend_TokenTest');
     $suite->addTestSuite('PHP_Depend_AutoloadTest');
     $suite->addTest(PHP_Depend_Bugs_AllTests::suite());
     $suite->addTest(PHP_Depend_Builder_AllTests::suite());
     $suite->addTest(PHP_Depend_Code_AllTests::suite());
     $suite->addTest(PHP_Depend_Issues_AllTests::suite());
     $suite->addTest(PHP_Depend_Log_AllTests::suite());
     $suite->addTest(PHP_Depend_Input_AllTests::suite());
     $suite->addTest(PHP_Depend_Integration_AllTests::suite());
     $suite->addTest(PHP_Depend_Metrics_AllTests::suite());
     $suite->addTest(PHP_Depend_Parser_AllTests::suite());
     $suite->addTest(PHP_Depend_TextUI_AllTests::suite());
     $suite->addTest(PHP_Depend_Tokenizer_AllTests::suite());
     $suite->addTest(PHP_Depend_Util_AllTests::suite());
     $suite->addTest(PHP_Depend_Visitor_AllTests::suite());
     $suite->addTestSuite('PHP_Depend_ParserTest');
     $suite->addTestSuite('PHP_Depend_ParserRegressionTest');
     $suite->addTestSuite('PHP_Depend_DependTest');
     return $suite;
 }