Java Doc for AnnotationProcessingTestCase.java in  » Development » Retrotranslator » net » sf » retrotranslator » tests » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Development » Retrotranslator » net.sf.retrotranslator.tests 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Constructor Summary
public  AnnotationProcessingTestCase(String name)
    

Method Summary
public  voidannotatedAllArgs(InvocationTypes type, String[] strArgs, int[] intArgs1, char[] charArgs1, boolean[] booleanArgs1)
    
public  voidannotatedBooleanArgs(InvocationTypes type, boolean[] booleanArgs1)
    
public  voidannotatedCharArgs(InvocationTypes type, char[] charArgs1)
    
public  voidannotatedIntArgs(InvocationTypes type, int[] intArgs1)
    
public  voidannotatedMethodWithDefaultDuplicate(InvocationTypes type)
    
public  voidannotatedMixedArgs1(InvocationTypes type, String[] strArgs, int[] intArgs1)
    
public  voidannotatedMixedArgs10(InvocationTypes type, int[] intArgs1, char[] charArgs1, boolean[] booleanArgs1)
    
public  voidannotatedMixedArgs2(InvocationTypes type, String[] strArgs, char[] charArgs1)
    
public  voidannotatedMixedArgs3(InvocationTypes type, String[] strArgs, boolean[] booleanArgs1)
    
public  voidannotatedMixedArgs4(InvocationTypes type, int[] intArgs1, char[] charArgs1)
    
public  voidannotatedMixedArgs5(InvocationTypes type, int[] intArgs1, boolean[] booleanArgs1)
    
public  voidannotatedMixedArgs6(InvocationTypes type, char[] charArgs1, boolean[] booleanArgs1)
    
public  voidannotatedMixedArgs7(InvocationTypes type, String[] strArgs, int[] intArgs1, char[] charArgs1)
    
public  voidannotatedMixedArgs8(InvocationTypes type, String[] strArgs, int[] intArgs1, boolean[] booleanArgs1)
    
public  voidannotatedMixedArgs9(InvocationTypes type, String[] strArgs, char[] charArgs1, boolean[] booleanArgs1)
    
public  voidannotatedStringArgs(InvocationTypes type, String[] strArgs)
    
public  voidtestAuthorAnnotationAbsence()
    
public  voidtestAuthorAnnotationPresence()
    
public  voidtestAuthorAnnotationValues()
    
public  voidtestConstructor()
    
public  voidtestDuplicateAnnotationAbsence()
    
public  voidtestDuplicateAnnotationPresence()
    
public  voidtestIgnoreAnnotationAbsence()
    
public  voidtestIgnoreAnnotationPresence()
    
public  voidtestIgnoreAnnotationValues()
    
public  voidtestMethodsWithDuplicateAnnotation()
    
public  voidtestMultipleClassLevelAnnotations()
    
public  voidtestMultipleMethodLevelAnnotations()
    
public  voidtestTestingExternalAPIAnnotationAbsence()
    
public  voidtestTestingExternalAPIAnnotationPresence()
    
public  voidtestTestingExternalAPIAnnotationValues()
    
public  voidtestTestingExternalAPIAnnotationValuesForInnerClasses()
    
public  voidtestTotalNumberOfDifferentAnnotationsPerClass()
    
public  voidtestTotalNumberOfDifferentAnnotationsPerClass2()
    


Constructor Detail
AnnotationProcessingTestCase
public AnnotationProcessingTestCase(String name)(Code)




Method Detail
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)



testMultipleMethodLevelAnnotations
public void testMultipleMethodLevelAnnotations() throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException(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)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.