Class Whups_TestBase

Description

Base class for Whups test cases

$Horde: whups/lib/tests/TestBase.php,v 1.8.2.1 2009/01/06 15:28:27 jan Exp $

Copyright 2007-2009 The Horde Project (http://www.horde.org/)

Located in /lib/tests/TestBase.php (line 13)

PHPUnit_Framework_TestCase
   |
   --Whups_TestBase
Direct descendents
Class Description
 class Whups_ApiTest API tests for Whups.
Method Summary
 boolean assertOk (mixed $result)
 void setUp ()
Methods
assertOk (line 43)

Asserts that the supplied result is not a PEAR_Error

Fails with a descriptive message if so

  • return: Whether the assertion was successful
boolean assertOk (mixed $result)
  • mixed $result: The value to check
setUp (line 15)
void setUp ()

Redefined in descendants as:

Documentation generated on Sun, 30 Jan 2011 05:41:44 +0000 by phpDocumentor 1.4.3