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


org.apache.tapestry.ioc.test.TestBase
   org.apache.tapestry.ioc.test.IOCTestCase

All known Subclasses:   org.apache.tapestry.ioc.services.MethodSignatureTest,  org.apache.tapestry.ioc.internal.util.OneShotLockTest,  org.apache.tapestry.ioc.internal.DefaultModuleDefImplTest,  org.apache.tapestry.ioc.internal.services.ServiceLoggerTest,  org.apache.tapestry.ioc.util.StrategyRegistryTest,  org.apache.tapestry.ioc.services.MethodIteratorTest,  org.apache.tapestry.ioc.internal.util.InternalUtilsTest,  org.apache.tapestry.ioc.internal.IOCInternalTestCase,  org.apache.tapestry.ioc.internal.services.LoggingDecoratorImplTest,  org.apache.tapestry.test.TapestryTestCase,  org.apache.tapestry.ioc.internal.util.LocationImplTest,  org.apache.tapestry.ioc.internal.ContributionDefImplTest,  org.apache.tapestry.ioc.internal.services.ThreadCleanupHubImplTest,  org.apache.tapestry.ioc.services.ClassFabUtilsTest,  org.apache.tapestry.ioc.BaseLocatableTest,  org.apache.tapestry.ioc.internal.util.MessagesImplTest,  org.apache.tapestry.ioc.internal.util.LocalizedNameGeneratorTest,  org.apache.tapestry.ioc.internal.services.ValueObjectProviderTest,  org.apache.tapestry.ioc.internal.services.ClassFabImplTest,  org.apache.tapestry.ioc.internal.services.SymbolObjectProviderTest,  org.apache.tapestry.ioc.RegistryBuilderTest,  org.apache.tapestry.ioc.internal.services.ClassFactoryImplTest,  org.apache.tapestry.ioc.util.BodyBuilderTest,
IOCTestCase
public class IOCTestCase extends TestBase (Code)
Add factory and trainer methods for the public interfaces of Tapestry IOC.




Method Summary
final protected  RegistrybuildRegistry(Class... moduleClasses)
    
final protected  MethodfindMethod(Class clazz, String methodName)
    
final protected  MethodfindMethod(Object subject, String methodName)
    
final protected  MethodfindMethod(String methodName)
    
final protected  Stringjoin(String... lines)
     Combines a series of lines by forming a string with a line separator after each line.
final protected  AnnotationProvidermockAnnotationProvider()
    
final protected  Configuration<T>mockConfiguration()
    
final protected  ContributionDefmockContributionDef()
    
final protected  DecoratorDefmockDecoratorDef()
    
final protected  LocationmockLocation()
    
final protected  LogmockLog()
    
final protected  MappedConfiguration<K, V>mockMappedConfiguration()
    
final protected  MessageFormattermockMessageFormatter()
    
final protected  MessagesmockMessages()
    
final protected  ModuleDefmockModuleDef()
    
final protected  ObjectCreatormockObjectCreator()
    
final protected  ObjectLocatormockObjectLocator()
    
final protected  ObjectProvidermockObjectProvider()
    
final protected  OrderedConfiguration<T>mockOrderedConfiguration()
    
final protected  ResourcemockResource()
    
final protected  RunnablemockRunnable()
     Frequently used as a placeholder for an arbitrary service (but its nice and simple).
final protected  ServiceBuilderResourcesmockServiceBuilderResources()
    
final protected  ServiceDecoratormockServiceDecorator()
    
final protected  ServiceDefmockServiceDef()
    
final protected  ServiceResourcesmockServiceResources()
    
final protected  SymbolSourcemockSymbolSource()
    
final protected  ThreadLocalemockThreadLocale()
    
final protected  TypeCoercermockTypeCoercer()
    
final protected  voidstub_contains(Messages messages, boolean contained)
    
protected  voidtrain_coerce(TypeCoercer coercer, S input, Class<T> expectedType, T coercedValue)
    
final protected  voidtrain_contains(Messages messages, String key, boolean result)
    
