Search for Unit
- Search 7.x for Unit
- Search 9.5.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 |
|---|---|---|---|
| SimpletestPhpunitRunCommandTest | class | core/ |
Tests simpletest_run_phpunit_tests() handles PHPunit fatals correctly. |
| SimpletestPhpunitRunCommandTest.php | file | core/ |
|
| SimpletestPhpunitRunCommandTest::$fixtureContainer | property | core/ |
A fixture container. |
| SimpletestPhpunitRunCommandTest::$root | property | core/ |
Path to the app root. |
| SimpletestPhpunitRunCommandTest::provideStatusCodes | function | core/ |
Data provider for testSimpletestPhpUnitRunCommand(). |
| SimpletestPhpunitRunCommandTest::setUp | function | core/ |
|
| SimpletestPhpunitRunCommandTest::setUpBeforeClass | function | core/ |
|
| SimpletestPhpunitRunCommandTest::tearDown | function | core/ |
|
| SimpletestPhpunitRunCommandTest::testSimpletestPhpUnitRunCommand | function | core/ |
Test the round trip for PHPUnit execution status codes. |
| SimpletestPhpunitRunCommandTestWillDie | class | core/ |
This test crashes PHP. |
| SimpletestPhpunitRunCommandTestWillDie::testWillDie | function | core/ |
Performs the status specified by SimpletestPhpunitRunCommandTestWillDie. |
| simpletest_phpunit_browsertest.php | file | core/ |
|
| simpletest_phpunit_command | function | core/ |
Returns the command to run PHPUnit. |
| simpletest_phpunit_configuration_filepath | function | core/ |
Returns the path to core's phpunit.xml.dist configuration file. |
| simpletest_phpunit_find_testcases | function | core/ |
Finds all test cases recursively from a test suite list. |
| simpletest_phpunit_run_command | function | core/ |
Executes the PHPUnit command. |
| simpletest_phpunit_run_command_test.php | file | core/ |
|
| simpletest_phpunit_testcase_to_row | function | core/ |
Converts a PHPUnit test case result to a {simpletest} result row. |
| simpletest_phpunit_xml_filepath | function | core/ |
Returns the path to use for PHPUnit's --log-junit option. |
| simpletest_phpunit_xml_to_rows | function | core/ |
Converts PHPUnit's JUnit XML output to an array. |
| simpletest_process_phpunit_results | function | core/ |
Inserts the parsed PHPUnit results into {simpletest}. |
| simpletest_run_phpunit_tests | function | core/ |
Executes PHPUnit tests and returns the results of the run. |
| simpletest_summarize_phpunit_result | function | core/ |
Maps phpunit results to a data structure for batch messages and run-tests.sh. |
| StyleTableUnitTest | class | core/ |
Tests the table style plugin. |
| StyleTableUnitTest.php | file | core/ |
|
| StyleTableUnitTest::$testViews | property | core/ |
Views used by this test. |
| StyleTableUnitTest::prepareView | function | core/ |
Prepares a view executable by initializing everything which is needed. |
| StyleTableUnitTest::testTable | function | core/ |
Tests the table style. |
| TestDatabase::processPhpUnitResults | function | core/ |
Inserts the parsed PHPUnit results into {simpletest}. |
| TestDiscovery::getPhpunitTestSuite | function | core/ |
Determines the phpunit testsuite for a given classname, based on namespace. |
| TestDiscoveryTest::providerTestGetPhpunitTestSuite | function | core/ |
|
| TestDiscoveryTest::testGetPhpunitTestSuite | function | core/ |
@covers ::getPhpunitTestSuite[[api-linebreak]] @dataProvider providerTestGetPhpunitTestSuite |
| UiPhpUnitOutputTest | class | core/ |
Test PHPUnit output for the Simpletest UI. |
| UiPhpUnitOutputTest.php | file | core/ |
|
| UiPhpUnitOutputTest::$modules | property | core/ |
Modules to enable. |
| UiPhpUnitOutputTest::testOutput | function | core/ |
Tests that PHPUnit output in the Simpletest UI looks good. |
| UnitTestCase | class | core/ |
Provides a base class and helpers for Drupal unit tests. |
| UnitTestCase.php | file | core/ |
|
| UnitTestCase::$randomGenerator | property | core/ |
The random generator. |
| UnitTestCase::$root | property | core/ |
The app root. |
| UnitTestCase::assertArrayEquals | function | core/ |
Asserts if two arrays are equal by sorting them first. |
| UnitTestCase::getBlockMockWithMachineName | function | core/ |
Mocks a block with a block plugin. |
| UnitTestCase::getClassResolverStub | function | core/ |
Returns a stub class resolver. |
| UnitTestCase::getConfigFactoryStub | function | core/ |
Returns a stub config factory that behaves according to the passed array. |
| UnitTestCase::getConfigStorageStub | function | core/ |
Returns a stub config storage that returns the supplied configuration. |
| UnitTestCase::getContainerWithCacheTagsInvalidator | function | core/ |
Sets up a container with a cache tags invalidator. |
| UnitTestCase::getRandomGenerator | function | core/ |
Gets the random generator for the utility methods. |
| UnitTestCase::getStringTranslationStub | function | core/ |
Returns a stub translation manager that just returns the passed string. |
| UnitTestCase::randomMachineName | function | core/ |
Generates a unique random string containing letters and numbers. |
| UnitTestCase::setUp | function | core/ |
Pagination
- Previous page
- Page 13
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.