CRM_Queue_Queue_AllTests
extends CiviTestSuite
in package
Class containing all test suites
Table of Contents
Properties
- $instance : mixed
Methods
- __construct() : mixed
- Simple name based constructor.
- suite() : mixed
- Build test suite dynamically.
- 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
- getInstance() : mixed
Properties
$instance
private
static mixed
$instance
= \NULL
Methods
__construct()
Simple name based constructor.
public
__construct([string $theClass = '' ][, string $name = '' ]) : mixed
Parameters
- $theClass : string = ''
- $name : string = ''
suite()
Build test suite dynamically.
public
static suite() : mixed
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_TestSuitegetInstance()
private
static getInstance() : mixed