| net.sf.retrotranslator.tests.AnnotationProcessingTestCase
AnnotationProcessingTestCase | final public class AnnotationProcessingTestCase extends TestCase (Code) | | A JUnit test class for JDK1.5 to JDK1.4 bytecode & annotation transformation
using Retrotranslator.
This testsuite introduces several annotations that can be useful in a JUnit
environment that makes use annotations like the upcoming JUnit 4 version will do.
Besides testing for positive and negative outcomes it provides several annotation
combination at the class and method level and uses different types for the
annotation members. Furthermore it checks if we can do something useful when
detecting annotations.
author: Klaus P. Berg |
Inner Class : @interface Author | |
Inner Class : @interface Duplicate | |
Inner Class : @interface Ignore | |
Inner Class : enum InvocationTypes | |
Inner Class : @interface TestingExternalAPI | |
Method Summary | |
public void | annotatedAllArgs(InvocationTypes type, String[] strArgs, int[] intArgs1, char[] charArgs1, boolean[] booleanArgs1) | public void | annotatedBooleanArgs(InvocationTypes type, boolean[] booleanArgs1) | public void | annotatedCharArgs(InvocationTypes type, char[] charArgs1) | public void | annotatedIntArgs(InvocationTypes type, int[] intArgs1) | public void | annotatedMethodWithDefaultDuplicate(InvocationTypes type) | public void | annotatedMixedArgs1(InvocationTypes type, String[] strArgs, int[] intArgs1) | public void | annotatedMixedArgs10(InvocationTypes type, int[] intArgs1, char[] charArgs1, boolean[] booleanArgs1) | public void | annotatedMixedArgs2(InvocationTypes type, String[] strArgs, char[] charArgs1) | public void | annotatedMixedArgs3(InvocationTypes type, String[] strArgs, boolean[] booleanArgs1) | public void | annotatedMixedArgs4(InvocationTypes type, int[] intArgs1, char[] charArgs1) | public void | annotatedMixedArgs5(InvocationTypes type, int[] intArgs1, boolean[] booleanArgs1) | public void | annotatedMixedArgs6(InvocationTypes type, char[] charArgs1, boolean[] booleanArgs1) | public void | annotatedMixedArgs7(InvocationTypes type, String[] strArgs, int[] intArgs1, char[] charArgs1) | public void | annotatedMixedArgs8(InvocationTypes type, String[] strArgs, int[] intArgs1, boolean[] booleanArgs1) | public void | annotatedMixedArgs9(InvocationTypes type, String[] strArgs, char[] charArgs1, boolean[] booleanArgs1) | public void | annotatedStringArgs(InvocationTypes type, String[] strArgs) | public void | testAuthorAnnotationAbsence() | public void | testAuthorAnnotationPresence() | public void | testAuthorAnnotationValues() | public void | testConstructor() | public void | testDuplicateAnnotationAbsence() | public void | testDuplicateAnnotationPresence() | public void | testIgnoreAnnotationAbsence() | public void | testIgnoreAnnotationPresence() | public void | testIgnoreAnnotationValues() | public void | testMethodsWithDuplicateAnnotation() | public void | testMultipleClassLevelAnnotations() | public void | testMultipleMethodLevelAnnotations() | public void | testTestingExternalAPIAnnotationAbsence() | public void | testTestingExternalAPIAnnotationPresence() | public void | testTestingExternalAPIAnnotationValues() | public void | testTestingExternalAPIAnnotationValuesForInnerClasses() | public void | testTotalNumberOfDifferentAnnotationsPerClass() | public void | testTotalNumberOfDifferentAnnotationsPerClass2() |
AnnotationProcessingTestCase | public AnnotationProcessingTestCase(String name)(Code) | | |
annotatedAllArgs | public void annotatedAllArgs(InvocationTypes type, String[] strArgs, int[] intArgs1, char[] charArgs1, boolean[] booleanArgs1)(Code) | | |
annotatedBooleanArgs | public void annotatedBooleanArgs(InvocationTypes type, boolean[] booleanArgs1)(Code) | | |
annotatedCharArgs | public void annotatedCharArgs(InvocationTypes type, char[] charArgs1)(Code) | | |
annotatedIntArgs | public void annotatedIntArgs(InvocationTypes type, int[] intArgs1)(Code) | | |
annotatedMethodWithDefaultDuplicate | public void annotatedMethodWithDefaultDuplicate(InvocationTypes type)(Code) | | |
annotatedMixedArgs1 | public void annotatedMixedArgs1(InvocationTypes type, String[] strArgs, int[] intArgs1)(Code) | | |
annotatedMixedArgs10 | public void annotatedMixedArgs10(InvocationTypes type, int[] intArgs1, char[] charArgs1, boolean[] booleanArgs1)(Code) | | |
annotatedMixedArgs2 | public void annotatedMixedArgs2(InvocationTypes type, String[] strArgs, char[] charArgs1)(Code) | | |
annotatedMixedArgs3 | public void annotatedMixedArgs3(InvocationTypes type, String[] strArgs, boolean[] booleanArgs1)(Code) | | |
annotatedMixedArgs4 | public void annotatedMixedArgs4(InvocationTypes type, int[] intArgs1, char[] charArgs1)(Code) | | |
annotatedMixedArgs5 | public void annotatedMixedArgs5(InvocationTypes type, int[] intArgs1, boolean[] booleanArgs1)(Code) | | |
annotatedMixedArgs6 | public void annotatedMixedArgs6(InvocationTypes type, char[] charArgs1, boolean[] booleanArgs1)(Code) | | |
annotatedMixedArgs7 | public void annotatedMixedArgs7(InvocationTypes type, String[] strArgs, int[] intArgs1, char[] charArgs1)(Code) | | |
annotatedMixedArgs8 | public void annotatedMixedArgs8(InvocationTypes type, String[] strArgs, int[] intArgs1, boolean[] booleanArgs1)(Code) | | |
annotatedMixedArgs9 | public void annotatedMixedArgs9(InvocationTypes type, String[] strArgs, char[] charArgs1, boolean[] booleanArgs1)(Code) | | |
annotatedStringArgs | public void annotatedStringArgs(InvocationTypes type, String[] strArgs)(Code) | | |
testAuthorAnnotationAbsence | public void testAuthorAnnotationAbsence()(Code) | | |
testAuthorAnnotationPresence | public void testAuthorAnnotationPresence()(Code) | | |
testAuthorAnnotationValues | public void testAuthorAnnotationValues()(Code) | | |
testConstructor | public void testConstructor()(Code) | | |
testDuplicateAnnotationAbsence | public void testDuplicateAnnotationAbsence()(Code) | | |
testDuplicateAnnotationPresence | public void testDuplicateAnnotationPresence()(Code) | | |
testIgnoreAnnotationAbsence | public void testIgnoreAnnotationAbsence()(Code) | | |
testIgnoreAnnotationPresence | public void testIgnoreAnnotationPresence()(Code) | | |
testIgnoreAnnotationValues | public void testIgnoreAnnotationValues()(Code) | | |
testMethodsWithDuplicateAnnotation | public void testMethodsWithDuplicateAnnotation() throws Exception(Code) | | |
testMultipleClassLevelAnnotations | public void testMultipleClassLevelAnnotations()(Code) | | |
testTestingExternalAPIAnnotationAbsence | public void testTestingExternalAPIAnnotationAbsence()(Code) | | |
testTestingExternalAPIAnnotationPresence | public void testTestingExternalAPIAnnotationPresence()(Code) | | |
testTestingExternalAPIAnnotationValues | public void testTestingExternalAPIAnnotationValues()(Code) | | |
testTestingExternalAPIAnnotationValuesForInnerClasses | public void testTestingExternalAPIAnnotationValuesForInnerClasses()(Code) | | |
testTotalNumberOfDifferentAnnotationsPerClass | public void testTotalNumberOfDifferentAnnotationsPerClass()(Code) | | |
testTotalNumberOfDifferentAnnotationsPerClass2 | public void testTotalNumberOfDifferentAnnotationsPerClass2()(Code) | | |
|
|