Search for Unit
- Search 7.x for Unit
- Search 8.9.x for Unit
- Search 10.3.x for Unit
- Search 11.x for Unit
- Search main for Unit
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| PhpUnitCliTest | class | core/ |
@group TestSuites @group Test |
| PhpUnitCliTest.php | file | core/ |
|
| PhpUnitCliTest::testPhpUnitListTests | function | core/ |
Ensure that the test suites are able to discover tests without incident. |
| PhpUnitCompatibilityTrait.php | file | core/ |
|
| PhpUnitTestDummyClass | class | core/ |
|
| PhpUnitTestDummyClass.php | file | core/ |
|
| PhpUnitTestRunner | class | core/ |
Run PHPUnit-based tests. |
| PhpUnitTestRunner.php | file | core/ |
|
| PhpUnitTestRunner::$appRoot | property | core/ |
Path to the application root. |
| PhpUnitTestRunner::$workingDirectory | property | core/ |
Path to the working directory. |
| PhpUnitTestRunner::create | function | core/ |
Instantiates a new instance of this class. |
| PhpUnitTestRunner::phpUnitCommand | function | core/ |
Returns the command to run PHPUnit. |
| PhpUnitTestRunner::runCommand | function | core/ |
Executes the PHPUnit command. |
| PhpUnitTestRunner::runTests | function | core/ |
Executes PHPUnit tests and returns the results of the run. |
| PhpUnitTestRunner::summarizeResults | function | core/ |
Tallies test results per test class. |
| PhpUnitTestRunner::xmlLogFilePath | function | core/ |
Returns the path to use for PHPUnit's --log-junit option. |
| PhpUnitTestRunner::__construct | function | core/ |
Constructs a test runner. |
| PhpUnitTestRunnerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Test\PhpUnitTestRunner[[api-linebreak]] @group Test |
| PhpUnitTestRunnerTest.php | file | core/ |
|
| PhpUnitTestRunnerTest::providerTestSummarizeResults | function | core/ |
|
| PhpUnitTestRunnerTest::testPhpUnitCommand | function | core/ |
@covers ::phpUnitCommand[[api-linebreak]] |
| PhpUnitTestRunnerTest::testRunTestsError | function | core/ |
Tests an error in the test running phase. |
| PhpUnitTestRunnerTest::testSummarizeResults | function | core/ |
@dataProvider providerTestSummarizeResults @covers ::summarizeResults[[api-linebreak]] |
| PhpUnitTestRunnerTest::testXmlLogFilePath | function | core/ |
@covers ::xmlLogFilePath[[api-linebreak]] |
| PhpUnitWarnings | trait | core/ |
Converts deprecation warnings added by PHPUnit to silenced deprecations. |
| PhpUnitWarnings.php | file | core/ |
|
| PhpUnitWarnings::$deprecationWarnings | property | core/ |
Deprecation warnings from PHPUnit to raise with @trigger_error(). |
| PhpUnitWarnings::addWarning | function | core/ |
Converts PHPUnit deprecation warnings to E_USER_DEPRECATED. |
| PhpUnitWarningsTest | class | core/ |
@coversDefaultClass \Drupal\Tests\Traits\PhpUnitWarnings[[api-linebreak]] @group legacy |
| PhpUnitWarningsTest.php | file | core/ |
|
| PhpUnitWarningsTest::testAddWarning | function | core/ |
Tests that selected PHPUnit warning is converted to deprecation. |
| PhpUnitWarningsTest::testAssertArraySubset | function | core/ |
Tests assertArraySubset. |
| PhpUnitWarningsTest::testAssertAttribute | function | core/ |
Tests assertion methods accessing class attributes. |
| PhpUnitWarningsTest::testAssertContains | function | core/ |
Tests assertContains. |
| PhpUnitWarningsTest::testAssertEquals | function | core/ |
Tests assertEquals. |
| PhpUnitWarningsTest::testAssertInternalType | function | core/ |
Tests assertInternalType. |
| PhpUnitWarningsTest::testAssertNotContains | function | core/ |
Tests assertNotContains. |
| PhpUnitWarningsTest::testExpectExceptionMessageRegExp | function | core/ |
Tests expectExceptionMessageRegExp. |
| phpunit_test.info.yml | file | core/ |
core/modules/system/tests/modules/phpunit_test/phpunit_test.info.yml |
| PrivateMethodUnitTestTrait | trait | core/ |
Provides methods to test protected/private methods in unit tests. |
| PrivateMethodUnitTestTrait.php | file | core/ |
|
| PrivateMethodUnitTestTrait::getMethod | function | core/ |
Gets a protected/private method to test. |
| RdfMappingConfigEntityUnitTest | class | core/ |
@coversDefaultClass \Drupal\rdf\Entity\RdfMapping[[api-linebreak]] @group rdf @group legacy |
| RdfMappingConfigEntityUnitTest.php | file | core/ |
|
| RdfMappingConfigEntityUnitTest::$entityType | property | core/ |
The entity type used for testing. |
| RdfMappingConfigEntityUnitTest::$entityTypeId | property | core/ |
The ID of the type of the entity under test. |
| RdfMappingConfigEntityUnitTest::$entityTypeManager | property | core/ |
The entity type manager used for testing. |
| RdfMappingConfigEntityUnitTest::$uuid | property | core/ |
The UUID generator used for testing. |
| RdfMappingConfigEntityUnitTest::setUp | function | core/ |
|
| RdfMappingConfigEntityUnitTest::testCalculateDependencies | function | core/ |
@covers ::calculateDependencies[[api-linebreak]] |
Pagination
- Previous page
- Page 11
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.