Java Doc for InternalClassTransformationImplTest.java in  » Web-Framework » Tapestry » org » apache » tapestry » internal » services » 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 » Web Framework » Tapestry » org.apache.tapestry.internal.services 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.tapestry.internal.test.InternalBaseTestCase
   org.apache.tapestry.internal.services.InternalClassTransformationImplTest

InternalClassTransformationImplTest
public class InternalClassTransformationImplTest extends InternalBaseTestCase (Code)
The tests share a number of resources, and so are run sequentially.




Method Summary
public  voidadd_injected_field()
    
public  voidadd_injected_field_from_parent_transformation()
    
public  voidadd_interface_to_class()
    
public  voidadd_to_constructor()
    
public  voidadded_fields_are_not_listed_as_unclaimed_fields()
    
public  voidclaim_fields()
    
public  voidcleanup_access()
    
public  voidensure_javassist_does_not_show_extended_interface_methods_on_interface()
    
public  voidensure_javassist_does_not_show_interface_methods_on_abstract_class()
    
public  voidensure_javassist_still_does_not_show_inherited_interfaces()
     These tests are really to assert my understanding of Javassist's API.
public  voidensure_subclasses_inherit_parent_class_annotations()
     More a test of how Javassist works.
public  voidfield_does_not_contain_requested_annotation()
    
public  voidfind_annotation_in_method()
    
public  voidfind_annotation_in_unknown_method()
    
public  voidfind_annotation_on_unknown_field()
    
public  voidfind_class_annotations()
    
public  voidfind_field_annotation()
    
public  voidfind_fields_of_type()
    
public  voidfind_fields_of_type_excludes_claimed_fields()
    
public  voidfind_fields_with_annotation()
    
public  voidfind_fields_with_annotation_excludes_claimed_files()
    
public  voidfind_methods_using_filter()
    
public  voidfind_methods_with_annotation()
    
public  voidget_field_exists()
    
public  voidget_field_modifiers()
    
public  voidget_method_identifier()
    
public  voidinject_field()
    
public  voidmake_field_read_only()
    
public  voidnew_member_name()
    
public  voidnew_member_name_with_prefix()
    
public  voidno_fields_contain_requested_annotation()
    
public  voidnon_private_fields_log_an_error()
    
public  voidoverride_field_read_and_write()
     Tests the basic functionality of overriding read and write; also tests the case for multiple field read/field write substitions.
public  voidremove_field()
    
public  voidremoved_fields_should_not_show_up_as_unclaimed()
    
public  voidsetup_access()
    
public  voidsetup_classpool()
     We need a new ClassPool for each individual test, since many of the tests will end up modifying one or more CtClass instances.
public  voidto_class_with_object_type()
    
public  voidto_class_with_primitive_type()
    
public  voidwrong_instance_type_passed_to_create_instantiator()
    



Method Detail
add_injected_field
public void add_injected_field() throws Exception(Code)



add_injected_field_from_parent_transformation
public void add_injected_field_from_parent_transformation() throws Exception(Code)



add_interface_to_class
public void add_interface_to_class() throws Exception(Code)



add_to_constructor
public void add_to_constructor() throws Exception(Code)



added_fields_are_not_listed_as_unclaimed_fields
public void added_fields_are_not_listed_as_unclaimed_fields() throws Exception(Code)



claim_fields
public void claim_fields() throws Exception(Code)



cleanup_access
public void cleanup_access()(Code)



ensure_javassist_does_not_show_extended_interface_methods_on_interface
public void ensure_javassist_does_not_show_extended_interface_methods_on_interface() throws Exception(Code)



ensure_javassist_does_not_show_interface_methods_on_abstract_class
public void ensure_javassist_does_not_show_interface_methods_on_abstract_class() throws Exception(Code)



ensure_javassist_still_does_not_show_inherited_interfaces
public void ensure_javassist_still_does_not_show_inherited_interfaces() throws Exception(Code)
These tests are really to assert my understanding of Javassist's API. I guess we should keep them around to make sure that future versions of Javassist work the same as our expectations.



