A B C D F G J M N O R S T U V _

A

appendTo(StringBuffer) - Method in class org.apache.tapestry.Capturer
 
assertBuffer(String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
assertExceptionSubstring(Throwable, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
assertListEquals(Object[], Object[]) - Static method in class org.apache.tapestry.BaseComponentTestCase
 
assertListEquals(Object[], List) - Static method in class org.apache.tapestry.BaseComponentTestCase
 

B

BaseComponentTestCase - Class in org.apache.tapestry
Base class for testing components, or testing classes that operate on components.
BaseComponentTestCase() - Constructor for class org.apache.tapestry.BaseComponentTestCase
 
buildFrameworkRegistry(String) - Method in class org.apache.tapestry.BaseComponentTestCase
Convienience method for invoking BaseComponentTestCase.buildFrameworkRegistry(String[]) with only a single file.
buildFrameworkRegistry(String[]) - Method in class org.apache.tapestry.BaseComponentTestCase
Builds a minimal registry, containing only the specified files, plus the master module descriptor (i.e., those visible on the classpath).
buildFrameworkRegistry(ModuleDescriptorProvider) - Method in class org.apache.tapestry.BaseComponentTestCase
Builds a registry, containing only the modules delivered by the specified ModuleDescriptorProvider, plus the master module descriptor (i.e., those visible on the classpath).
buildMinimalRegistry(Resource) - Method in class org.apache.tapestry.BaseComponentTestCase
Builds a registry from exactly the provided resource; this registry will not include the hivemind module.

C

capture(Capturer<T>) - Static method in class org.apache.tapestry.Capturer
Useage (with static imports):
Capturer<T> - Class in org.apache.tapestry
An EasyMock 2.0 argument matcher that captures a method argument value.
Capturer(Class<T>) - Constructor for class org.apache.tapestry.Capturer
Creates a new Capturer for the given type.
cleanupControlSource() - Method in class org.apache.tapestry.TestBase
Discards any mock objects created during the test.

D

DEFAULT_CONTEXT_PATH - Static variable in class org.apache.tapestry.JettyRunner
 
DEFAULT_PORT - Static variable in class org.apache.tapestry.JettyRunner
 
DEFAULT_WAR_PATH - Static variable in class org.apache.tapestry.JettyRunner
 

F

fabricateLocation(int) - Method in class org.apache.tapestry.BaseComponentTestCase
 

G

getCaptured() - Method in class org.apache.tapestry.Capturer
Returns the method argument value previously captured.
getClassResolver() - Method in class org.apache.tapestry.BaseComponentTestCase
 
getCreator() - Method in class org.apache.tapestry.BaseComponentTestCase
 
getMocksControl() - Method in class org.apache.tapestry.TestBase
Returns the control object used for all mocks created by this test case.
getResource(String) - Method in class org.apache.tapestry.BaseComponentTestCase
Returns the given file as a Resource from the classpath.

J

JettyRunner - Class in org.apache.tapestry
A utitilty class for running an instance of the Jetty servlet container from within a unit test.
JettyRunner() - Constructor for class org.apache.tapestry.JettyRunner
Creates and starts a new instance of Jetty, using default configuration values.
JettyRunner(String, int, String) - Constructor for class org.apache.tapestry.JettyRunner
Creates and starts a new instance of Jetty.

M

matches(Object) - Method in class org.apache.tapestry.Capturer
 

N

newAsset() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newBinding(Object) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newBinding(Location) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newBinding() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newBody() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newBufferJSONWriter() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newBufferWriter() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCapturer(Class<T>) - Static method in class org.apache.tapestry.Capturer
Factory method that invokes the normal constructor in a way that keeps Java Generics happy.
newComponent(String, Location) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newComponent() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCycle() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCycle(IMarkupWriter) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCycle(boolean) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCycle(boolean, boolean) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCycle(boolean, IMarkupWriter) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCycleGetPage(String, IPage) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCycleGetParameter(String, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newCycleGetUniqueId(String, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newEngine(ClassResolver) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newEngineService() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newForm() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newInstance(Class) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newInstance(Class, String, Object) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newInstance(Class<T>, Object...) - Method in class org.apache.tapestry.TestBase
Creates a new instance of the provided class using the Creator utility.
newLink() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newLocation() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newLog() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newMarkupWriter() - Method in class org.apache.tapestry.TestBase
Creates a mock for IMarkupWriter.
newMock(Class<T>) - Method in class org.apache.tapestry.TestBase
Creates a new mock object of the indicated type.
newNestedWriter() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newPage() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newPage(String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newPage(String, int) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newPageRenderSupport() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newRender() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newRequest() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newRequestCycle() - Method in class org.apache.tapestry.TestBase
Simply returns a new mock around IRequestCycle.
newResource() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newSpec(String, IParameterSpecification) - Method in class org.apache.tapestry.BaseComponentTestCase
 
newSpec() - Method in class org.apache.tapestry.BaseComponentTestCase
 
newWriter() - Method in class org.apache.tapestry.BaseComponentTestCase
 
notEquals(Object, Object) - Static method in class org.apache.tapestry.BaseComponentTestCase
 

O

org.apache.tapestry - package org.apache.tapestry
 

R

replay() - Method in class org.apache.tapestry.TestBase
Replay's the mocks control, preparing all mocks for testing.

S

setReturnValue(T) - Method in class org.apache.tapestry.TestBase
Sets the return value for the most recent method call upon the mock.
setThrowable(Throwable) - Method in class org.apache.tapestry.TestBase
Trains a mock object to throw an exception.
stop() - Method in class org.apache.tapestry.JettyRunner
Stops the Jetty instance.

T

TestBase - Class in org.apache.tapestry
A base class for creating TestNG unit tests for Tapestry 4 applications.
TestBase() - Constructor for class org.apache.tapestry.TestBase
 
toString() - Method in class org.apache.tapestry.JettyRunner
 
trainBuildURL(IAsset, IRequestCycle, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainEncodeURL(IRequestCycle, String, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainExtractBrowserEvent(IRequestCycle) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetAttribute(IRequestCycle, String, Object) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetBinding(IComponent, String, IBinding) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetComponent(IComponent, String, IComponent) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetEngine(IPage, IEngine) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetEngine(IRequestCycle, IEngine) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetExtendedId(IComponent, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetId(IComponent, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetIdPath(IComponent, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetLink(IEngineService, IRequestCycle, boolean, Object, ILink) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetLink(ILinkComponent, IRequestCycle, ILink) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetLinkCheckIgnoreParameter(IEngineService, IRequestCycle, boolean, Object, ILink) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetLocation(Locatable, Location) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetNestedWriter(IMarkupWriter, NestedMarkupWriter) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetPage(IComponent, IPage) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetPageName(IPage, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetPageRenderSupport(IRequestCycle, PageRenderSupport) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetParameter(IRequestCycle, String, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetParameterNames(ILink, String[]) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetParameterValues(ILink, String, String[]) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetScheme(WebRequest, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetServerName(WebRequest, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetServerPort(WebRequest, int) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetSpecification(IComponent, IComponentSpecification) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetSupport(IRequestCycle, PageRenderSupport) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetUniqueId(IRequestCycle, String, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetURL(ILink, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetURL(ILink, String, String, String) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainGetURL(ILink, String, String, String, int) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainIsRewinding(IRequestCycle, boolean) - Method in class org.apache.tapestry.BaseComponentTestCase
 
trainResponseBuilder(IRequestCycle, IMarkupWriter) - Method in class org.apache.tapestry.BaseComponentTestCase
 

U

unreachable() - Method in class org.apache.tapestry.TestBase
Invoked to indicate code should not reach a point.

V

verify() - Method in class org.apache.tapestry.TestBase
Verifies the mocks control, ensuring that all mocks completed all trained method invocations, then resets the control to allow more training of the mocks.

_

_charArrayWriter - Variable in class org.apache.tapestry.BaseComponentTestCase
 

A B C D F G J M N O R S T U V _

Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.