public function SimpleTestTest::getResultFieldSet in SimpleTest 8.3
Get the details containing the results for group this test is in.
1 call to SimpleTestTest::getResultFieldSet()
- SimpleTestTest::getTestResults in src/
Tests/ SimpleTestTest.php - Get the results from a test and store them in the class array $results.
File
- src/
Tests/ SimpleTestTest.php, line 353
Class
- SimpleTestTest
- Tests SimpleTest's web interface: check that the intended tests were run and ensure that test reports display the intended results. Also test SimpleTest's internal browser and APIs implicitly.
Namespace
Drupal\simpletest\TestsCode
public function getResultFieldSet() {
$all_details = $this
->xpath('//details');
foreach ($all_details as $details) {
if ($this
->asText($details->summary) == __CLASS__) {
return $details;
}
}
return FALSE;
}