android.test.suitebuilder
Class TestMethod

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

public class TestMethod
extends java.lang.Object


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

Constructor Detail

TestMethod

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

TestMethod

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

TestMethod

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

getName

public java.lang.String getName()

getEnclosingClassname

public java.lang.String getEnclosingClassname()

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)

getEnclosingClass

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

createTest

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008-2010. All Rights Reserved.