ensure_subclasses_inherit_parent_class_annotations
public void ensure_subclasses_inherit_parent_class_annotations() throws Exception(Code)
More a test of how Javassist works. Javassist does not honor the Inherited annotation for classes (this kind of makes sense, since it won't necessarily have the super-class in memory).



field_does_not_contain_requested_annotation
public void field_does_not_contain_requested_annotation() throws Exception(Code)



find_annotation_in_method
public void find_annotation_in_method() throws Exception(Code)



find_annotation_in_unknown_method
public void find_annotation_in_unknown_method() throws Exception(Code)



find_annotation_on_unknown_field
public void find_annotation_on_unknown_field() throws Exception(Code)



find_class_annotations
public void find_class_annotations() throws Exception(Code)



find_field_annotation
public void find_field_annotation() throws Exception(Code)



find_fields_of_type
public void find_fields_of_type() throws Exception(Code)



find_fields_of_type_excludes_claimed_fields
public void find_fields_of_type_excludes_claimed_fields() throws Exception(Code)



find_fields_with_annotation
public void find_fields_with_annotation() throws Exception(Code)



find_fields_with_annotation_excludes_claimed_files
public void find_fields_with_annotation_excludes_claimed_files() throws Exception(Code)



find_methods_using_filter
public void find_methods_using_filter() throws Exception(Code)



find_methods_with_annotation
public void find_methods_with_annotation() throws Exception(Code)



get_field_exists
public void get_field_exists() throws Exception(Code)



get_field_modifiers
public void get_field_modifiers() throws Exception(Code)



get_method_identifier
public void get_method_identifier() throws Exception(Code)



inject_field
public void inject_field() throws Exception(Code)



make_field_read_only
public void make_field_read_only() throws Exception(Code)



new_member_name
public void new_member_name() throws Exception(Code)



new_member_name_with_prefix
public void new_member_name_with_prefix() throws Exception(Code)



no_fields_contain_requested_annotation
public void no_fields_contain_requested_annotation() throws Exception(Code)



non_private_fields_log_an_error
public void non_private_fields_log_an_error() throws Exception(Code)



override_field_read_and_write
public void override_field_read_and_write() throws Exception(Code)
Tests the basic functionality of overriding read and write; also tests the case for multiple field read/field write substitions.



remove_field
public void remove_field() throws Exception(Code)



removed_fields_should_not_show_up_as_unclaimed
public void removed_fields_should_not_show_up_as_unclaimed() throws Exception(Code)



setup_access
public void setup_access()(Code)



setup_classpool
public void setup_classpool()(Code)
We need a new ClassPool for each individual test, since many of the tests will end up modifying one or more CtClass instances.



to_class_with_object_type
public void to_class_with_object_type() throws Exception(Code)



to_class_with_primitive_type
public void to_class_with_primitive_type() throws Exception(Code)



wrong_instance_type_passed_to_create_instantiator
public void wrong_instance_type_passed_to_create_instantiator() throws Exception(Code)



Methods inherited from org.apache.tapestry.internal.test.InternalBaseTestCase
final public T autobuild(Class<T> clazz)(Code)(Java Doc)
final public void cleanupThread()(Code)(Java Doc)
public void eagerLoadServices()(Code)(Java Doc)
final public T getObject(Class<T> objectType, AnnotationProvider annotationProvider)(Code)(Java Doc)
final public T getService(Class<T> serviceInterface)(Code)(Java Doc)
final public T getService(String serviceId, Class<T> serviceInterface)(Code)(Java Doc)
final protected ComponentInstantiatorSource mockComponentInstantiatorSource()(Code)(Java Doc)
final protected ComponentInvocationMap mockComponentInvocationMap()(Code)(Java Doc)
final protected ComponentPageElement mockComponentPageElement()(Code)(Java Doc)
final protected ComponentTemplate mockComponentTemplate()(Code)(Java Doc)
final protected ComponentTemplateSource mockComponentTemplateSource()(Code)(Java Doc)
final protected DocumentScriptBuilder mockDocumentScriptBuilder()(Code)(Java Doc)
final protected EmbeddedComponentModel mockEmbeddedComponentModel()(Code)(Java Doc)
final protected Instantiator mockInstantiator(Component component)(Code)(Java Doc)
final protected InternalComponentResources mockInternalComponentResources()(Code)(Java Doc)
final protected InvalidationListener mockInvalidationListener()(Code)(Java Doc)
final protected LinkFactory mockLinkFactory()(Code)(Java Doc)
final protected LinkFactoryListener mockLinkFactoryListener()(Code)(Java Doc)
final protected Page mockPage()(Code)(Java Doc)
final protected PageElement mockPageElement()(Code)(Java Doc)
final protected PageElementFactory mockPageElementFactory()(Code)(Java Doc)
final protected PageLoader mockPageLoader()(Code)(Java Doc)
final protected PagePool mockPagePool()(Code)(Java Doc)
final protected PageResponseRenderer mockPageResponseRenderer()(Code)(Java Doc)
final protected PageTemplateLocator mockPageTemplateLocator()(Code)(Java Doc)
protected RenderQueue mockRenderQueue()(Code)(Java Doc)
final protected RequestPageCache mockRequestPageCache()(Code)(Java Doc)
final protected ResourceCache mockResourceCache()(Code)(Java Doc)
final protected ResourceStreamer mockResourceStreamer()(Code)(Java Doc)
final protected TemplateParser mockTemplateParser()(Code)(Java Doc)
final protected String readFile(String file, boolean trim) throws Exception(Code)(Java Doc)
final public void setup_registry()(Code)(Java Doc)
final public void shutdown()(Code)(Java Doc)
final public void shutdown_registry()(Code)(Java Doc)
final protected void stub_isPageName(ComponentClassResolver resolver, boolean result)(Code)(Java Doc)
final protected void train_canonicalizePageName(ComponentClassResolver resolver, String pageName, String canonicalized)(Code)(Java Doc)
final protected void train_createPageLink(LinkFactory factory, Page page, Link link)(Code)(Java Doc)
final protected void train_detached(Page page, boolean dirty)(Code)(Java Doc)
final protected void train_findPageTemplateResource(PageTemplateLocator locator, ComponentModel model, Locale locale, Resource resource)(Code)(Java Doc)
final protected void train_get(RequestPageCache cache, String pageName, Page page)(Code)(Java Doc)
final protected void train_getComponent(ComponentPageElement element, Component component)(Code)(Java Doc)
final protected void train_getComponentClassName(EmbeddedComponentModel model, String className)(Code)(Java Doc)
final protected void train_getComponentElementByNestedId(Page page, String nestedId, ComponentPageElement element)(Code)(Java Doc)
final protected void train_getComponentIds(ComponentTemplate template, String... ids)(Code)(Java Doc)
final protected void train_getComponentModel(ComponentResources resources, ComponentModel model)(Code)(Java Doc)
final protected void train_getComponentResources(ComponentPageElement element, InternalComponentResources resources)(Code)(Java Doc)
final protected void train_getComponentType(EmbeddedComponentModel emodel, String componentType)(Code)(Java Doc)
final protected void train_getContainingPage(ComponentPageElement element, Page page)(Code)(Java Doc)
final protected void train_getContextPath(Request request, String contextPath)(Code)(Java Doc)
final protected void train_getEmbeddedComponentModel(ComponentModel model, String embeddedId, EmbeddedComponentModel emodel)(Code)(Java Doc)
final protected void train_getEmbeddedIds(ComponentModel model, String... ids)(Code)(Java Doc)
final protected void train_getId(ComponentResourcesCommon resources, String id)(Code)(Java Doc)
final protected void train_getLocale(Page page, Locale locale)(Code)(Java Doc)
final protected void train_getLog(ComponentModel model, Log log)(Code)(Java Doc)
final protected void train_getLogicalName(Page page, String logicalName)(Code)(Java Doc)
final protected void train_getMixinClassNames(EmbeddedComponentModel model, String... names)(Code)(Java Doc)
final protected void train_getModel(Instantiator ins, ComponentModel model)(Code)(Java Doc)
final protected void train_getNestedId(ComponentResourcesCommon resources, String nestedId)(Code)(Java Doc)
final protected void train_getParameterNames(EmbeddedComponentModel model, String... names)(Code)(Java Doc)
final protected void train_getRootComponent(Page page, Component component)(Code)(Java Doc)
final protected void train_getRootElement(Page page, ComponentPageElement element)(Code)(Java Doc)
final protected void train_getService(InternalRegistry registry, String serviceId, Class<T> serviceInterface, T service)(Code)(Java Doc)
protected void train_getTemplate(ComponentTemplateSource templateSource, ComponentModel model, Locale locale, ComponentTemplate template)(Code)(Java Doc)
final protected void train_getTimeModified(ResourceCache cache, Resource resource, long timeModified)(Code)(Java Doc)
final protected void train_getTokens(ComponentTemplate template, TemplateToken... tokens)(Code)(Java Doc)
final protected void train_isLoaded(InternalComponentResources resources, boolean isLoaded)(Code)(Java Doc)
final protected void train_isMissing(ComponentTemplate template, boolean isMissing)(Code)(Java Doc)
final protected void train_isPageName(ComponentClassResolver resolver, String pageName, boolean result)(Code)(Java Doc)
final protected void train_loadPage(PageLoader loader, String pageName, Locale locale, Page page)(Code)(Java Doc)
final protected void train_newComponentElement(PageElementFactory elementFactory, ComponentPageElement container, String embeddedId, String embeddedType, String componentClassName, String elementName, Location location, ComponentPageElement embedded)(Code)(Java Doc)
final protected void train_newRenderBodyElement(PageElementFactory elementFactory, ComponentPageElement component, PageElement body)(Code)(Java Doc)
final protected void train_newRootComponentElement(PageElementFactory elementFactory, String className, ComponentPageElement rootElement)(Code)(Java Doc)
final protected void train_parseTemplate(TemplateParser parser, Resource resource, ComponentTemplate template)(Code)(Java Doc)
final protected void train_requiresDigest(ResourceCache cache, Resource resource, boolean requiresChecksum)(Code)(Java Doc)
final protected void train_resolvePageClassNameToPageName(ComponentClassResolver resolver, String pageClassName, String pageName)(Code)(Java Doc)
final protected void train_resolvePageNameToClassName(ComponentClassResolver resolver, String pageName, String pageClassName)(Code)(Java Doc)
final protected Messages validationMessages()(Code)(Java Doc)

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