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

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 ]

__construct   [line 91]

void __construct( mixed PHPUnit2_Framework_TestSuite$testSuite)

Constructor.
  • Access: public

[ Top ]


Documentation generated on Tue, 12 Sep 2006 09:38:06 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.