A B C D E F G I J L M N O P R S T V W X

A

addError(TestFailure) - Method in class org.baselinetest.TestResult
 
addError(TestCase, Throwable) - Method in class org.baselinetest.TestSuiteResultsListener
 
addFailure(TestFailure) - Method in class org.baselinetest.TestResult
 
addFailure(TestCase, AssertionFailedError) - Method in class org.baselinetest.TestSuiteResultsListener
 
addTestCase(TestCase) - Method in class org.baselinetest.TestSuite
 
addTestCaseStep(String) - Method in class org.baselinetest.TestSuiteResults
 
ArgumentCollection - Class in org.baselinetest
An argument collection is a map from argument names to objects.
Assert - Class in org.baselinetest
 
Assert() - Constructor for class org.baselinetest.Assert
 
assertEquals(String, Object, Object) - Static method in class org.baselinetest.Assert
Asserts that two objects are equal.
assertEquals(Object, Object) - Static method in class org.baselinetest.Assert
Asserts that two objects are equal.
assertEquals(String, String, String) - Static method in class org.baselinetest.Assert
Asserts that two Strings are equal.
assertEquals(String, String) - Static method in class org.baselinetest.Assert
Asserts that two Strings are equal.
assertEquals(String, double, double, double) - Static method in class org.baselinetest.Assert
Asserts that two doubles are equal concerning a delta.
assertEquals(double, double, double) - Static method in class org.baselinetest.Assert
Asserts that two doubles are equal concerning a delta.
assertEquals(String, float, float, float) - Static method in class org.baselinetest.Assert
Asserts that two floats are equal concerning a delta.
assertEquals(float, float, float) - Static method in class org.baselinetest.Assert
Asserts that two floats are equal concerning a delta.
assertEquals(String, long, long) - Static method in class org.baselinetest.Assert
Asserts that two longs are equal.
assertEquals(long, long) - Static method in class org.baselinetest.Assert
Asserts that two longs are equal.
assertEquals(String, boolean, boolean) - Static method in class org.baselinetest.Assert
Asserts that two booleans are equal.
assertEquals(boolean, boolean) - Static method in class org.baselinetest.Assert
Asserts that two booleans are equal.
assertEquals(String, byte, byte) - Static method in class org.baselinetest.Assert
Asserts that two bytes are equal.
assertEquals(byte, byte) - Static method in class org.baselinetest.Assert
Asserts that two bytes are equal.
assertEquals(String, char, char) - Static method in class org.baselinetest.Assert
Asserts that two chars are equal.
assertEquals(char, char) - Static method in class org.baselinetest.Assert
Asserts that two chars are equal.
assertEquals(String, short, short) - Static method in class org.baselinetest.Assert
Asserts that two shorts are equal.
assertEquals(short, short) - Static method in class org.baselinetest.Assert
Asserts that two shorts are equal.
assertEquals(String, int, int) - Static method in class org.baselinetest.Assert
Asserts that two ints are equal.
assertEquals(int, int) - Static method in class org.baselinetest.Assert
Asserts that two ints are equal.
assertFalse(String, boolean) - Static method in class org.baselinetest.Assert
Asserts that a condition is false.
assertFalse(boolean) - Static method in class org.baselinetest.Assert
Asserts that a condition is false.
AssertionFailedError - Error in org.baselinetest
 
AssertionFailedError() - Constructor for error org.baselinetest.AssertionFailedError
 
AssertionFailedError(String) - Constructor for error org.baselinetest.AssertionFailedError
 
