TestSuiteIterator
class TestSuiteIterator implements RecursiveIterator (View source)
Iterator for test suites.
Properties
| protected int | $position | ||
| protected Test[] | $tests | 
Methods
                    rewind()
        
                                            
                
            Rewinds the Iterator to the first element.
                    bool
                
                
                    valid()
        
                                            
                
            Checks if there is a current element after calls to rewind() or next().
                    int
                
                
                    key()
        
                                            
                
            Returns the key of the current element.
                    next()
        
                                            
                
            Moves forward to next element.
                    getChildren()
        
                                            
                
            Returns the sub iterator for the current element.
                    bool
                
                
                    hasChildren()
        
                                            
                
            Checks whether the current element has children.
Details
        at         line 40
                            
    rewind()
        
    
    Rewinds the Iterator to the first element.
        at         line 50
                            bool
    valid()
        
    
    Checks if there is a current element after calls to rewind() or next().
        at         line 60
                            int
    key()
        
    
    Returns the key of the current element.
        at         line 78
                            
    next()
        
    
    Moves forward to next element.
        at         line 88
                            TestSuiteIterator
    getChildren()
        
    
    Returns the sub iterator for the current element.
        at         line 100
                            bool
    hasChildren()
        
    
    Checks whether the current element has children.