final protected  voidtrain_createInterceptor(ServiceDecorator decorator, Object coreObject, Object interceptor)
    
final protected  voidtrain_createObject(ObjectCreator creator, Object service)
    
final protected  voidtrain_expandSymbols(SymbolSource source, String input)
    
final protected  voidtrain_expandSymbols(SymbolSource source, String input, String expanded)
    
final protected  voidtrain_forFile(Resource resource, String relativePath, Resource file)
    
final protected  voidtrain_forLocale(Resource base, Locale locale, Resource resource)
    
protected  voidtrain_format(MessageFormatter formatter, String result, Object... arguments)
     Have to put the result before the varargs.
final protected  voidtrain_get(Messages messages, String key, String message)
    
final protected  voidtrain_getAnnotation(AnnotationProvider annotationProvider, Class<T> annotationClass, T annotation)
    
final protected  voidtrain_getLocale(ThreadLocale threadLocale, Locale locale)
    
final protected  voidtrain_getLog(LogSource source, String serviceId, Log log)
    
final protected  voidtrain_getMessageFormatter(Messages messages, String key, MessageFormatter formatter)
    
final protected  voidtrain_getPath(Resource r, String path)
    
final protected  voidtrain_getService(ObjectLocator locator, Class<T> serviceInterface, T service)
    
final protected  voidtrain_getService(ObjectLocator locator, String serviceId, Class<T> serviceInterface, T service)
    
final protected  voidtrain_getServiceId(ServiceDef def, String serviceId)
    
final protected  voidtrain_getServiceId(ServiceResources resources, String serviceId)
    
final protected  voidtrain_getServiceInterface(ServiceDef def, Class serviceInterface)
    
final protected  voidtrain_getServiceInterface(ServiceResources resources, Class serviceInterface)
    
final protected  voidtrain_getServiceLog(ServiceResources resources, Log log)
    
final protected  voidtrain_isDebugEnabled(Log log, boolean debugEnabled)
    
final protected  voidtrain_matches(DecoratorDef decoratorDef, ServiceDef serviceDef, boolean matches)
    
final protected  voidtrain_provide(ObjectProvider provider, Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, T object)
    
final protected  voidtrain_toURL(Resource resource, URL url)
    



Method Detail
buildRegistry
final protected Registry buildRegistry(Class... moduleClasses)(Code)



findMethod
final protected Method findMethod(Class clazz, String methodName)(Code)



findMethod
final protected Method findMethod(Object subject, String methodName)(Code)



findMethod
final protected Method findMethod(String methodName)(Code)



join
final protected String join(String... lines)(Code)
Combines a series of lines by forming a string with a line separator after each line.



mockAnnotationProvider
final protected AnnotationProvider mockAnnotationProvider()(Code)



mockConfiguration
final protected Configuration<T> mockConfiguration()(Code)



mockContributionDef
final protected ContributionDef mockContributionDef()(Code)



mockDecoratorDef
final protected DecoratorDef mockDecoratorDef()(Code)



mockLocation
final protected Location mockLocation()(Code)



mockLog
final protected Log mockLog()(Code)



mockMappedConfiguration
final protected MappedConfiguration<K, V> mockMappedConfiguration()(Code)



mockMessageFormatter
final protected MessageFormatter mockMessageFormatter()(Code)



mockMessages
final protected Messages mockMessages()(Code)



mockModuleDef
final protected ModuleDef mockModuleDef()(Code)



mockObjectCreator
final protected ObjectCreator mockObjectCreator()(Code)



mockObjectLocator
final protected ObjectLocator mockObjectLocator()(Code)



mockObjectProvider
final protected ObjectProvider mockObjectProvider()(Code)



mockOrderedConfiguration
final protected OrderedConfiguration<T> mockOrderedConfiguration()(Code)



mockResource
final protected Resource mockResource()(Code)



mockRunnable
final protected Runnable mockRunnable()(Code)
Frequently used as a placeholder for an arbitrary service (but its nice and simple).



mockServiceBuilderResources
final protected ServiceBuilderResources mockServiceBuilderResources()(Code)



