org.jtiger.framework
Interface FixtureResults

All Superinterfaces:
Iterable<FixtureResult>, Serializable

public interface FixtureResults
extends Iterable<FixtureResult>, Serializable

Represents the fixture results of the execution of all the test case methods in a test fixture class. i.e. zero or many sequentially ordered instances of FixtureResult.

Version:
2.1
Build Number 0376
Build Time 2006-07-28 01:50.16.218 CET (GMT + 1)
Author:
Tony Morris
See Also:
FixtureResult, FixturesRunner

Method Summary
 FixtureResult get(int index)
          Returns the fixture result at the given index.
 ListIterator<FixtureResult> listIterator()
          Returns a List iterator to iterate over the fixture results.
 ListIterator<FixtureResult> listIterator(int index)
          Returns a List iterator to iterate over the fixture results from the given index.
 int size()
          Returns the number of fixture results that the fixture result contains.
 FixtureResult[] toArray()
          Returns the fixture results as an array.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

get

FixtureResult get(int index)
                  throws IndexOutOfBoundsException
Returns the fixture result at the given index.

Parameters:
index - The index of the fixture result to return.
Returns:
The fixture result at the given index.
Throws:
IndexOutOfBoundsException - If there isn't a fixture result at the given index.

listIterator

ListIterator<FixtureResult> listIterator()
Returns a List iterator to iterate over the fixture results.

Returns:
A List iterator to iterate over the fixture results.

listIterator

ListIterator<FixtureResult> listIterator(int index)
                                         throws IndexOutOfBoundsException
Returns a List iterator to iterate over the fixture results from the given index.

Parameters:
index - The index from which to obtain a List iterator for.
Returns:
A List iterator to iterate over the fixture results from the given index.
Throws:
IndexOutOfBoundsException - If there isn't a fixture result to start iterating from at the given index.

size

int size()
Returns the number of fixture results that the fixture result contains.

Returns:
The number of fixture results that the fixture result contains.

toArray

FixtureResult[] toArray()
Returns the fixture results as an array. Modification to the array does not affect the underlying fixtures result.

Returns:
The fixture results as an array.