| org.apache.tapestry.internal.test.InternalBaseTestCase org.apache.tapestry.internal.services.InternalClassTransformationImplTest
InternalClassTransformationImplTest | public class InternalClassTransformationImplTest extends InternalBaseTestCase (Code) | | The tests share a number of resources, and so are run sequentially.
|
add_injected_field_from_parent_transformation | public void add_injected_field_from_parent_transformation() throws Exception(Code) | | |
add_interface_to_class | public void add_interface_to_class() throws Exception(Code) | | |
added_fields_are_not_listed_as_unclaimed_fields | public void added_fields_are_not_listed_as_unclaimed_fields() throws Exception(Code) | | |
cleanup_access | public void cleanup_access()(Code) | | |
ensure_javassist_does_not_show_extended_interface_methods_on_interface | public void ensure_javassist_does_not_show_extended_interface_methods_on_interface() throws Exception(Code) | | |
ensure_javassist_does_not_show_interface_methods_on_abstract_class | public void ensure_javassist_does_not_show_interface_methods_on_abstract_class() throws Exception(Code) | | |
ensure_javassist_still_does_not_show_inherited_interfaces | public void ensure_javassist_still_does_not_show_inherited_interfaces() throws Exception(Code) | | These tests are really to assert my understanding of Javassist's API. I guess we should keep
them around to make sure that future versions of Javassist work the same as our expectations.
|
ensure_subclasses_inherit_parent_class_annotations | public void ensure_subclasses_inherit_parent_class_annotations() throws Exception(Code) | | More a test of how Javassist works. Javassist does not honor the Inherited annotation for
classes (this kind of makes sense, since it won't necessarily have the super-class in
memory).
|
field_does_not_contain_requested_annotation | public void field_does_not_contain_requested_annotation() throws Exception(Code) | | |
find_annotation_in_method | public void find_annotation_in_method() throws Exception(Code) | | |
find_annotation_in_unknown_method | public void find_annotation_in_unknown_method() throws Exception(Code) | | |
find_annotation_on_unknown_field | public void find_annotation_on_unknown_field() throws Exception(Code) | | |
find_class_annotations | public void find_class_annotations() throws Exception(Code) | | |
find_field_annotation | public void find_field_annotation() throws Exception(Code) | | |
find_fields_of_type | public void find_fields_of_type() throws Exception(Code) | | |
find_fields_of_type_excludes_claimed_fields | public void find_fields_of_type_excludes_claimed_fields() throws Exception(Code) | | |
find_fields_with_annotation | public void find_fields_with_annotation() throws Exception(Code) | | |
find_fields_with_annotation_excludes_claimed_files | public void find_fields_with_annotation_excludes_claimed_files() throws Exception(Code) | | |
find_methods_using_filter | public void find_methods_using_filter() throws Exception(Code) | | |
find_methods_with_annotation | public void find_methods_with_annotation() throws Exception(Code) | | |
get_field_modifiers | public void get_field_modifiers() throws Exception(Code) | | |
get_method_identifier | public void get_method_identifier() throws Exception(Code) | | |
make_field_read_only | public void make_field_read_only() throws Exception(Code) | | |
new_member_name_with_prefix | public void new_member_name_with_prefix() throws Exception(Code) | | |
no_fields_contain_requested_annotation | public void no_fields_contain_requested_annotation() throws Exception(Code) | | |
non_private_fields_log_an_error | public void non_private_fields_log_an_error() throws Exception(Code) | | |
override_field_read_and_write | public void override_field_read_and_write() throws Exception(Code) | | Tests the basic functionality of overriding read and write; also tests the case for multiple
field read/field write substitions.
|
removed_fields_should_not_show_up_as_unclaimed | public void removed_fields_should_not_show_up_as_unclaimed() throws Exception(Code) | | |
setup_access | public void setup_access()(Code) | | |
setup_classpool | public void setup_classpool()(Code) | | We need a new ClassPool for each individual test, since many of the tests will end up
modifying one or more CtClass instances.
|
to_class_with_object_type | public void to_class_with_object_type() throws Exception(Code) | | |
to_class_with_primitive_type | public void to_class_with_primitive_type() throws Exception(Code) | | |
wrong_instance_type_passed_to_create_instantiator | public void wrong_instance_type_passed_to_create_instantiator() throws Exception(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)
|
|
|