public function test_recoverable_unhandled_converted_in_http_mode()
 {
     $runner = new TestRunner();
     $result = $runner->runInHttpMode('recoverable_unhandled_converted.php');
     $this->assertTrue(strpos($result, "Fatal error") !== false);
 }
示例#2
0
 public function test_fatal_handled_converted_in_http_mode()
 {
     $runner = new TestRunner();
     $result = $runner->runInHttpMode('fatal_handled_converted.php');
     $this->assertEquals('handled fatal converted', $result);
 }