diff --git a/Examples/test-suite/php/director_exception_catches_runme.php b/Examples/test-suite/php/director_exception_catches_runme.php new file mode 100644 index 000000000..51c5663d5 --- /dev/null +++ b/Examples/test-suite/php/director_exception_catches_runme.php @@ -0,0 +1,26 @@ +getMessage(), "Testing exception thrown in description()", "Unexpected exception message: ".$e->getMessage()); +} + +check::done(); diff --git a/Examples/test-suite/php/director_exception_nothrow_runme.php b/Examples/test-suite/php/director_exception_nothrow_runme.php new file mode 100644 index 000000000..2bc4a0c4a --- /dev/null +++ b/Examples/test-suite/php/director_exception_nothrow_runme.php @@ -0,0 +1,23 @@ +pang(), "MyBar::pang()", "MyBar::pang() not called as expected"); +$b = new Bar(); +check::equal($b->pang(), "Bar::pang()", "Bar::pang() not called as expected"); + +check::done();