| |
|
| 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.
|
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) | | |
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)
|
|
|
|