A C E F G I M R S T V

A

addSubSuite(Suite) - Method in class com.artima.testkit.Suite
Append the Suite passed as subSuite to the end of this Suite object's list of subsuites.

C

cleanupFixture() - Method in class com.artima.testkit.Suite
Cleanup the test fixture for this object's test methods.
clearSubSuites() - Method in class com.artima.testkit.Suite
Clear this object's list of subsuites.
close() - Method in interface com.artima.testkit.Reporter
Release any non-memory finite resources, such as file handles, held by this Reporter.
com.artima.testkit - package com.artima.testkit
Provides classes and interfaces that simplify the job of building conformance test kits and unit tests for Java APIs.
Config - class com.artima.testkit.Config.
Class whose instances serve to configure reporters.

E

execute(Reporter) - Method in class com.artima.testkit.Suite
Execute this suite object.
executeSubSuites(Reporter) - Method in class com.artima.testkit.Suite
Execute zero to many of this suite object's subsuites.
executeTestMethods(Reporter) - Method in class com.artima.testkit.Suite
Execute zero to many of this suite object's test methods.

F

fail() - Static method in class com.artima.testkit.Suite
Throws TestFailedException to indicate a test failed.
fail(String) - Static method in class com.artima.testkit.Suite
Throws TestFailedException, with the passed String message as the exception's detail message, to indicate a test failed.
fail(String, Throwable) - Static method in class com.artima.testkit.Suite
Throws TestFailedException, with the passed String message as the exception's detail message and Throwable cause, to indicate a test failed.
fail(Throwable) - Static method in class com.artima.testkit.Suite
Throws TestFailedException, with the passed Throwable cause, to indicate a test failed.

G

getCause() - Method in class com.artima.testkit.TestFailedException
Returns the cause of this TestFailedException, or null if the cause is nonexistent or unknown.
getDate() - Method in class com.artima.testkit.Report
Get the Date embedded in this Report.
getMessage() - Method in class com.artima.testkit.Report
Get a String message.
getName() - Method in class com.artima.testkit.Report
Get a String name of the entity about which this Report was generated.
getRerunnable() - Method in class com.artima.testkit.Report
Get a Rerunnable that can be used to rerun the test or other entity reported about by this Report, or null if the test or other entity cannot be rerun.
getSource() - Method in class com.artima.testkit.Report
Get the object that generated this report.
getSubSuites() - Method in class com.artima.testkit.Suite
Get an unmodifiable List of this Suite object's subsuites.
getSuiteName() - Method in class com.artima.testkit.Suite
Get a user-friendly suite name for this Suite object.
getTestCount() - Method in class com.artima.testkit.Suite
Get the total number of tests that are expected to run when this suite object's execute method is invoked.
getTestName(String) - Method in class com.artima.testkit.Suite
Get a user-friendly test name for this Suite object's test method, whose simple String name is passed as testMethodName.
getThread() - Method in class com.artima.testkit.Report
Get the Thread about whose activity this Report was generated.
getThrowable() - Method in class com.artima.testkit.Report
Get a Throwable that indicated the condition reported by this Report.

I

infoProvided(Report) - Method in interface com.artima.testkit.Reporter
Provides information that is not appropriate to report via any other Reporter method.
initCause(Throwable) - Method in class com.artima.testkit.TestFailedException
Initializes the cause of this TestFailedException to the specified value.
isStopRequested() - Static method in class com.artima.testkit.Suite
Gets the boolean stopRequested property.

M

main(String[]) - Static method in class com.artima.testkit.Runner
App that runs a suite of tests.

R

