Test
class Test (View source)
Test helpers.
Constants
REGEX_DATA_PROVIDER |
|
REGEX_TEST_WITH |
|
REGEX_EXPECTED_EXCEPTION |
|
REGEX_REQUIRES_VERSION |
|
REGEX_REQUIRES_VERSION_CONSTRAINT |
|
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 process isolation settings for a test.
No description
Returns the preserve global state settings for a test.
No description
Details
at line 88
static array|bool
getLinesToBeCovered(string $className, string $methodName)
at line 110
static array
getLinesToBeUsed(string $className, string $methodName)
Returns lines of code specified with the @uses annotation.
at line 185
static array
getRequirements(string $className, string $methodName)
Returns the requirements for a test.
at line 257
static string[]
getMissingRequirements(string $className, string $methodName)
Returns the missing requirements for a test.
at line 360
static array|false
getExpectedException(string $className, string $methodName)
Returns the expected exception for a test.
at line 444
static array
getProvidedData(string $className, string $methodName)
Returns the provided data for a method.
at line 547
static array|null
getDataFromTestWithAnnotation(string $docComment)
at line 601
static array
parseTestMethodAnnotations(string $className, string $methodName = '')
at line 644
static array
getInlineAnnotations(string $className, string $methodName)
at line 698
static array
getBackupSettings(string $className, string $methodName)
Returns the backup settings for a test.
at line 722
static array
getDependencies(string $className, string $methodName)
Returns the dependencies for a test class or method.
at line 753
static ?bool
getErrorHandlerSettings(string $className, string $methodName)
Returns the error handler settings for a test.
at line 770
static array
getGroups(string $className, string $methodName = '')
Returns the groups for a test class or method.
at line 821
static int
getSize(string $className, string $methodName)
Returns the size of the test.
at line 850
static bool
getProcessIsolationSettings(string $className, string $methodName)
Returns the process isolation settings for a test.
at line 860
static
getClassProcessIsolationSettings($className, $methodName)
at line 878
static ?bool
getPreserveGlobalStateSettings(string $className, string $methodName)
Returns the preserve global state settings for a test.