src/Logging/JUnit/Reader.php
protected function initSuiteFromCases(array $nodeArray)
    {
        $testCases = [];
        $properties = $this->caseNodesToSuiteProperties($nodeArray, $testCases);
        if (!$this->isSingle) {
            $this->addSuite($properties, $testCases);
        } else {
            $this->suites[0]->cases = $testCases;
        }
    }
protected function initSuiteFromCases(array $nodeArray)
    {
        $testCases = [];
        $properties = $this->caseNodesToSuiteProperties($nodeArray, $testCases);
        if (!$this->isSingle) {
            $this->addSuite($properties, $testCases);
        } else {
            $this->suites[0]->cases = $testCases;
        }
    }
protected function initSuiteFromCases ( array $ nodeArray ) { $ testCases = [ ] ; $ properties = $ this -> caseNodesToSuiteProperties ( $ nodeArray , $ testCases ) ; if ( ! $ this -> isSingle ) { $ this -> addSuite ( $ properties , $ testCases ) ; } else { $ this -> suites [ 0 ] -> cases = $ testCases ; } }
Uses an array of testcase nodes to build a suite.

@param array $nodeArray an array of SimpleXMLElement nodes representing testcase elements
Uses an array of testcase nodes to build a suite .