Report - class com.artima.testkit.Report.
Class used to send reports to a reporter.
REPORT_INFO_PROVIDED - Static variable in class com.artima.testkit.Config
Report infoProvided method invocations.
REPORT_RUN_ABORTED - Static variable in class com.artima.testkit.Config
Report runAborted method invocations.
REPORT_RUN_COMPLETED - Static variable in class com.artima.testkit.Config
Report runCompleted method invocations.
REPORT_RUN_STARTING - Static variable in class com.artima.testkit.Config
Report runStarting method invocations.
REPORT_RUN_STOPPED - Static variable in class com.artima.testkit.Config
Report runComleted method invocations.
REPORT_SUITE_ABORTED - Static variable in class com.artima.testkit.Config
Report suiteAborted method invocations.
REPORT_SUITE_COMPLETED - Static variable in class com.artima.testkit.Config
Report suiteCompleted method invocations.
REPORT_SUITE_STARTING - Static variable in class com.artima.testkit.Config
Report suiteStarting method invocations.
REPORT_TEST_FAILED - Static variable in class com.artima.testkit.Config
Report testFailed method invocations.
REPORT_TEST_STARTING - Static variable in class com.artima.testkit.Config
Report testStarting method invocations.
REPORT_TEST_SUCCEEDED - Static variable in class com.artima.testkit.Config
Report testSucceeded method invocations.
Report(Object, String, String) - Constructor for class com.artima.testkit.Report
Constructs a new Report with specified source, name, and message.
Report(Object, String, String, Rerunnable) - Constructor for class com.artima.testkit.Report
Constructs a new Report with specified source, name, message, and rerunnable.
Report(Object, String, String, Throwable) - Constructor for class com.artima.testkit.Report
Constructs a new Report with specified source, name, message, and throwable.
Report(Object, String, String, Throwable, Rerunnable) - Constructor for class com.artima.testkit.Report
Constructs a new Report with specified source, name, message, throwable, and rerunnable.
Report(Object, String, String, Throwable, Rerunnable, Thread, Date) - Constructor for class com.artima.testkit.Report
Constructs a new Report with specified source, name, message, throwable, rerunnable, thread, and date.
Reporter - interface com.artima.testkit.Reporter.
Interface implemented by objects that collect test results as the tests execute and report those results.
rerun(Reporter, ClassLoader) - Method in interface com.artima.testkit.Rerunnable
Rerun a test or other entity, reporting results to the specified Reporter.
Rerunnable - interface com.artima.testkit.Rerunnable.
Interface implemented by objects that can rerun tests or other entities.
runAborted(Report) - Method in interface com.artima.testkit.Reporter
Indicates a runner encountered an error while attempting to run a suite of tests.
runCompleted() - Method in interface com.artima.testkit.Reporter
Indicates a runner has completed running a suite of tests.
Runner - class com.artima.testkit.Runner.
Application that runs a suite of tests.
runStarting(int) - Method in interface com.artima.testkit.Reporter
Indicates a runner is about run a suite of tests.
runStopped() - Method in interface com.artima.testkit.Reporter
Indicates a runner has stopped running a suite of tests prior to completion, likely because of a stop request.

S

setConfiguration(Set) - Method in interface com.artima.testkit.Reporter
Configures this Reporter.
setStopRequested(boolean) - Static method in class com.artima.testkit.Suite
Sets the stopRequested property to the specified boolean value.
setupFixture() - Method in class com.artima.testkit.Suite
Setup the test fixture for this object's test methods.
Suite - class com.artima.testkit.Suite.
A suite consisting of zero to many test methods and zero to many subsuites.
Suite() - Constructor for class com.artima.testkit.Suite
Construct a new Suite object with no subsuites.
Suite(List) - Constructor for class com.artima.testkit.Suite
Create a new Suite object with passed subsuites.
suiteAborted(Report) - Method in interface com.artima.testkit.Reporter
Indicates the execution of a suite of tests has aborted, likely because of an error, prior to completion.
suiteCompleted(Report) - Method in interface com.artima.testkit.Reporter
Indicates a suite of tests has completed executing.
suiteStarting(Report) - Method in interface com.artima.testkit.Reporter
Indicates a suite of tests is about to start executing.

T

testFailed(Report) - Method in interface com.artima.testkit.Reporter
Indicates a suite (or other entity) has completed running a test that failed.
TestFailedException - exception com.artima.testkit.TestFailedException.
Exception that indicates a test failed.
TestFailedException() - Constructor for class com.artima.testkit.TestFailedException
Create a TestFailedException with no detail message.
TestFailedException(String) - Constructor for class com.artima.testkit.TestFailedException
Create a TestFailedException with a detail message.
TestFailedException(String, Throwable) - Constructor for class com.artima.testkit.TestFailedException
Create a TestFailedException with the specified detail message and cause.
TestFailedException(Throwable) - Constructor for class com.artima.testkit.TestFailedException
Create a TestFailedException with the specified cause.
testStarting(Report) - Method in interface com.artima.testkit.Reporter
Indicates a suite (or other entity) is about to start a test.
testSucceeded(Report) - Method in interface com.artima.testkit.Reporter
Indicates a suite (or other entity) has completed running a test that succeeded.
toString() - Method in class com.artima.testkit.Config
Returns a String whose value is the name of its constant, for example, the Config.REPORT_RUN_STARTING constant's toString method returns "REPORT_RUN_STARTING".

V

verify(boolean) - Static method in class com.artima.testkit.Suite
Verify that a boolean condition is true.
verify(boolean, String) - Static method in class com.artima.testkit.Suite
Verify that a boolean condition, described in String message, is true.

A C E F G I M R S T V