com.agimatec.annotations.jam
Class JAMTestAnnotatedElement
java.lang.Object
com.agimatec.annotations.jam.JAMTestAnnotatedElement
- Direct Known Subclasses:
- JAMTestClass, JAMTestMethod
public abstract class JAMTestAnnotatedElement
- extends Object
Description:
User: roman.stumm
Date: 08.06.2007
Time: 12:10:31
Copyright: Agimatec GmbH
JAMTestAnnotatedElement
public JAMTestAnnotatedElement()
getName
public abstract String getName()
getType
public abstract String getType()
getTypeJClass
public abstract org.codehaus.jam.JClass getTypeJClass()
getTestClass
public abstract JAMTestClass getTestClass()
getAnnotation
public JAMAnnotation getAnnotation(String anno)
element
protected abstract org.codehaus.jam.JAnnotatedElement element()
stringValue
protected String stringValue(String v,
String defaultValue)
getComment
public String getComment()
isCurrentlyActive
protected boolean isCurrentlyActive(JAMAnnotation ja)
getTestAnnotation
public JAMAnnotation getTestAnnotation()
- the first active Test annotation or null
- Returns:
getTestAnnotations
public JAMAnnotation[] getTestAnnotations()
- all active Test annotations or null
- Returns:
singleAnnotation
protected abstract String singleAnnotation()
multiAnnotation
protected abstract String multiAnnotation()
isTestCurrentlyActive
public boolean isTestCurrentlyActive()
toString
public String toString()
- Overrides:
toString in class Object
getType
public abstract String getType(String testPath)
findField
protected static org.codehaus.jam.JField findField(org.codehaus.jam.JField root,
String each)
findField
protected static org.codehaus.jam.JField findField(org.codehaus.jam.JClass rootCls,
String each)
Copyright © 2008-2012. All Rights Reserved.