public function PHPUnit_Util_TestSuiteIterator::valid in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Util/TestSuiteIterator.php \PHPUnit_Util_TestSuiteIterator::valid()
Checks if there is a current element after calls to rewind() or next().
Return value
bool
1 call to PHPUnit_Util_TestSuiteIterator::valid()
- PHPUnit_Util_TestSuiteIterator::current in vendor/
phpunit/ phpunit/ src/ Util/ TestSuiteIterator.php - Returns the current element.
File
- vendor/
phpunit/ phpunit/ src/ Util/ TestSuiteIterator.php, line 49
Class
- PHPUnit_Util_TestSuiteIterator
- Iterator for test suites.
Code
public function valid() {
return $this->position < count($this->tests);
}