| TestBase |
class |
core/modules/simpletest/src/TestBase.php |
Base class for Drupal tests. |
| TestBase.php |
file |
core/modules/simpletest/src/TestBase.php |
|
| TestBase::$assertions |
property |
core/modules/simpletest/src/TestBase.php |
Assertions thrown in that test case. |
| TestBase::$configImporter |
property |
core/modules/simpletest/src/TestBase.php |
The config importer that can used in a test. |
| TestBase::$databasePrefix |
property |
core/modules/simpletest/src/TestBase.php |
The database prefix of this test run. |
| TestBase::$dieOnFail |
property |
core/modules/simpletest/src/TestBase.php |
Whether to die in case any test assertion fails. |
| TestBase::$httpAuthCredentials |
property |
core/modules/simpletest/src/TestBase.php |
HTTP authentication credentials (<username>:<password>). |
| TestBase::$httpAuthMethod |
property |
core/modules/simpletest/src/TestBase.php |
HTTP authentication method (specified as a CURLAUTH_* constant). |
| TestBase::$originalConf |
property |
core/modules/simpletest/src/TestBase.php |
The original configuration (variables), if available. |
| TestBase::$originalConfig |
property |
core/modules/simpletest/src/TestBase.php |
The original configuration (variables). |
| TestBase::$originalConfigDirectories |
property |
core/modules/simpletest/src/TestBase.php |
The original configuration directories. |
| TestBase::$originalContainer |
property |
core/modules/simpletest/src/TestBase.php |
The original container. |
| TestBase::$originalFileDirectory |
property |
core/modules/simpletest/src/TestBase.php |
The original file directory, before it was changed for testing purposes. |
| TestBase::$originalLanguage |
property |
core/modules/simpletest/src/TestBase.php |
The original language. |
| TestBase::$originalPrefix |
property |
core/modules/simpletest/src/TestBase.php |
The original database prefix when running inside Simpletest. |
| TestBase::$originalSessionName |
property |
core/modules/simpletest/src/TestBase.php |
The name of the session cookie of the test-runner. |
| TestBase::$originalSettings |
property |
core/modules/simpletest/src/TestBase.php |
The settings array. |
| TestBase::$originalShutdownCallbacks |
property |
core/modules/simpletest/src/TestBase.php |
The original array of shutdown function callbacks. |
| TestBase::$originalUser |
property |
core/modules/simpletest/src/TestBase.php |
The original user, before testing began. |
| TestBase::$results |
property |
core/modules/simpletest/src/TestBase.php |
Current results of this test case. |
| TestBase::$skipClasses |
property |
core/modules/simpletest/src/TestBase.php |
This class is skipped when looking for the source of an assertion. |
| TestBase::$timeLimit |
property |
core/modules/simpletest/src/TestBase.php |
Time limit for the test. |
| TestBase::$translationFilesDirectory |
property |
core/modules/simpletest/src/TestBase.php |
The translation file directory for the test environment. |
| TestBase::$verbose |
property |
core/modules/simpletest/src/TestBase.php |
TRUE if verbose debugging is enabled. |
| TestBase::$verboseClassName |
property |
core/modules/simpletest/src/TestBase.php |
Safe class name for use in verbose output filenames. |
| TestBase::$verboseDirectory |
property |
core/modules/simpletest/src/TestBase.php |
Directory where verbose output files are put. |
| TestBase::$verboseDirectoryUrl |
property |
core/modules/simpletest/src/TestBase.php |
URL to the verbose output file directory. |
| TestBase::$verboseId |
property |
core/modules/simpletest/src/TestBase.php |
Incrementing identifier for verbose output filenames. |
| TestBase::assert |
function |
core/modules/simpletest/src/TestBase.php |
Internal helper: stores the assert. |
| TestBase::assertEqual |
function |
core/modules/simpletest/src/TestBase.php |
Check to see if two values are equal. |
| TestBase::assertErrorLogged |
function |
core/modules/simpletest/src/TestBase.php |
Asserts that a specific error has been logged to the PHP error log. |
| TestBase::assertFalse |
function |
core/modules/simpletest/src/TestBase.php |
Check to see if a value is false. |
| TestBase::assertIdentical |
function |
core/modules/simpletest/src/TestBase.php |
Check to see if two values are identical. |
| TestBase::assertIdenticalObject |
function |
core/modules/simpletest/src/TestBase.php |
Checks to see if two objects are identical. |
| TestBase::assertNoErrorsLogged |
function |
core/modules/simpletest/src/TestBase.php |
Asserts that no errors have been logged to the PHP error.log thus far. |
| TestBase::assertNotEqual |
function |
core/modules/simpletest/src/TestBase.php |
Check to see if two values are not equal. |
| TestBase::assertNotIdentical |
function |
core/modules/simpletest/src/TestBase.php |
Check to see if two values are not identical. |
| TestBase::assertNotNull |
function |
core/modules/simpletest/src/TestBase.php |
Check to see if a value is not NULL. |
| TestBase::assertNull |
function |
core/modules/simpletest/src/TestBase.php |
Check to see if a value is NULL. |
| TestBase::assertTrue |
function |
core/modules/simpletest/src/TestBase.php |
Check to see if a value is not false. |
| TestBase::beforePrepareEnvironment |
function |
core/modules/simpletest/src/TestBase.php |
Act on global state information before the environment is altered for a test. |
| TestBase::checkRequirements |
function |
core/modules/simpletest/src/TestBase.php |
Checks the matching requirements for Test. |
| TestBase::checkTestHierarchyMismatch |
function |
core/modules/simpletest/src/TestBase.php |
Fail the test if it belongs to a PHPUnit-based framework. |
| TestBase::config |
function |
core/modules/simpletest/src/TestBase.php |
Configuration accessor for tests. Returns non-overridden configuration. |
| TestBase::deleteAssert |
function |
core/modules/simpletest/src/TestBase.php |
Delete an assertion record by message ID. |
| TestBase::error |
function |
core/modules/simpletest/src/TestBase.php |
Fire an error assertion. |
| TestBase::errorHandler |
function |
core/modules/simpletest/src/TestBase.php |
Handle errors during test runs. |
| TestBase::exceptionHandler |
function |
core/modules/simpletest/src/TestBase.php |
Handle exceptions. |
| TestBase::fail |
function |
core/modules/simpletest/src/TestBase.php |
Fire an assertion that is always negative. |
| TestBase::filePreDeleteCallback |
function |
core/modules/simpletest/src/TestBase.php |
Ensures test files are deletable. |