mockServiceDecorator
final protected ServiceDecorator mockServiceDecorator()(Code)



mockServiceDef
final protected ServiceDef mockServiceDef()(Code)



mockServiceResources
final protected ServiceResources mockServiceResources()(Code)



mockSymbolSource
final protected SymbolSource mockSymbolSource()(Code)



mockThreadLocale
final protected ThreadLocale mockThreadLocale()(Code)



mockTypeCoercer
final protected TypeCoercer mockTypeCoercer()(Code)



stub_contains
final protected void stub_contains(Messages messages, boolean contained)(Code)



train_coerce
protected void train_coerce(TypeCoercer coercer, S input, Class<T> expectedType, T coercedValue)(Code)



train_contains
final protected void train_contains(Messages messages, String key, boolean result)(Code)



train_createInterceptor
final protected void train_createInterceptor(ServiceDecorator decorator, Object coreObject, Object interceptor)(Code)



train_createObject
final protected void train_createObject(ObjectCreator creator, Object service)(Code)



train_expandSymbols
final protected void train_expandSymbols(SymbolSource source, String input)(Code)



train_expandSymbols
final protected void train_expandSymbols(SymbolSource source, String input, String expanded)(Code)



train_forFile
final protected void train_forFile(Resource resource, String relativePath, Resource file)(Code)



train_forLocale
final protected void train_forLocale(Resource base, Locale locale, Resource resource)(Code)



train_format
protected void train_format(MessageFormatter formatter, String result, Object... arguments)(Code)
Have to put the result before the varargs.



train_get
final protected void train_get(Messages messages, String key, String message)(Code)



train_getAnnotation
final protected void train_getAnnotation(AnnotationProvider annotationProvider, Class<T> annotationClass, T annotation)(Code)



train_getLocale
final protected void train_getLocale(ThreadLocale threadLocale, Locale locale)(Code)



train_getLog
final protected void train_getLog(LogSource source, String serviceId, Log log)(Code)



train_getMessageFormatter
final protected void train_getMessageFormatter(Messages messages, String key, MessageFormatter formatter)(Code)



train_getPath
final protected void train_getPath(Resource r, String path)(Code)



train_getService
final protected void train_getService(ObjectLocator locator, Class<T> serviceInterface, T service)(Code)



train_getService
final protected void train_getService(ObjectLocator locator, String serviceId, Class<T> serviceInterface, T service)(Code)



train_getServiceId
final protected void train_getServiceId(ServiceDef def, String serviceId)(Code)



train_getServiceId
final protected void train_getServiceId(ServiceResources resources, String serviceId)(Code)



train_getServiceInterface
final protected void train_getServiceInterface(ServiceDef def, Class serviceInterface)(Code)



train_getServiceInterface
final protected void train_getServiceInterface(ServiceResources resources, Class serviceInterface)(Code)



train_getServiceLog
final protected void train_getServiceLog(ServiceResources resources, Log log)(Code)



train_isDebugEnabled
final protected void train_isDebugEnabled(Log log, boolean debugEnabled)(Code)



train_matches
final protected void train_matches(DecoratorDef decoratorDef, ServiceDef serviceDef, boolean matches)(Code)



train_provide
final protected void train_provide(ObjectProvider provider, Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, T object)(Code)



train_toURL
final protected void train_toURL(Resource resource, URL url)(Code)



Methods inherited from org.apache.tapestry.ioc.test.TestBase
final protected void assertMessageContains(Throwable t, String... substrings)(Code)(Java Doc)
final public void discardMockControl()(Code)(Java Doc)
final protected IExpectationSetters<T> expect(T value)(Code)(Java Doc)
final protected IMocksControl getMocksControl()(Code)(Java Doc)
final protected T newMock(Class<T> mockClass)(Code)(Java Doc)
final protected void replay()(Code)(Java Doc)
final protected void setThrowable(Throwable throwable)(Code)(Java Doc)
final protected void unreachable()(Code)(Java Doc)
final protected void verify()(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.