|
From: Kasper G. <ka...@gm...> - 2011-05-18 07:15:21
|
Hi SimpleTest group,
I don't think I was subscribed before, so this message didn't appear, sorry
if it went through and I am spamming.
I am experiencing an issue with SimpleTest when using my own custom
exceptions, I am having a lot of these kind of exceptions:
<?php
class NoRefererException extends Exception
{
}
?>
They basically have no real functionality, they just extend, and then I can
listen on which type of exception i get.
However, I am having a hard time to get SimpleTest to test when these are
thrown, is it possible to check for it? And could you provide some
sourcecode for it? I couldn't find Exceptions used directly in the docs.
Thanks,
--
Kasper Grubbe
Phone: (+45) 42 42 42 74
Mail: kas...@gm...
Kettegårds Allè 70,1,6115
2650 Hvidovre
Denmark
|