assertNotNull(Object) - Static method in class org.baselinetest.Assert
Asserts that an object isn't null.
assertNotNull(String, Object) - Static method in class org.baselinetest.Assert
Asserts that an object isn't null.
assertNotSame(String, Object, Object) - Static method in class org.baselinetest.Assert
Asserts that two objects refer to the same object.
assertNotSame(Object, Object) - Static method in class org.baselinetest.Assert
Asserts that two objects refer to the same object.
assertNull(Object) - Static method in class org.baselinetest.Assert
Asserts that an object is null.
assertNull(String, Object) - Static method in class org.baselinetest.Assert
Asserts that an object is null.
assertSame(String, Object, Object) - Static method in class org.baselinetest.Assert
Asserts that two objects refer to the same object.
assertSame(Object, Object) - Static method in class org.baselinetest.Assert
Asserts that two objects refer to the same object.
assertTrue(String, boolean) - Static method in class org.baselinetest.Assert
Asserts that a condition is true.
assertTrue(boolean) - Static method in class org.baselinetest.Assert
Asserts that a condition is true.

B

BASELINE_OUTPUT_PREFIX - Static variable in class org.baselinetest.BaselineWriter
The prefix for baseline output files.
BASELINE_OUTPUT_SUFFIX - Static variable in class org.baselinetest.BaselineWriter
The suffix for baseline output files.
BaselineWriter - Class in org.baselinetest
A helper object for writing baseline output to the appropriate file.
BaselineWriter() - Constructor for class org.baselinetest.BaselineWriter
 
BaselineWriter(TestState) - Constructor for class org.baselinetest.BaselineWriter
 
ByteComparator - Class in org.baselinetest.comparator
A class for doing byte-by-byte comparisons for two files.
ByteComparator() - Constructor for class org.baselinetest.comparator.ByteComparator
 

C

cleanup() - Method in class org.baselinetest.TestCase
Cleanup the test case.
close() - Method in class org.baselinetest.BaselineWriter
 
compare(File, File) - Method in class org.baselinetest.comparator.ByteComparator
Perform a byte by byte comparison of the two files.
compare(File, File) - Method in class org.baselinetest.comparator.TextComparator
Perform a text comparison of the two files, ignoring EOL differences.
compare(File, File) - Method in class org.baselinetest.comparator.XMLComparator
Perform a comparison of two XML files.
compare(File, File) - Method in interface org.baselinetest.TestComparator
Compares the expected output with the actual output.
createPrettyPrintedFile(File, File) - Method in class org.baselinetest.comparator.XMLComparator
 

D

DEFAULT_CANONICAL - Static variable in class org.baselinetest.comparator.XMLComparator
Default canonical output (false).
DEFAULT_DYNAMIC_VALIDATION - Static variable in class org.baselinetest.comparator.XMLComparator
Default dynamic validation support (false).
DEFAULT_ENCODING - Static variable in class org.baselinetest.BaselineWriter
 
DEFAULT_GENERATE_SYNTHETIC_ANNOTATIONS - Static variable in class org.baselinetest.comparator.XMLComparator
Default generate synthetic schema annotations (false).
DEFAULT_LOAD_EXTERNAL_DTD - Static variable in class org.baselinetest.comparator.XMLComparator
Default load external DTD (true).
DEFAULT_NAMESPACE_PREFIXES - Static variable in class org.baselinetest.comparator.XMLComparator
Default namespace prefixes (false).
DEFAULT_NAMESPACES - Static variable in class org.baselinetest.comparator.XMLComparator
Default namespaces support (true).
DEFAULT_PARSER_NAME - Static variable in class org.baselinetest.comparator.XMLComparator
Default parser name.
DEFAULT_PARSER_NAME - Static variable in class org.baselinetest.TestRunner
 
