android.test.suitebuilder
Class TestMethod

java.lang.Object
  extended by android.test.suitebuilder.TestMethod

public class TestMethod
extends Object


Constructor Summary
TestMethod(Method method, Class<? extends junit.framework.TestCase> enclosingClass)
           
TestMethod(String methodName, Class<? extends junit.framework.TestCase> enclosingClass)
           
TestMethod(junit.framework.TestCase testCase)
           
 
Method Summary
 junit.framework.TestCase createTest()
           
 boolean equals(Object o)
           
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 Class<? extends junit.framework.TestCase> getEnclosingClass()
           
 String getEnclosingClassname()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestMethod

public TestMethod(Method method,
                  Class<? extends junit.framework.TestCase> enclosingClass)

TestMethod

public TestMethod(String methodName,
                  Class<? extends junit.framework.TestCase> enclosingClass)

TestMethod

public TestMethod(junit.framework.TestCase testCase)
Method Detail

getName

public String getName()

getEnclosingClassname

public String getEnclosingClassname()

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationClass)

getEnclosingClass

public Class<? extends junit.framework.TestCase> getEnclosingClass()

createTest

public junit.framework.TestCase createTest()
                                    throws InvocationTargetException,
                                           IllegalAccessException,
                                           InstantiationException
Throws:
InvocationTargetException
IllegalAccessException
InstantiationException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011. All Rights Reserved.