org.springframework.roo.classpath.details.annotations.populator
Class AnnotationValuesTestCase<A,V extends AbstractAnnotationValues>
java.lang.Object
org.springframework.roo.classpath.details.annotations.populator.AnnotationValuesTestCase<A,V>
- Type Parameters:
A - the annotation typeV - the annotation values class
public abstract class AnnotationValuesTestCase<A,V extends AbstractAnnotationValues>
- extends Object
Convenience superclass for unit-testing subclasses of
AbstractAnnotationValues
- Since:
- 1.2.0
- Author:
- Andrew Swan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationValuesTestCase
public AnnotationValuesTestCase()
getAnnotationClass
protected abstract Class<A> getAnnotationClass()
- Subclasses must return the class of annotation whose value class is being
tested
- Returns:
- a non-
null annotation type
getValuesClass
protected abstract Class<V> getValuesClass()
- Subclasses must return the values class being tested
- Returns:
- a non-
null class
testAllAnnotationAttributesHaveAValueField
public void testAllAnnotationAttributesHaveAValueField()
Copyright © 2009–2015. All rights reserved.