file-fetcher
Public Member Functions | List of all members
PHPUnit\Runner\PhptTestCase Class Reference
Inheritance diagram for PHPUnit\Runner\PhptTestCase:
PHPUnit\Framework\SelfDescribing PHPUnit\Framework\Test

Public Member Functions

 __construct (string $filename, AbstractPhpProcess $phpUtil=null)
 
 count ()
 
 run (TestResult $result=null)
 
 getName ()
 
 toString ()
 
 usesDataProvider ()
 
 getNumAssertions ()
 
 getActualOutput ()
 
 hasOutput ()
 

Constructor & Destructor Documentation

◆ __construct()

PHPUnit\Runner\PhptTestCase::__construct ( string  $filename,
AbstractPhpProcess  $phpUtil = null 
)

Constructs a test case with the given filename.

Exceptions
Exception

Member Function Documentation

◆ count()

PHPUnit\Runner\PhptTestCase::count ( )

Counts the number of test cases executed by run(TestResult result).

◆ getActualOutput()

PHPUnit\Runner\PhptTestCase::getActualOutput ( )

◆ getName()

PHPUnit\Runner\PhptTestCase::getName ( )

Returns the name of the test case.

◆ getNumAssertions()

PHPUnit\Runner\PhptTestCase::getNumAssertions ( )

◆ hasOutput()

PHPUnit\Runner\PhptTestCase::hasOutput ( )

◆ run()

PHPUnit\Runner\PhptTestCase::run ( TestResult  $result = null)

Runs a test and collects its result in a TestResult instance.

Exceptions
Exception

Implements PHPUnit\Framework\Test.

◆ toString()

PHPUnit\Runner\PhptTestCase::toString ( )

Returns a string representation of the test case.

Implements PHPUnit\Framework\SelfDescribing.

◆ usesDataProvider()

PHPUnit\Runner\PhptTestCase::usesDataProvider ( )

The documentation for this class was generated from the following file: