Documentation

CiviTestSuite extends TestSuite
in package

Parent class for test suites

Table of Contents

Methods

__construct()  : mixed
Simple name based constructor.
testNothing()  : void
suppress failed test error issued by phpunit when it finds.
addAllTests()  : void
Add all test classes *Test and all test suites *Tests in subdirectories
implSuite()  : PHPUnit_Framework_TestSuite

Methods

__construct()

Simple name based constructor.

public __construct([string $theClass = '' ][, string $name = '' ]) : mixed
Parameters
$theClass : string = ''
$name : string = ''

testNothing()

suppress failed test error issued by phpunit when it finds.

public testNothing() : void

a test suite with no tests

addAllTests()

Add all test classes *Test and all test suites *Tests in subdirectories

protected addAllTests(TestSuite &$suite, mixed $myfile, SplFileInfo $dirInfo) : void
Parameters
$suite : TestSuite

Test suite object to add tests to

$myfile : mixed
$dirInfo : SplFileInfo

object to scan

implSuite()

protected implSuite(mixed $myfile) : PHPUnit_Framework_TestSuite
Parameters
$myfile : mixed
Return values
PHPUnit_Framework_TestSuite

        
On this page

Search results