\PHPUnit_Util_TestSuiteIterator

Iterator for test suites.

Synopsis

class PHPUnit_Util_TestSuiteIterator implements RecursiveIterator {
}

Hierarchy

Implements

Members

protected

  • $position — integer
  • $tests — array

Methods

public

  • __construct()
  • current() — Returns the current element.
  • getChildren() — Returns the sub iterator for the current element.
  • hasChildren() — Checks whether the current element has children.
  • key() — Returns the key of the current element.
  • rewind() — Rewinds the Iterator to the first element.
  • valid() — Checks if there is a current element after calls to rewind() or next().

History