A B C D E F G I N O P R S T 

A

AccessObjectFromField - Class in com.formos.tapestry.testify.internal
 
AccessObjectFromField(Object, Field) - Constructor for class com.formos.tapestry.testify.internal.AccessObjectFromField
 
autobuild(Class<T>) - Method in class com.formos.tapestry.testify.core.TapestryTester
Autobuilds a class by finding the public constructor with the most parameters.

B

bind(ServiceBinder) - Static method in class com.formos.tapestry.testify.internal.TestifyModule
 

C

canHandle(PlasticField) - Static method in class com.formos.tapestry.testify.internal.ForComponentsInjectionProvider
 
cleanup() - Method in interface com.formos.tapestry.testify.internal.PerTestDataStore
Immediately performs a cleanup of the test data.
cleanup() - Method in class com.formos.tapestry.testify.internal.ThreadLocalPerTestDataStore
 
collectForComponentsFrom(Object) - Method in class com.formos.tapestry.testify.core.TapestryTester
Searches for fields in the object annotated with ForComponents and registers them in the component injection pipeline so that they will be the preferred objects to inject into components and pages during this test.
com.formos.tapestry.testify.core - package com.formos.tapestry.testify.core
 
com.formos.tapestry.testify.internal - package com.formos.tapestry.testify.internal
 
com.formos.tapestry.testify.junit3 - package com.formos.tapestry.testify.junit3
 
com.formos.tapestry.testify.junit4 - package com.formos.tapestry.testify.junit4
 
com.formos.tapestry.testify.testng - package com.formos.tapestry.testify.testng
 
contributeInjectionProvider(OrderedConfiguration<InjectionProvider2>) - Static method in class com.formos.tapestry.testify.internal.TestifyModule
 
contributeMasterObjectProvider(OrderedConfiguration<ObjectProvider>, CookieSinkSource) - Static method in class com.formos.tapestry.testify.internal.TestifyModule
 
contributeServiceLifecycleSource(MappedConfiguration<String, ServiceLifecycle>) - Static method in class com.formos.tapestry.testify.internal.TestifyModule
 
CookieSinkSource - Interface in com.formos.tapestry.testify.internal
Unifies the CookieSink and CookieSource interfaces to create an interface for the combined (test) service.
createObject() - Method in class com.formos.tapestry.testify.internal.PerTestServiceCreator
For each test, the first call will use the delegate ObjectCreator to create an instance, and later calls will reuse the same per-test instance.
createService(ServiceResources, ObjectCreator) - Method in class com.formos.tapestry.testify.internal.PerTestServiceLifecycle
 

D

doSetUp() - Method in class com.formos.tapestry.testify.junit3.TapestryTest
Override this instead of TapestryTest.setUp()
doSetUp() - Method in class com.formos.tapestry.testify.junit4.TapestryTest
Override this instead of TapestryTest.setUp()
doSetUp() - Method in class com.formos.tapestry.testify.testng.TapestryTest
Override this instead of setUp()
doTearDown() - Method in class com.formos.tapestry.testify.junit3.TapestryTest
Override this instead of TapestryTest.tearDown()

E

