| org.apache.tapestry.ioc.test.TestBase org.apache.tapestry.ioc.test.IOCTestCase
All known Subclasses: org.apache.tapestry.ioc.internal.util.LocalizedNameGeneratorTest, org.apache.tapestry.test.TapestryTestCase, org.apache.tapestry.ioc.internal.services.ClassFabImplTest, org.apache.tapestry.ioc.internal.util.MessagesImplTest, org.apache.tapestry.ioc.internal.util.LocationImplTest, org.apache.tapestry.ioc.BaseLocatableTest, org.apache.tapestry.ioc.internal.services.ClassFactoryImplTest, org.apache.tapestry.ioc.internal.services.LoggingDecoratorImplTest, org.apache.tapestry.ioc.internal.services.ValueObjectProviderTest, org.apache.tapestry.ioc.internal.util.OneShotLockTest, org.apache.tapestry.ioc.util.BodyBuilderTest, org.apache.tapestry.ioc.internal.services.ServiceLoggerTest, org.apache.tapestry.ioc.services.MethodIteratorTest, org.apache.tapestry.ioc.services.ClassFabUtilsTest, org.apache.tapestry.ioc.internal.ContributionDefImplTest, org.apache.tapestry.ioc.RegistryBuilderTest, org.apache.tapestry.ioc.internal.services.ThreadCleanupHubImplTest, org.apache.tapestry.ioc.util.StrategyRegistryTest, org.apache.tapestry.ioc.services.MethodSignatureTest, org.apache.tapestry.ioc.internal.IOCInternalTestCase, org.apache.tapestry.ioc.internal.util.InternalUtilsTest, org.apache.tapestry.ioc.internal.DefaultModuleDefImplTest, org.apache.tapestry.ioc.internal.services.SymbolObjectProviderTest,
IOCTestCase | public class IOCTestCase extends TestBase (Code) | | Add factory and trainer methods for the public interfaces of Tapestry IOC.
|
Method Summary | |
final protected Registry | buildRegistry(Class... moduleClasses) | final protected Method | findMethod(Class clazz, String methodName) | final protected Method | findMethod(Object subject, String methodName) | final protected Method | findMethod(String methodName) | final protected String | join(String... lines) Combines a series of lines by forming a string with a line separator after each line. | final protected AnnotationProvider | mockAnnotationProvider() | final protected Configuration<T> | mockConfiguration() | final protected ContributionDef | mockContributionDef() | final protected DecoratorDef | mockDecoratorDef() | final protected Location | mockLocation() | final protected Log | mockLog() | final protected MappedConfiguration<K, V> | mockMappedConfiguration() | final protected MessageFormatter | mockMessageFormatter() | final protected Messages | mockMessages() | final protected ModuleDef | mockModuleDef() | final protected ObjectCreator | mockObjectCreator() | final protected ObjectLocator | mockObjectLocator() | final protected ObjectProvider | mockObjectProvider() | final protected OrderedConfiguration<T> | mockOrderedConfiguration() | final protected Resource | mockResource() | final protected Runnable | mockRunnable() Frequently used as a placeholder for an arbitrary service (but its nice and simple). | final protected ServiceBuilderResources | mockServiceBuilderResources() | final protected ServiceDecorator | mockServiceDecorator() | final protected ServiceDef | mockServiceDef() | final protected ServiceResources | mockServiceResources() | final protected SymbolSource | mockSymbolSource() | final protected ThreadLocale | mockThreadLocale() | final protected TypeCoercer | mockTypeCoercer() | final protected void | stub_contains(Messages messages, boolean contained) | protected void | train_coerce(TypeCoercer coercer, S input, Class<T> expectedType, T coercedValue) | final protected void | train_contains(Messages messages, String key, boolean result) | final protected void | train_createInterceptor(ServiceDecorator decorator, Object coreObject, Object interceptor) | final protected void | train_createObject(ObjectCreator creator, Object service) | final protected void | train_expandSymbols(SymbolSource source, String input) | final protected void | train_expandSymbols(SymbolSource source, String input, String expanded) | final protected void | train_forFile(Resource resource, String relativePath, Resource file) | final protected void | train_forLocale(Resource base, Locale locale, Resource resource) | protected void | train_format(MessageFormatter formatter, String result, Object... arguments) Have to put the result before the varargs. | final protected void | train_get(Messages messages, String key, String message) | final protected void | train_getAnnotation(AnnotationProvider annotationProvider, Class<T> annotationClass, T annotation) | final protected void | train_getLocale(ThreadLocale threadLocale, Locale locale) | final protected void | train_getLog(LogSource source, String serviceId, Log log) | final protected void | train_getMessageFormatter(Messages messages, String key, MessageFormatter formatter) | final protected void | train_getPath(Resource r, String path) | final protected void | train_getService(ObjectLocator locator, Class<T> serviceInterface, T service) | final protected void | train_getService(ObjectLocator locator, String serviceId, Class<T> serviceInterface, T service) | final protected void | train_getServiceId(ServiceDef def, String serviceId) | final protected void | train_getServiceId(ServiceResources resources, String serviceId) | final protected void | train_getServiceInterface(ServiceDef def, Class serviceInterface) | final protected void | train_getServiceInterface(ServiceResources resources, Class serviceInterface) | final protected void | train_getServiceLog(ServiceResources resources, Log log) | final protected void | train_isDebugEnabled(Log log, boolean debugEnabled) | final protected void | train_matches(DecoratorDef decoratorDef, ServiceDef serviceDef, boolean matches) | final protected void | train_provide(ObjectProvider provider, Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator, T object) | final protected void | train_toURL(Resource resource, URL url) |
join | final protected String join(String... lines)(Code) | | Combines a series of lines by forming a string with a line separator after each line.
|
mockLog | final protected Log mockLog()(Code) | | |
mockRunnable | final protected Runnable mockRunnable()(Code) | | Frequently used as a placeholder for an arbitrary service (but its nice and simple).
|
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_getService | final protected void train_getService(ObjectLocator locator, Class<T> serviceInterface, T service)(Code) | | |
train_getServiceInterface | final protected void train_getServiceInterface(ServiceDef def, Class serviceInterface)(Code) | | |
train_isDebugEnabled | final protected void train_isDebugEnabled(Log log, boolean debugEnabled)(Code) | | |
|
|