Inheritance: extends UnitTestCase
Ejemplo n.º 1
0
 function __construct()
 {
     parent::__construct('Standard doclet tests');
     $this->clearOutputDir();
     $this->setIniFile('standard-doclet.ini');
     $this->runPhpDoctor();
 }
Ejemplo n.º 2
0
 function __construct()
 {
     parent::__construct('Access level tests');
     $this->clearOutputDir();
     $this->setIniFile('access.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('phpdoctor/tests/parser/accesslevel.html');
 }
Ejemplo n.º 3
0
 function __construct()
 {
     parent::__construct('List (ul) tests');
     $this->clearOutputDir();
     $this->setIniFile('lists-ul.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('phpdoctor/tests/listsul.html');
 }
Ejemplo n.º 4
0
 function __construct()
 {
     parent::__construct('Markdown formatter tests');
     $this->clearOutputDir();
     $this->setIniFile('markdown.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('phpdoctor/tests/markdownformattest.html');
 }
Ejemplo n.º 5
0
 function __construct()
 {
     parent::__construct('Last line tests');
     $this->clearOutputDir();
     $this->setIniFile('lastline.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('phpdoctor/tests/lastline.html');
 }
Ejemplo n.º 6
0
 function __construct()
 {
     parent::__construct('Dynamic define tests');
     $this->clearOutputDir();
     $this->setIniFile('dynamic-define.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('phpdoctor/tests/parser/package-globals.html');
 }
Ejemplo n.º 7
0
 function __construct()
 {
     parent::__construct('Comment links tests');
     $this->clearOutputDir();
     $this->setIniFile('comment-links.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('phpdoctor/tests/linktest/commentlinks.html');
 }
Ejemplo n.º 8
0
 function __construct()
 {
     parent::__construct('Throws tag tests');
     $this->clearOutputDir();
     $this->setIniFile('throws-tag.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('phpdoctor/tests/parser/throwstag.html');
 }
Ejemplo n.º 9
0
 function __construct()
 {
     parent::__construct('Zero Value tests');
     $this->clearOutputDir();
     $this->setIniFile('zerovalue.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('phpdoctor/tests/zerovalue.html');
 }
Ejemplo n.º 10
0
 function __construct()
 {
     parent::__construct('Todo tag tests');
     $this->clearOutputDir();
     $this->setIniFile('todo.ini');
     $this->runPhpDoctor();
     $this->output = $this->readOutputFile('todo-list.html');
     $this->output2 = $this->readOutputFile('phpdoctor/tests/todo.html');
 }
Ejemplo n.º 11
0
 function __construct()
 {
     parent::__construct('Linefeed tests');
     // The source file must be generated on the fly because the line endings are converted to Unix when
     // pulling/pushing the repo.
     $src = file_get_contents($this->caseDir . 'data/testcase-linefeed.php', true);
     $src = str_replace("\r\n", "\n", $src);
     $this->src = str_replace("\r", "\n", $src);
     // for those ancient Macs still out there
     $this->setIniFile('linefeed.ini');
 }
Ejemplo n.º 12
0
 function __construct()
 {
     parent::__construct('Ignore package tags option');
     $this->setIniFile('ignore-package-tags.ini');
     $this->output = $this->runPhpDoctor();
 }
Ejemplo n.º 13
0
 function __construct()
 {
     parent::__construct('Test use of the namespace syntaxes');
 }
Ejemplo n.º 14
0
 function __construct()
 {
     parent::__construct('Trait test');
 }
Ejemplo n.º 15
0
 function __construct()
 {
     parent::__construct('Test use class path as package option');
     $this->setIniFile('use-class-path-as-package.ini');
     $this->output = $this->runPhpDoctor();
 }
Ejemplo n.º 16
0
 function __construct()
 {
     parent::__construct('Parser tests');
     $this->setIniFile('parser.ini');
     $this->output = $this->runPhpDoctor();
 }
Ejemplo n.º 17
0
 function __construct()
 {
     parent::__construct('Test class name overlap across namespaces');
 }