| 1 |
lars |
1 |
<?php
|
|
|
2 |
if (!defined('PHPUnit_MAIN_METHOD')) {
|
|
|
3 |
define('PHPUnit_MAIN_METHOD', 'phpDocumentorTParserTests::main');
|
|
|
4 |
}
|
|
|
5 |
|
|
|
6 |
require_once 'PHPUnit/Framework.php';
|
|
|
7 |
require_once 'PHPUnit/TextUI/TestRunner.php';
|
|
|
8 |
|
|
|
9 |
/* You must add each method-level test suite file here */
|
|
|
10 |
require_once 'phpDocumentorTParserGetInlineTagsTests.php';
|
|
|
11 |
|
|
|
12 |
class tests_phpDocumentorTParserTests
|
|
|
13 |
{
|
|
|
14 |
public static function main()
|
|
|
15 |
{
|
|
|
16 |
PHPUnit_TextUI_TestRunner::run(self::suite());
|
|
|
17 |
}
|
|
|
18 |
|
|
|
19 |
public static function suite()
|
|
|
20 |
{
|
|
|
21 |
$suite = new PHPUnit_Framework_TestSuite('phpDocumentorTParser Unit Test Suites');
|
|
|
22 |
/* You must add each method-level test suite name here */
|
|
|
23 |
$suite->addTestSuite('tests_phpDocumentorTParserGetInlineTagsTests');
|
|
|
24 |
return $suite;
|
|
|
25 |
}
|
|
|
26 |
}
|
|
|
27 |
|
|
|
28 |
if (PHPUnit_MAIN_METHOD == 'phpDocumentorTParserTests::main') {
|
|
|
29 |
tests_phpDocumentorTParserTests::main();
|
|
|
30 |
}
|
|
|
31 |
?>
|