org.stjs.testing.driver
Class TestResultCollection
java.lang.Object
org.stjs.testing.driver.TestResultCollection
public class TestResultCollection
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestResultCollection
public TestResultCollection(String testClassName,
String testMethodName)
addResult
public void addResult(TestResult result)
isOk
public boolean isOk()
getResult
public TestResult getResult(int i)
size
public int size()
buildException
public Throwable buildException(ClassLoader testClassLoader)
- Parameters:
className - methodName - testClassLoader - - the classloader that "knows" about all the resources involved in the test. See
WebAppClassLoader
- Returns:
- the exception for the first wrong result
getTestClassName
public String getTestClassName()
getTestMethodName
public String getTestMethodName()
Copyright © 2013. All Rights Reserved.