Java Doc for ComponentClassResolverImplTest.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.ComponentClassResolverImplTest

ComponentClassResolverImplTest
public class ComponentClassResolverImplTest extends InternalBaseTestCase (Code)




Method Summary
public  voidcanonicalize_existing_page_name()
    
public  voidclass_name_does_not_resolve_to_page_name()
    
public  voidclass_name_not_in_a_pages_package()
    
public  voidclass_name_to_simple_page_name()
    
public  voidcomplex_prefix_search_fails()
    
public  voidcomponent_type_not_found()
    
public  voidis_page_name()
    
public  voidis_page_name_for_core_page()
    
public  voidlookup_by_logical_name_is_case_insensitive()
    
public  voidlots_of_prefixes_and_suffixes_stripped()
    
public  voidmixin_type_not_found()
    
public  voidmultiple_mappings_for_same_prefix()
    
final protected  ClassNameLocatornewClassNameLocator()
    
public  voidpage_class_name_resolved_to_core_page()
    
public  voidpage_found_in_core_lib()
    
public  voidpage_found_in_library()
    
public  voidpage_in_subfolder()
    
public  voidpage_name_in_subfolder()
    
public  voidpage_name_to_canonicalize_does_not_exist()
    
public  voidresolved_page_names_are_cached()
     All of the caches are handled identically, so we just test the pages for caching.
public  voidsimple_component_type()
     The logic for searching is pretty much identical for both components and pages, so even a cursory test of component types should nail it.
public  voidsimple_mixin_type()
     Likewise for mixins; it's all just setup for a particular method.
public  voidsimple_page_name()
    
public  voidsubfolder_name_as_classname_prefix_is_stripped()
    
final protected  voidtrain_locateComponentClassNames(ClassNameLocator locator, String packageName, String... classNames)
    



Method Detail
canonicalize_existing_page_name
public void canonicalize_existing_page_name()(Code)



class_name_does_not_resolve_to_page_name
public void class_name_does_not_resolve_to_page_name()(Code)



class_name_not_in_a_pages_package
public void class_name_not_in_a_pages_package()(Code)



class_name_to_simple_page_name
public void class_name_to_simple_page_name()(Code)



complex_prefix_search_fails
public void complex_prefix_search_fails()(Code)



component_type_not_found
public void component_type_not_found()(Code)



is_page_name
public void is_page_name()(Code)



is_page_name_for_core_page
public void is_page_name_for_core_page()(Code)



lookup_by_logical_name_is_case_insensitive
public void lookup_by_logical_name_is_case_insensitive()(Code)



lots_of_prefixes_and_suffixes_stripped
public void lots_of_prefixes_and_suffixes_stripped()(Code)



mixin_type_not_found
public void mixin_type_not_found()(Code)



multiple_mappings_for_same_prefix
public void multiple_mappings_for_same_prefix()(Code)



newClassNameLocator
final protected ClassNameLocator newClassNameLocator()(Code)



page_class_name_resolved_to_core_page
public void page_class_name_resolved_to_core_page()(Code)



page_found_in_core_lib
public void page_found_in_core_lib()(Code)



page_found_in_library
public void page_found_in_library()(Code)



page_in_subfolder
public void page_in_subfolder()(Code)



page_name_in_subfolder
public void page_name_in_subfolder()(Code)



page_name_to_canonicalize_does_not_exist
public void page_name_to_canonicalize_does_not_exist()(Code)



resolved_page_names_are_cached
public void resolved_page_names_are_cached()(Code)
All of the caches are handled identically, so we just test the pages for caching.



simple_component_type
public void simple_component_type()(Code)
The logic for searching is pretty much identical for both components and pages, so even a cursory test of component types should nail it.



simple_mixin_type
public void simple_mixin_type()(Code)
Likewise for mixins; it's all just setup for a particular method.



simple_page_name
public void simple_page_name()(Code)



subfolder_name_as_classname_prefix_is_stripped
public void subfolder_name_as_classname_prefix_is_stripped()(Code)



train_locateComponentClassNames
final protected void train_locateComponentClassNames(ClassNameLocator locator, String packageName, String... classNames)(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.