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)
           
 Throwable buildException(ClassLoader testClassLoader)
           
 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 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.