android.test.suitebuilder
Class TestMethod
java.lang.Object
android.test.suitebuilder.TestMethod
public class TestMethod
- extends Object
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)
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-2012. All Rights Reserved.