org.jboss.arquillian.test.spi
Class TestClass

java.lang.Object
  extended by org.jboss.arquillian.test.spi.TestClass

public class TestClass
extends Object

Wraps a class to be run, providing method validation and annotation searching.

Version:
$Revision: $
Author:
thomas.diesler@jboss.com

Constructor Summary
TestClass(Class<?> testClass)
           
 
Method Summary
<A extends Annotation>
A
getAnnotation(Class<A> annotation)
           
 Class<?> getJavaClass()
           
 Method getMethod(Class<? extends Annotation> annotation)
           
 Method[] getMethods(Class<? extends Annotation> annotation)
           
 String getName()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestClass

public TestClass(Class<?> testClass)
Method Detail

getJavaClass

public Class<?> getJavaClass()

getName

public String getName()

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> annotation)

getAnnotation

public <A extends Annotation> A getAnnotation(Class<A> annotation)

getMethod

public Method getMethod(Class<? extends Annotation> annotation)

getMethods

public Method[] getMethods(Class<? extends Annotation> annotation)


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.