org.stjs.testing.driver
Class TestResultCollection

java.lang.Object
  extended by org.stjs.testing.driver.TestResultCollection

public class TestResultCollection
extends Object


Constructor Summary
TestResultCollection(String testClassName, String testMethodName)
           
 
Method Summary
 void addResult(TestResult result)
           
 AssertionError buildException(String className, String methodName)
           
 TestResult getResult(int i)
           
 String getTestClassName()
           
 String getTestMethodName()
           
 boolean isOk()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResultCollection

public TestResultCollection(String testClassName,
                            String testMethodName)
Method Detail

addResult

public void addResult(TestResult result)

isOk

public boolean isOk()

getResult

public TestResult getResult(int i)

size

public int size()

buildException

public AssertionError buildException(String className,
                                     String methodName)
Parameters:
className -
methodName -
Returns:
the exception for the first wrong result

getTestClassName

public String getTestClassName()

getTestMethodName

public String getTestMethodName()


Copyright © 2012. All Rights Reserved.