public abstract class AbstractI18nTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
ANNOTATION_NAMES |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractI18nTest(Class<?> i18nClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
shouldNotHaveProblems() |
protected void |
verifyI18nForAnnotation(Annotation annotation,
Object annotatedObject) |
protected void |
verifyI18nForAnnotationsOnObject(Object annotated)
Utility method that can be used to verify that an I18n field exists for all of the I18n-related annotations on the supplied
object.
|
protected static final String[] ANNOTATION_NAMES
protected AbstractI18nTest(Class<?> i18nClass)
public void shouldNotHaveProblems() throws Exception
Exceptionprotected void verifyI18nForAnnotationsOnObject(Object annotated) throws Exception
Description, Label, and Category.annotated - the object that has field or method annotationsException - if there is a problemprotected void verifyI18nForAnnotation(Annotation annotation, Object annotatedObject) throws Exception
ExceptionCopyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.