|
From: Kyohere L. <pr...@gm...> - 2008-08-20 20:23:25
|
Nice, let me try that.
On Wed, Aug 20, 2008 at 8:17 PM, Marcus Baker <ma...@wo...>wrote:
> Hi...
>
> Kyohere Luke wrote:
> > I want to check that a certain function throws an exception of a certain
> > kind. How do I do this?
>
> $this->expectException('TheExceptionClass');
> // The code that throws...
>
> >
> > Thanks.
> >
> > Luke
>
> yours, Marcus
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Simpletest-support mailing list
> Sim...@li...
> https://lists.sourceforge.net/lists/listinfo/simpletest-support
>
--
-- Luke Kyohere
-- /dev/null
|