src/Runners/PHPUnit/SuiteLoader.php
protected function initSuites()
    {
        if (\is_array($this->suitesName)) {
            foreach ($this->suitesName as $suiteName) {
                $this->loadedSuites[$suiteName] = $this->createFullSuite($suiteName, $this->configuration->getPath());
            }
        } else {
            foreach ($this->files as $path) {
                try {
                    $parser = new Parser($path);
                    if ($class = $parser->getClass()) {
                        $this->loadedSuites[$path] = $this->createSuite($path, $class);
                    }
                } catch (NoClassInFileException $e) {
                    continue;
                }
            }
        }
    }
protected function initSuites()
    {
        if (\is_array($this->suitesName)) {
            foreach ($this->suitesName as $suiteName) {
                $this->loadedSuites[$suiteName] = $this->createFullSuite($suiteName, $this->configuration->getPath());
            }
        } else {
            foreach ($this->files as $path) {
                try {
                    $parser = new Parser($path);
                    if ($class = $parser->getClass()) {
                        $this->loadedSuites[$path] = $this->createSuite($path, $class);
                    }
                } catch (NoClassInFileException $e) {
                    continue;
                }
            }
        }
    }
protected function initSuites ( ) { if ( \ is_array ( $ this -> suitesName ) ) { foreach ( $ this -> suitesName as $ suiteName ) { $ this -> loadedSuites [ $ suiteName ] = $ this -> createFullSuite ( $ suiteName , $ this -> configuration -> getPath ( ) ) ; } } else { foreach ( $ this -> files as $ path ) { try { $ parser = new Parser ( $ path ) ; if ( $ class = $ parser -> getClass ( ) ) { $ this -> loadedSuites [ $ path ] = $ this -> createSuite ( $ path , $ class ) ; } } catch ( NoClassInFileException $ e ) { continue ; } } } }
Called after all files are loaded. Parses loaded files into
ExecutableTest objects - either Suite or TestMethod or FullSuite.
Called after all files are loaded . Parses loaded files into ExecutableTest objects - either Suite or TestMethod or FullSuite .