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


org.apache.tapestry.ioc.internal.IOCInternalTestCase
   org.apache.tapestry.ioc.IntegrationTest

IntegrationTest
public class IntegrationTest extends IOCInternalTestCase (Code)
A few tests that are easiest (or even just possible) by building a Registry and trying out a few things.




Method Summary
public  voidaccess_to_services_ignores_case()
    
public  voidautobuild_via_registry()
    
public  voidautobuild_via_registry_constructor_exception()
    
public  voidautobuild_via_registry_no_constructor()
    
public  voidduplicate_service_names_are_failure()
    
public  voideager_service_loading()
    
public  voidexception_in_autobuild_service_constructor()
    
public  voidget_service_by_unknown_id()
    
public  voidnon_proxied_service()
    
public  voidpublic_service_decorator_order()
     Along the way, we also test a few other things, such as decorator matching and automatic dependency resolution.
public  voidpublic_service_unordered_configuration()
    
public  voidrecursive_module_construction_is_caught()
    
public  voidregistry_thread_cleanup()
     This test fails at times and I'm not sure why.
public  voidrequest_service_by_type_with_multiple_matches()
    
public  voidrequest_service_by_type_with_no_matches()
    
public  voidservice_build_method_return_type_not_interface()
    
public  voidservice_builder_method_uses_autobuild()
    
public  voidservice_builder_method_uses_autobuild_with_failure()
    
public  voidservice_mapped_configuration()
    
public  voidservice_ordered_configuration()
     We don't have to do as many public/private etc.
public  voidshutdown_deactivates_proxies()
    
public  voidsimple_autobuild()
    
public  voidsimple_perthread()
    
public  voidstatic_builder_method_does_not_instantiate_builder()
    
public  voidstatic_contributor_method_does_not_instantiate_builder()
    
public  voidstatic_decorator_method_does_not_instantiate_builder()
    
public  voidsymbol_in_inject_annotation_is_expanded()
    
public  voidsymbol_in_registry_call_for_service_is_expanded()
    
public  voidunknown_scope()
    



Method Detail
access_to_services_ignores_case
public void access_to_services_ignores_case()(Code)



autobuild_via_registry
public void autobuild_via_registry()(Code)



autobuild_via_registry_constructor_exception
public void autobuild_via_registry_constructor_exception()(Code)



autobuild_via_registry_no_constructor
public void autobuild_via_registry_no_constructor()(Code)



duplicate_service_names_are_failure
public void duplicate_service_names_are_failure()(Code)



eager_service_loading
public void eager_service_loading()(Code)



exception_in_autobuild_service_constructor
public void exception_in_autobuild_service_constructor()(Code)



get_service_by_unknown_id
public void get_service_by_unknown_id()(Code)



non_proxied_service
public void non_proxied_service()(Code)



public_service_decorator_order
public void public_service_decorator_order()(Code)
Along the way, we also test a few other things, such as decorator matching and automatic dependency resolution.



public_service_unordered_configuration
public void public_service_unordered_configuration()(Code)



recursive_module_construction_is_caught
public void recursive_module_construction_is_caught()(Code)



registry_thread_cleanup
public void registry_thread_cleanup()(Code)
This test fails at times and I'm not sure why. It's some kind of interaction with other tests but hard to figure out. Damn ThreadLocals!



request_service_by_type_with_multiple_matches
public void request_service_by_type_with_multiple_matches()(Code)



request_service_by_type_with_no_matches
public void request_service_by_type_with_no_matches()(Code)



service_build_method_return_type_not_interface
public void service_build_method_return_type_not_interface()(Code)



service_builder_method_uses_autobuild
public void service_builder_method_uses_autobuild()(Code)



service_builder_method_uses_autobuild_with_failure
public void service_builder_method_uses_autobuild_with_failure()(Code)



service_mapped_configuration
public void service_mapped_configuration()(Code)



service_ordered_configuration
public void service_ordered_configuration()(Code)
We don't have to do as many public/private etc. tests for the other types of configuration, because the code paths are so similar.



shutdown_deactivates_proxies
public void shutdown_deactivates_proxies()(Code)



simple_autobuild
public void simple_autobuild()(Code)



simple_perthread
public void simple_perthread() throws Exception(Code)



static_builder_method_does_not_instantiate_builder
public void static_builder_method_does_not_instantiate_builder()(Code)



static_contributor_method_does_not_instantiate_builder
public void static_contributor_method_does_not_instantiate_builder()(Code)



static_decorator_method_does_not_instantiate_builder
public void static_decorator_method_does_not_instantiate_builder()(Code)



symbol_in_inject_annotation_is_expanded
public void symbol_in_inject_annotation_is_expanded()(Code)



symbol_in_registry_call_for_service_is_expanded
public void symbol_in_registry_call_for_service_is_expanded()(Code)



unknown_scope
public void unknown_scope()(Code)



Methods inherited from org.apache.tapestry.ioc.internal.IOCInternalTestCase
final public T autobuild(Class<T> clazz)(Code)(Java Doc)
final public void cleanupThread()(Code)(Java Doc)
final public void eagerLoadServices()(Code)(Java Doc)
final public ClassFactory getClassFactory()(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 InternalRegistry mockInternalRegistry()(Code)(Java Doc)
final protected Module mockModule()(Code)(Java Doc)
final protected ObjectCreatorSource mockObjectCreatorSource()(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 train_findDecoratorsForService(InternalRegistry registry)(Code)(Java Doc)
final protected void train_findDecoratorsForService(Module module, String serviceId, List<ServiceDecorator> decorators)(Code)(Java Doc)
final protected void train_getDescription(ObjectCreatorSource source, String description)(Code)(Java Doc)
final protected void train_getLifecycle(InternalRegistry registry, String scope, ServiceLifecycle lifecycle)(Code)(Java Doc)
final protected void train_getService(InternalRegistry registry, String serviceId, Class<T> serviceInterface, T service)(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.