endTest() - Method in class com.formos.tapestry.testify.core.TapestryTester
Call this method to mark the end of a test (for example in the test's tearDown() method).

F

ForComponents - Annotation Type in com.formos.tapestry.testify.core
Marks a field as containing a value that should be injected into any Tapestry pages/components rather than the usual value that Tapestry would provide.
ForComponentsInjectionProvider - Class in com.formos.tapestry.testify.internal
 
ForComponentsInjectionProvider(MasterObjectProvider, ObjectLocator, ObjectsForComponentsStore, ComponentClassCache) - Constructor for class com.formos.tapestry.testify.internal.ForComponentsInjectionProvider
 

G

get() - Method in class com.formos.tapestry.testify.internal.AccessObjectFromField
 
get() - Method in interface com.formos.tapestry.testify.internal.ObjectAccessor
 
get(Class<T>, String) - Method in interface com.formos.tapestry.testify.internal.ObjectsForComponentsStore
Gets an object for the given type and id.
get(Object) - Method in interface com.formos.tapestry.testify.internal.PerTestDataStore
Returns an object stored in the per-test map.
get(Class<T>, String) - Method in class com.formos.tapestry.testify.internal.SimpleObjectsForComponentsStore
 
get(Object) - Method in class com.formos.tapestry.testify.internal.ThreadLocalPerTestDataStore
 
getService(String, Class<T>) - Method in class com.formos.tapestry.testify.core.TapestryTester
Obtains a service via its unique service id.

I

injectInto(Object) - Method in class com.formos.tapestry.testify.core.TapestryTester
Process the Inject annotation on fields in the given object - those fields will be given values found in this tester's IOC container.
isSingleton() - Method in class com.formos.tapestry.testify.internal.PerTestServiceLifecycle
Returns false; this lifecycle represents a service that will be created many times (by each thread).

N

NO_ID - Static variable in interface com.formos.tapestry.testify.internal.ObjectsForComponentsStore
 
NullInjectionProvider - Class in com.formos.tapestry.testify.internal
An InjectionProvider2 that doesn't provide any injections.
NullInjectionProvider() - Constructor for class com.formos.tapestry.testify.internal.NullInjectionProvider
 

O

ObjectAccessor - Interface in com.formos.tapestry.testify.internal
Gets an object (from somewhere).
ObjectsForComponentsStore - Interface in com.formos.tapestry.testify.internal
Stores objects that are will be preferentially injected into pages/components during a test.

P

PERTEST - Static variable in class com.formos.tapestry.testify.core.TestifyConstants
An alternate scope; a per-test instance is created on demand, behind a shared proxy.
PerTestDataStore - Interface in com.formos.tapestry.testify.internal
Stores objects that are needed for the duration of a test.
PerTestServiceCreator - Class in com.formos.tapestry.testify.internal
Creates services with a TestifyConstants.PERTEST scope.
PerTestServiceCreator(PerTestDataStore, ObjectCreator) - Constructor for class com.formos.tapestry.testify.internal.PerTestServiceCreator
 
PerTestServiceLifecycle - Class in com.formos.tapestry.testify.internal
Allows a service to exist "per test" (on the assumption that a test runs in only one thread).
PerTestServiceLifecycle(PerTestDataStore, PlasticProxyFactory) - Constructor for class com.formos.tapestry.testify.internal.PerTestServiceLifecycle
 
processInjectAnnotation() - Method in class com.formos.tapestry.testify.testng.TapestryTest
 
provideInjection(PlasticField, ObjectLocator, MutableComponentModel) - Method in class com.formos.tapestry.testify.internal.ForComponentsInjectionProvider
 
provideInjection(PlasticField, ObjectLocator, MutableComponentModel) - Method in class com.formos.tapestry.testify.internal.NullInjectionProvider
 
provideInjection(PlasticField, ObjectLocator, MutableComponentModel) - Method in class com.formos.tapestry.testify.internal.TestifyCommonResourcesInjectionProvider
 
provideInjection(PlasticField, ObjectLocator, MutableComponentModel) - Method in class com.formos.tapestry.testify.internal.TestifyDefaultInjectionProvider
 
put(ObjectAccessor, String) - Method in interface com.formos.tapestry.testify.internal.ObjectsForComponentsStore
Add an object to the store.
put(Object, Object) - Method in interface com.formos.tapestry.testify.internal.PerTestDataStore
Stores a value into the per-test map.
put(ObjectAccessor, String) - Method in class com.formos.tapestry.testify.internal.SimpleObjectsForComponentsStore
 
put(Object, Object) - Method in class com.formos.tapestry.testify.internal.ThreadLocalPerTestDataStore
 

R

renderResponse(String) - Method in class com.formos.tapestry.testify.core.TapestryTester
Processes a request for the specified path and returns the response generated.

S

setUp() - Method in class com.formos.tapestry.testify.junit3.TapestryTest
Override TapestryTest.doSetUp() instead.
setUp() - Method in class com.formos.tapestry.testify.junit4.TapestryTest
Override TapestryTest.doSetUp() instead.
setUp() - Method in class com.formos.tapestry.testify.testng.TapestryTest
Override doSetUp() instead.
setUpForAllTestClasses() - Method in class com.formos.tapestry.testify.junit3.TapestryTest
Deprecated.
Rename your method so that it overrides TapestryTest.setUpForAllTestMethods()
setUpForAllTestClasses() - Method in class com.formos.tapestry.testify.junit4.TapestryTest
Deprecated.
Rename your method so that it overrides TapestryTest.setUpForAllTestMethods()
setUpForAllTestClasses() - Method in class com.formos.tapestry.testify.testng.TapestryTest
Deprecated.
Rename your method so that it overrides setUpForAllTestMethods()
setUpForAllTestMethods() - Method in class com.formos.tapestry.testify.junit3.TapestryTest
See class javadoc for example: TapestryTest
setUpForAllTestMethods() - Method in class com.formos.tapestry.testify.junit4.TapestryTest
See class javadoc for example: TapestryTest
setUpForAllTestMethods() - Method in class com.formos.tapestry.testify.testng.TapestryTest
See class javadoc for example: TapestryTest
SimpleObjectsForComponentsStore - Class in com.formos.tapestry.testify.internal
Simple implementation of ObjectsForComponentsStore.
SimpleObjectsForComponentsStore() - Constructor for class com.formos.tapestry.testify.internal.SimpleObjectsForComponentsStore
 

T

TapestryTest - Class in com.formos.tapestry.testify.junit3
JUnit3 base class for Tapestry tests.
TapestryTest(TapestryTester) - Constructor for class com.formos.tapestry.testify.junit3.TapestryTest
Creates a new instance using the given TapestryTester; you should create this tester just once and share it across multiple tests, for example by storing it in a static variable.
TapestryTest - Class in com.formos.tapestry.testify.junit4
JUnit4 base class for Tapestry tests.
TapestryTest(TapestryTester) - Constructor for class com.formos.tapestry.testify.junit4.TapestryTest
Creates a new instance using the given TapestryTester; you should create this tester just once and share it across multiple tests, for example by storing it in a static variable.
TapestryTest - Class in com.formos.tapestry.testify.testng
TestNG base class for Tapestry tests.
TapestryTest(TapestryTester) - Constructor for class com.formos.tapestry.testify.testng.TapestryTest
Creates a new instance using the given TapestryTester; you should create this tester just once and share it across multiple tests, for example by storing it in a static variable.
TapestryTester - Class in com.formos.tapestry.testify.core
An extension of Tapestry's PageTester to add additional features.
TapestryTester(String, String, String, Class<?>...) - Constructor for class com.formos.tapestry.testify.core.TapestryTester
 
TapestryTester(String, Class<?>...) - Constructor for class com.formos.tapestry.testify.core.TapestryTester
 
tearDown() - Method in class com.formos.tapestry.testify.junit3.TapestryTest
Override TapestryTest.doTearDown() instead.
tearDown() - Method in class com.formos.tapestry.testify.junit4.TapestryTest
 
tearDown() - Method in class com.formos.tapestry.testify.testng.TapestryTest
 
tester - Variable in class com.formos.tapestry.testify.junit3.TapestryTest
 
tester - Variable in class com.formos.tapestry.testify.junit4.TapestryTest
 
tester - Variable in class com.formos.tapestry.testify.testng.TapestryTest
 
TestifyCommonResourcesInjectionProvider - Class in com.formos.tapestry.testify.internal
 
TestifyCommonResourcesInjectionProvider() - Constructor for class com.formos.tapestry.testify.internal.TestifyCommonResourcesInjectionProvider
 
TestifyConstants - Class in com.formos.tapestry.testify.core
Utility class containing constants for the Tapestry Testify extension.
TestifyCookieSinkSource - Class in com.formos.tapestry.testify.internal
Adapts Tapestry's TestableCookieSinkSource so it implements a service interface, so it can be proxied and so we can create a TestifyConstants.PERTEST scoped version of it.
TestifyCookieSinkSource() - Constructor for class com.formos.tapestry.testify.internal.TestifyCookieSinkSource
 
TestifyDefaultInjectionProvider - Class in com.formos.tapestry.testify.internal
An InjectionProvider2 that replaces the usual default provider.
TestifyDefaultInjectionProvider(MasterObjectProvider, ObjectLocator, ComponentClassCache) - Constructor for class com.formos.tapestry.testify.internal.TestifyDefaultInjectionProvider
 
TestifyModule - Class in com.formos.tapestry.testify.internal
Services to support enhanced page/component testing.
TestifyModule() - Constructor for class com.formos.tapestry.testify.internal.TestifyModule
 
ThreadLocalPerTestDataStore - Class in com.formos.tapestry.testify.internal
 
ThreadLocalPerTestDataStore() - Constructor for class com.formos.tapestry.testify.internal.ThreadLocalPerTestDataStore
 
A B C D E F G I N O P R S T 

Copyright © 2009-2012. All Rights Reserved.