PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Framework_TestSuiteIterator

Source Location: /PHPUnit2-3.0.0alpha11/Framework/TestSuiteIterator.php

Class Overview


Recursive iterator for TestSuite objects.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 68]
Recursive iterator for TestSuite objects.


[ Top ]


Method Detail

__construct (Constructor)   [line 91]

PHPUnit2_Framework_TestSuiteIterator __construct( PHPUnit2_Framework_TestSuite $testSuite)

Constructor.
  • Access: public

Parameters:

PHPUnit2_Framework_TestSuite   $testSuite   — 

[ Top ]

current   [line 131]

PHPUnit2_Framework_Test current( )

Return the current element.
  • Access: public

[ Top ]

getChildren   [line 162]

PHPUnit2_Framework_TestSuiteIterator getChildren( )

Returns the sub-iterator for the current element.
  • Access: public

[ Top ]

hasChildren   [line 151]

void hasChildren( )

Returns whether the current element has children.
  • Access: public

[ Top ]

key   [line 121]

integer key( )

Return the key of the current element.
  • Access: public

[ Top ]

next   [line 141]

void next( )

Move forward to next element.
  • Access: public

[ Top ]

rewind   [line 101]

void rewind( )

Rewind the Iterator to the first element.
  • Access: public

[ Top ]

valid   [line 111]

boolean valid( )

Check if there is a current element after calls to rewind() or next().
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.