A C D G J M N R S T U V

A

appendTo(StringBuffer) - Method in class com.javaforge.tapestry.testng.Capturer
 

C

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

D

DEFAULT_CONTEXT_PATH - Static variable in class com.javaforge.tapestry.testng.JettyRunner
 
DEFAULT_PORT - Static variable in class com.javaforge.tapestry.testng.JettyRunner
 
DEFAULT_WAR_PATH - Static variable in class com.javaforge.tapestry.testng.JettyRunner
 

G

getCaptured() - Method in class com.javaforge.tapestry.testng.Capturer
Returns the method argument value previously captured.
getMocksControl() - Method in class com.javaforge.tapestry.testng.TestBase
Returns the control object used for all mocks created by this test case.

J

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

M

matches(Object) - Method in class com.javaforge.tapestry.testng.Capturer
 

N

newCapturer(Class<T>) - Static method in class com.javaforge.tapestry.testng.Capturer
Factory method that invokes the normal constructor in a way that keeps Java Generics happy.
newInstance(Class<T>, Object...) - Method in class com.javaforge.tapestry.testng.TestBase
Creates a new instance of the provided class using the Creator utility.
newMarkupWriter() - Method in class com.javaforge.tapestry.testng.TestBase
Mock factory method.
newMock(Class<T>) - Method in class com.javaforge.tapestry.testng.TestBase
Creates a new mock object of the indicated type.
newRequestCycle() - Method in class com.javaforge.tapestry.testng.TestBase
Mock factory method.

R

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

S

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

T

TestBase - Class in com.javaforge.tapestry.testng
A base class for creating TestNG unit tests for Tapestry 4 applications.
TestBase() - Constructor for class com.javaforge.tapestry.testng.TestBase
 
toString() - Method in class com.javaforge.tapestry.testng.JettyRunner
 

U

unreachable() - Method in class com.javaforge.tapestry.testng.TestBase
Invoked to indicate code should not reach a point.

V

verify() - Method in class com.javaforge.tapestry.testng.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.

A C D G J M N R S T U V

Copyright © 2006 Howard M. Lewis Ship. All Rights Reserved.