Location: PHPKode > scripts > PHPDoctor > peej-phpdoctor-cff11e2/tests/cases/throws-tag.php
<?php

/**
 * @package PHPDoctor\Tests\Parser
 */
class TestThrowsTag extends DoctorTestCase
{
	
    var $output;
    
	function testThrowsTag() {
        $this->DoctorTestCase('Throws tag tests');
		
		$this->clearOutputDir();
		
		$this->setIniFile('throws-tag.ini');
		$this->runPhpDoctor();
		
		$this->output = $this->readOutputFile('phpdoctor/tests/parser/throwstag.html');
		#die($this->output);
	}
	
	function testThrowsTagContent() {
		$this->assertStringContains('<dt>Throws:</dt>
<dd><a href="../../../phpdoctor/tests/parser/testexception.html">testException</a> - Some kind of exception occurred</dd>', $this->output, TRUE);
	}
	
}
Return current item: PHPDoctor