MDB2
[ class tree: MDB2 ] [ index: MDB2 ] [ all elements ]

File: testUtils.php

Source Location: /MDB2-2.1.0/tests/testUtils.php

Classes:

Page Details:

Includes:

require_once('PEAR.php') [line 72]

errorHandler [line 85]

void errorHandler( mixed $errno, mixed $errstr, mixed $errfile, mixed $errline)



[ Top ]



errorHandlerPEAR [line 73]

void errorHandlerPEAR( mixed $error_obj)



[ Top ]



getBacktrace [line 37]

void getBacktrace( )

Little helper function that gets a backtrace if available


[ Top ]



getTests [line 20]

array getTests( $class $class)

given a class name it returns an array of test* methods
  • Return: of methods beginning with test


Parameters

$class   $class   text classname
[ Top ]



grepForTest [line 9]

void grepForTest( mixed $var)

this is used (with array filter) to filter out the test*

methods from a PHPUnit testcase



[ Top ]



testCheck [line 29]

void testCheck( mixed $testcase, mixed $testmethod)

Little helper function that outputs check for boxes with suitable names


[ Top ]



Documentation generated on Thu, 15 Jun 2006 09:06:55 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.