function simpletest_process_phpunit_results
Inserts the parsed PHPUnit results into {simpletest}.
Parameters
array[] $phpunit_results: An array of test results returned from simpletest_phpunit_xml_to_rows().
Deprecated
in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Test\TestDatabase::processPhpUnitResults() instead.
See also
https://www.drupal.org/node/3075252
1 call to simpletest_process_phpunit_results()
- SimpletestDeprecationTest::testProcessPhpUnitResults in core/
modules/ simpletest/ tests/ src/ Kernel/ SimpletestDeprecationTest.php - @expectedDeprecation simpletest_process_phpunit_results() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Test\TestDatabase::processPhpUnitResults() instead. See https://www.drupal.org/node/3075252
File
-
core/
modules/ simpletest/ simpletest.module, line 218
Code
function simpletest_process_phpunit_results($phpunit_results) {
@trigger_error(__FUNCTION__ . '() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \\Drupal\\Core\\Test\\TestDatabase::processPhpUnitResults() instead. See https://www.drupal.org/node/3075252', E_USER_DEPRECATED);
TestDatabase::processPhpUnitResults($phpunit_results);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.