DEFAULT_SCHEMA_FULL_CHECKING - Static variable in class org.baselinetest.comparator.XMLComparator
Default Schema full checking support (false).
DEFAULT_SCHEMA_VALIDATION - Static variable in class org.baselinetest.comparator.XMLComparator
Default Schema validation support (false).
DEFAULT_VALIDATE_ANNOTATIONS - Static variable in class org.baselinetest.comparator.XMLComparator
Default validate schema annotations (false).
DEFAULT_VALIDATION - Static variable in class org.baselinetest.comparator.XMLComparator
Default validation support (false).
DEFAULT_XINCLUDE - Static variable in class org.baselinetest.comparator.XMLComparator
Default XInclude processing support (false).
DEFAULT_XINCLUDE_FIXUP_BASE_URIS - Static variable in class org.baselinetest.comparator.XMLComparator
Default XInclude fixup base URIs support (true).
DEFAULT_XINCLUDE_FIXUP_LANGUAGE - Static variable in class org.baselinetest.comparator.XMLComparator
Default XInclude fixup language support (true).
doAllWork() - Method in class org.baselinetest.TestCase
 
doWork() - Method in class org.baselinetest.TestCase
Run the test case.
DYNAMIC_VALIDATION_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Dynamic validation feature id (http://apache.org/xml/features/validation/dynamic).

E

errorCount() - Method in class org.baselinetest.TestResult
 
exceptionMessage() - Method in class org.baselinetest.TestFailure
 

F

fail(String) - Static method in class org.baselinetest.Assert
Fails a test with the given message.
fail() - Static method in class org.baselinetest.Assert
Fails a test with no message.
failedTest() - Method in class org.baselinetest.TestFailure
Gets the failed test.
failureCount() - Method in class org.baselinetest.TestResult
 
fFailedTest - Variable in class org.baselinetest.TestFailure
 
flush() - Method in class org.baselinetest.BaselineWriter
 
fThrownException - Variable in class org.baselinetest.TestFailure
 

G

GENERATE_SYNTHETIC_ANNOTATIONS_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Generate synthetic schema annotations feature id (http://apache.org/xml/features/generate-synthetic-annotations).
get(String) - Method in class org.baselinetest.TestState
Obtain the TestState value for the given name.
getArgument(String) - Method in class org.baselinetest.ArgumentCollection
Obtain the value for a given argument, only within the current context.
getArgumentCollection() - Method in class org.baselinetest.TestCase
Gets the ArgumentCollection of the current TestCaseStep during doWork(), otherwise the ArgumentCollection of the TestCase.
getArgumentCollection() - Method in class org.baselinetest.TestCaseStep
Gets the argument collection for this TestCaseStep.
getBaselineWriter() - Method in class org.baselinetest.TestSuite
Get the BaselineWriter.
getBody() - Method in class org.baselinetest.TestCaseStepFailure
 
getCaseArguments() - Method in class org.baselinetest.TestCase
Gets the ArgumentCollection for this TestCase.
getContextArguments() - Method in class org.baselinetest.TestContext
Get the ArgumentCollection for this TestContext.
getContextDir() - Method in class org.baselinetest.TestCase
Gets the directory for the context used to invoke this TestCase.
getContextDir() - Method in class org.baselinetest.TestContext
Get the directory for the TestContext.
getContextName() - Method in class org.baselinetest.TestSuiteResults
 
getCurrentTestCase() - Method in class org.baselinetest.TestSuite
Get the current TestCase.
getCurrentTestCaseStep() - Method in class org.baselinetest.TestCase
Gets the currently running TestCaseStep during doWork().
getEnvironmentArgumentCollection() - Method in class org.baselinetest.TestContext
Get the ArgumentCollection containing environment variables.
getErrors() - Method in class org.baselinetest.TestResult
 
getFailures() - Method in class org.baselinetest.TestResult
 
getInheritedArgument(String) - Method in class org.baselinetest.ArgumentCollection
Obtain the value for a given argument, within the current context or any inherited context.
getInheritedArguments() - Method in class org.baselinetest.ArgumentCollection
 
getInheritedFile(String) - Method in class org.baselinetest.TestCase
Obtain a file with the given name.
getMessage() - Method in class org.baselinetest.TestCaseStepFailure
 
getName() - Method in class org.baselinetest.TestContext
Get the name of the context.
getResultsDir() - Method in class org.baselinetest.TestCase
Gets the directory for the test results for the test suite.
getResultsDir() - Method in class org.baselinetest.TestSuite
Gets the directory for the test results for the test suite.
getStepName() - Method in class org.baselinetest.TestCaseStep
 
getSubstitution(String, Object) - Method in class org.baselinetest.TestState
 
getSuiteArguments() - Method in class org.baselinetest.TestSuite
Get the arguments for the TestSuite.
getSuiteDir() - Method in class org.baselinetest.TestCase
Gets the directory for the TestSuite.
getSuiteDir() - Method in class org.baselinetest.TestSuite
Gets the directory for the TestSuite.
getSuiteName() - Method in class org.baselinetest.TestSuiteResults
 
getSuiteResults() - Method in class org.baselinetest.TestSuite
 
getTestCase() - Method in class org.baselinetest.TestCaseStep
Gets the parent TestCase.
getTestCaseErrors() - Method in class org.baselinetest.TestSuiteResults
 
getTestCaseFailures() - Method in class org.baselinetest.TestSuiteResults
 
getTestCaseNumber() - Method in class org.baselinetest.TestCase
 
getTestCases() - Method in class org.baselinetest.TestSuiteResults
 
getTestCaseTimes() - Method in class org.baselinetest.TestSuiteResults
 
getTestContext() - Method in class org.baselinetest.TestSuite
Get the TestContext.
getTestLogger() - Method in class org.baselinetest.TestSuite
Get the TestLogger for this TestSuite.
getTestState() - Method in class org.baselinetest.TestCase
Gets the TestState for the current TestSuite.
getTestState() - Method in class org.baselinetest.TestSuite
Get the current TestState.
getTestSuite() - Method in class org.baselinetest.TestCase
Gets the current TestSuite.
getTimeInSeconds() - Method in class org.baselinetest.TestSuiteResults
 
getType() - Method in class org.baselinetest.TestCaseStepFailure
 

I

init() - Method in class org.baselinetest.TestCase
Initialize the test case.
isFailure() - Method in class org.baselinetest.TestFailure
 
isSkipped() - Method in class org.baselinetest.TestSuite
Gets the skipped flag.
isSuiteSkipped() - Method in class org.baselinetest.TestSuiteResults
 
iterator() - Method in class org.baselinetest.TestState
Return an iterator to the entries contained within the TestState.

J

JUnitXMLSerializer - Class in org.baselinetest
 
JUnitXMLSerializer(File, String, String) - Constructor for class org.baselinetest.JUnitXMLSerializer
 

L

LEXICAL_HANDLER_PROPERTY_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Lexical handler property id (http://xml.org/sax/properties/lexical-handler).
LOAD_EXTERNAL_DTD_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Load external DTD feature id (http://apache.org/xml/features/nonvalidating/load-external-dtd).
log(String) - Method in class org.baselinetest.TestCase
Output a message to the execution logs.
log(Throwable) - Method in class org.baselinetest.TestCase
Output a throwable to the execution logs.
LOGGER_OUTPUT_PREFIX - Static variable in class org.baselinetest.TestLogger
The prefix for log output files.
LOGGER_OUTPUT_SUFFIX - Static variable in class org.baselinetest.TestLogger
The suffix for log output files.
logThrowable(Throwable) - Method in class org.baselinetest.TestLogger
Log a throwable to the execution logs.

M

main(String[]) - Static method in class org.baselinetest.TestRunner
Invoke the TestRunner.
main(String[]) - Static method in class org.baselinetest.TestValidator
Invoke the TestRunner.
main(String[]) - Static method in class org.baselinetest.TestValidator2
Invoke the TestRunner.

N

NAMESPACE_PREFIXES_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Namespace prefixes feature id (http://xml.org/sax/features/namespace-prefixes).
NAMESPACES_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Namespaces feature id (http://xml.org/sax/features/namespaces).

O

org.baselinetest - package org.baselinetest
The core of the Baseline Test Framework.
org.baselinetest.comparator - package org.baselinetest.comparator
Comparators for the different types of baseline output files.

P

print(boolean) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
print(int) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
print(long) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
print(short) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
print(Object) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
print(boolean) - Method in class org.baselinetest.TestCase
Add to the baseline output.
print(int) - Method in class org.baselinetest.TestCase
Add to the baseline output.
print(long) - Method in class org.baselinetest.TestCase
Add to the baseline output.
print(short) - Method in class org.baselinetest.TestCase
Add to the baseline output.
print(Object) - Method in class org.baselinetest.TestCase
Add to the baseline output.
print(Object) - Method in class org.baselinetest.TestLogger
Override the BaselineWriter implementation to flush the buffer after every print operation.
println() - Method in class org.baselinetest.BaselineWriter
Add a CR to the baseline output.
println(boolean) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
println(int) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
println(long) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
println(short) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
println(Object) - Method in class org.baselinetest.BaselineWriter
Add to the baseline output.
println() - Method in class org.baselinetest.TestCase
Add a CR to the baseline output.
println(boolean) - Method in class org.baselinetest.TestCase
Add to the baseline output.
println(int) - Method in class org.baselinetest.TestCase
Add to the baseline output.
println(long) - Method in class org.baselinetest.TestCase
Add to the baseline output.
println(short) - Method in class org.baselinetest.TestCase
Add to the baseline output.
println(Object) - Method in class org.baselinetest.TestCase
Add to the baseline output.
println() - Method in class org.baselinetest.TestLogger
Override the BaselineWriter implementation to flush the buffer after every println operation.
println(Object) - Method in class org.baselinetest.TestLogger
Override the BaselineWriter implementation to flush the buffer after every println operation.
printlnSubstitution(String, Object) - Method in class org.baselinetest.BaselineWriter
 
printlnSubstitution(String, Object) - Method in class org.baselinetest.TestCase
 
printSubstitution(String, Object) - Method in class org.baselinetest.BaselineWriter
 
printSubstitution(String, Object) - Method in class org.baselinetest.TestCase
Print the substituted version of this object
put(String, Object) - Method in class org.baselinetest.TestState
Put the name-object pair into the TestState.

R

run(TestResult) - Method in class org.baselinetest.TestCase
 

S

SCHEMA_FULL_CHECKING_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Schema full checking feature id (http://apache.org/xml/features/validation/schema-full-checking).
SCHEMA_VALIDATION_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Schema validation feature id (http://apache.org/xml/features/validation/schema).
serializeTestSuiteResults(TestSuiteResults) - Method in class org.baselinetest.JUnitXMLSerializer
 
setStepName(String) - Method in class org.baselinetest.TestCaseStep
 
setSubstitution(String, String, Object) - Method in class org.baselinetest.TestState
 
setSuiteResults(TestSuiteResults) - Method in class org.baselinetest.TestSuite
 
setSuiteSkipped(boolean) - Method in class org.baselinetest.TestSuiteResults
 
setSuiteTime(Double) - Method in class org.baselinetest.TestSuiteResults
 
setTestCaseNumber(int) - Method in class org.baselinetest.TestCase
 
setTestCaseStepError(String, String, String, String) - Method in class org.baselinetest.TestSuiteResults
 
setTestCaseStepError(String, Throwable) - Method in class org.baselinetest.TestSuiteResults
 
setTestCaseStepFailure(String, String, String, String) - Method in class org.baselinetest.TestSuiteResults
 
setTestCaseStepFailure(String, AssertionFailedError) - Method in class org.baselinetest.TestSuiteResults
 
setTimeForTestCaseStep(String, Double) - Method in class org.baselinetest.TestSuiteResults
 
SUITE_TEST_RUN - Static variable in class org.baselinetest.JUnitXMLSerializer
 
SUITE_VALIDATION - Static variable in class org.baselinetest.JUnitXMLSerializer
 
supportsContext(String) - Method in class org.baselinetest.TestSuite
Check whether the given context is supported by this TestSuite.

T

TestCase - Class in org.baselinetest
A TestCase represents one of the TestCase classes that is used to comprise a TestSuite.
TestCase(TestSuite) - Constructor for class org.baselinetest.TestCase
 
TestCaseStep - Class in org.baselinetest
A TestCaseStep represents a single invocation of a TestCase, and it's associated arguments that are specific to that invocation.
TestCaseStepFailure - Class in org.baselinetest
 
TestCaseStepFailure(String, String, String) - Constructor for class org.baselinetest.TestCaseStepFailure
 
TestComparator - Interface in org.baselinetest
TestComparator is used to take an actual output file and validate it against an expected output file.
TestContext - Class in org.baselinetest
The context under which a test suite has been executed.
TestFailure - Class in org.baselinetest
A TestFailure collects a failed test together with the caught exception.
TestFailure(TestCase, Throwable) - Constructor for class org.baselinetest.TestFailure
Constructs a TestFailure with the given test and exception.
TestLogger - Class in org.baselinetest
 
TestResult - Class in org.baselinetest
 
TestResult() - Constructor for class org.baselinetest.TestResult
 
TestRunner - Class in org.baselinetest
Runs TestSuites under a given TestContext.
TestState - Class in org.baselinetest
A mutable state passing mechanism between test cases.
TestSuite - Class in org.baselinetest
Need to execute init and cleanup in reverse order of each other.
TestSuite(TestContext, File, File, Set<String>, boolean, String) - Constructor for class org.baselinetest.TestSuite
 
TestSuite(TestContext, File, File, Set<String>, boolean) - Constructor for class org.baselinetest.TestSuite
 
TestSuiteResults - Class in org.baselinetest
 
TestSuiteResults(String, String) - Constructor for class org.baselinetest.TestSuiteResults
 
TestSuiteResultsListener - Class in org.baselinetest
 
TestSuiteResultsListener(TestSuiteResults) - Constructor for class org.baselinetest.TestSuiteResultsListener
 
TestValidator - Class in org.baselinetest
Validates baseline output for TestSuites that were run under a given TestContext.
TestValidator2 - Class in org.baselinetest
Validates baseline output for TestSuites that were run under a given TestContext.
TextComparator - Class in org.baselinetest.comparator
A class for doing textual comparisons that ignore EOL differences.
TextComparator() - Constructor for class org.baselinetest.comparator.TextComparator
 
thrownException() - Method in class org.baselinetest.TestFailure
Gets the thrown exception.
toString() - Method in class org.baselinetest.TestFailure
Returns a short description of the failure.
trace() - Method in class org.baselinetest.TestFailure
 

V

VALIDATE_ANNOTATIONS_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Validate schema annotations feature id (http://apache.org/xml/features/validate-annotations)
VALIDATION_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
Validation feature id (http://xml.org/sax/features/validation).

W

wasSuccessful() - Method in class org.baselinetest.TestResult
 
write(char[], int, int) - Method in class org.baselinetest.BaselineWriter
 

X

XINCLUDE_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
XInclude feature id (http://apache.org/xml/features/xinclude).
XINCLUDE_FIXUP_BASE_URIS_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
XInclude fixup base URIs feature id (http://apache.org/xml/features/xinclude/fixup-base-uris).
XINCLUDE_FIXUP_LANGUAGE_FEATURE_ID - Static variable in class org.baselinetest.comparator.XMLComparator
XInclude fixup language feature id (http://apache.org/xml/features/xinclude/fixup-language).
XMLComparator - Class in org.baselinetest.comparator
A class for comparing XML files for differences.
XMLComparator() - Constructor for class org.baselinetest.comparator.XMLComparator
 

A B C D E F G I J L M N O P R S T V W X

Copyright © 2005-2009 Baseline Test. All Rights Reserved.