org.jtiger.framework
Interface FixtureResult

All Superinterfaces:
Iterable<TestResult>, Serializable

public interface FixtureResult
extends Iterable<TestResult>, Serializable

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

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

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

Method Detail

get

TestResult get(int index)
               throws IndexOutOfBoundsException
Returns the test case method result at the given index.

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

listIterator

ListIterator<TestResult> listIterator()
Returns a List iterator to iterate over the test case method results.

Returns:
A List iterator to iterate over the test case method results.

listIterator

ListIterator<TestResult> listIterator(int index)
                                      throws IndexOutOfBoundsException
Returns a List iterator to iterate over the test case method 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 test case method results from the given index.
Throws:
IndexOutOfBoundsException - If there isn't a test case method result to start iterating from at the given index.

size

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

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

toArray

TestResult[] toArray()
Returns the test case method results as an array. Modification to the array does not affect the underlying fixture result.

Returns:
The test case method results as an array.