Make svn_log_limit more resilient against empty cache entries.
[xhtml-compiler.git] / tests / XHTMLCompiler / ExceptionTest.php
blobe723bbca955b0ba6893003e66962aa9ccb870ecb
1 <?php
3 class XHTMLCompiler_ExceptionTest extends UnitTestCase
5 function test() {
6 $e = new XHTMLCompiler_Exception(500, 'Argh!', 'Matey overboard'); $l = __LINE__;
7 $this->assertEqual($e->getCode(), 500);
8 $this->assertEqual($e->getMessage(), 'Argh!');
9 $this->assertEqual($e->getDetails(), 'Matey overboard');
10 $this->assertEqual($e->getLine(), $l); // test Exception inheritance