PHPUnit_Util_Test
class PHPUnit_Util_Test (View source)
Test helpers.
Constants
REGEX_DATA_PROVIDER |
|
REGEX_TEST_WITH |
|
REGEX_EXPECTED_EXCEPTION |
|
REGEX_REQUIRES_VERSION |
|
REGEX_REQUIRES_OS |
|
REGEX_REQUIRES |
|
UNKNOWN |
|
SMALL |
|
MEDIUM |
|
LARGE |
|
Methods
No description
Returns lines of code specified with the @uses annotation.
Returns the requirements for a test.
Returns the missing requirements for a test.
Returns the expected exception for a test.
Returns the provided data for a method.
No description
No description
No description
Returns the backup settings for a test.
Returns the dependencies for a test class or method.
Returns the error handler settings for a test.
Returns the groups for a test class or method.
Returns the size of the test.
Returns the tickets for a test class or method.
Returns the process isolation settings for a test.
Returns the preserve global state settings for a test.
No description
Details
at line 38
static mixed
describe(PHPUnit_Framework_Test $test, bool $asString = true)
at line 67
static array|bool
getLinesToBeCovered(string $className, string $methodName)
at line 89
static array
getLinesToBeUsed(string $className, string $methodName)
Returns lines of code specified with the @uses annotation.
at line 164
static array
getRequirements(string $className, string $methodName)
Returns the requirements for a test.
at line 218
static array
getMissingRequirements(string $className, string $methodName)
Returns the missing requirements for a test.
at line 287
static array
getExpectedException(string $className, string $methodName)
Returns the expected exception for a test.
at line 373
static array
getProvidedData(string $className, string $methodName)
Returns the provided data for a method.
at line 476
static array
getDataFromTestWithAnnotation(string $docComment)
at line 530
static array
parseTestMethodAnnotations(string $className, string $methodName = '')
at line 559
static array
getInlineAnnotations(string $className, string $methodName)
at line 613
static array
getBackupSettings(string $className, string $methodName)
Returns the backup settings for a test.
at line 637
static array
getDependencies(string $className, string $methodName)
Returns the dependencies for a test class or method.
at line 668
static bool
getErrorHandlerSettings(string $className, string $methodName)
Returns the error handler settings for a test.
at line 685
static array
getGroups(string $className, string $methodName = '')
Returns the groups for a test class or method.
at line 736
static int
getSize(string $className, string $methodName)
Returns the size of the test.
at line 763
static array
getTickets(string $className, string $methodName)
Returns the tickets for a test class or method.
at line 791
static bool
getProcessIsolationSettings(string $className, string $methodName)
Returns the process isolation settings for a test.
at line 814
static bool
getPreserveGlobalStateSettings(string $className, string $methodName)
Returns the preserve global state settings for a test.