|
|||||||||
| Home >> All >> com >> simscomputing >> [ testbed overview ] | PREV NEXT | ||||||||
A
- abnormalFailureException - Variable in class com.simscomputing.testbed.TestResult
- accept(File) - Method in class com.simscomputing.testbed.DirectoryTester.TestCaseCollectionFileFilter
- Accept files that end in ".class" and implement TestCaseCollection
- accept(File) - Method in class com.simscomputing.testbed.FileSystemTestCaseCollection.TestCaseCollectionFileFilter
- Accept files that end in ".class" and implement TestCaseCollection
- add(TestResult) - Method in class com.simscomputing.testbed.TestResultCollection
- add(TestResultCollection) - Method in class com.simscomputing.testbed.TestResultCollection
- addTestCaseCollection(TestCaseCollection) - Method in class com.simscomputing.testbed.TestCaseCollection
- Adds a new TestCaseCollection to the list of related TestCaseCollections for this particular TestCaseCollection.
- assert(boolean, String) - Static method in class com.simscomputing.testbed.TestCaseCollection
C
- ClassTester - class com.simscomputing.testbed.ClassTester.
- Loads a class given its class name (eg, java.lang.String) and prepares to exercise it.
- ClassTester(String) - Constructor for class com.simscomputing.testbed.ClassTester
- ClearBox - class com.simscomputing.testbed.ClearBox.
- Provides access to private and protected constructors, methods, and fields in arbitrary classes.
- ClearBox() - Constructor for class com.simscomputing.testbed.ClearBox
- This class is just a collection of static methods.
- ClearBoxTest - class com.simscomputing.testbed.ClearBoxTest.
- Unit test for the ClearBox class.
- ClearBoxTest() - Constructor for class com.simscomputing.testbed.ClearBoxTest
- ClearBoxTest.PrivateClass - class com.simscomputing.testbed.ClearBoxTest.PrivateClass.
- ClearBoxTest.PrivateClass(int) - Constructor for class com.simscomputing.testbed.ClearBoxTest.PrivateClass
- classPath - Variable in class com.simscomputing.testbed.FileSystemClassLoader
- classname - Variable in class com.simscomputing.testbed.ClassTester
- clearMarkedMethods() - Method in class com.simscomputing.testbed.TestCaseCollection
- clone() - Method in class com.simscomputing.testbed.TestResult
- clone() - Method in class com.simscomputing.testbed.TestResultCollection
- com.simscomputing.testbed - package com.simscomputing.testbed
- createNewInstance(String, Class[], Object[]) - Static method in class com.simscomputing.testbed.ClearBox
- Instantiates an object with a private or protected constructor.
D
- DefaultReporter - class com.simscomputing.testbed.DefaultReporter.
- A reporter that writes its result to stdout.
- DefaultReporter() - Constructor for class com.simscomputing.testbed.DefaultReporter
- DefaultTester - class com.simscomputing.testbed.DefaultTester.
- Exercises all classes specified on the command line.
- DefaultTester() - Constructor for class com.simscomputing.testbed.DefaultTester
- DirectoryTester - class com.simscomputing.testbed.DirectoryTester.
- Exercises all class files in the specified directory.
- DirectoryTester(File, boolean) - Constructor for class com.simscomputing.testbed.DirectoryTester
- DirectoryTester.TestCaseCollectionFileFilter - class com.simscomputing.testbed.DirectoryTester.TestCaseCollectionFileFilter.
- DirectoryTester.TestCaseCollectionFileFilter() - Constructor for class com.simscomputing.testbed.DirectoryTester.TestCaseCollectionFileFilter
- debug - Variable in class com.simscomputing.testbed.FileSystemClassLoader
- didAllTestsPass() - Method in class com.simscomputing.testbed.TestResultCollection
- didNotRun - Variable in class com.simscomputing.testbed.TestResult
- didTestCaseRun() - Method in class com.simscomputing.testbed.TestResult
- didTestFail() - Method in class com.simscomputing.testbed.TestResult
- didTestFailAbnormally() - Method in class com.simscomputing.testbed.TestResult
- didTestPass() - Method in class com.simscomputing.testbed.TestResult
- Return the passed attribute.
- directory - Variable in class com.simscomputing.testbed.DirectoryTester
- directory - Variable in class com.simscomputing.testbed.FileSystemTestCaseCollection
E
- errStream - Variable in class com.simscomputing.testbed.TestResult
- Stored stream of system.err data
- examineMethods(boolean, TestResultCollection, TesterListener, int) - Method in class com.simscomputing.testbed.TestCaseCollection
- executionTimeInMilliseconds - Variable in class com.simscomputing.testbed.TestResult
- How long the test took to run in milliseconds.
- exemptClassLoader - Variable in class com.simscomputing.testbed.FileSystemClassLoader
- exemptPackagePrefixList - Variable in class com.simscomputing.testbed.FileSystemClassLoader
- exercise() - Method in class com.simscomputing.testbed.DefaultTester
- Not implemented.
- exercise() - Method in class com.simscomputing.testbed.FileSystemTestCaseCollection
- Finds all class files that extend TestCaseCollection in the specified directory and all directories underneath.
- exercise(boolean, TesterListener) - Method in class com.simscomputing.testbed.TestCaseCollection
- exercise(boolean, TesterListener, TestResultCollection, int) - Method in class com.simscomputing.testbed.TestCaseCollection
- Exercises the TestCaseCollection.
- exercise() - Method in interface com.simscomputing.testbed.Tester
- exerciseTestCase(boolean, Method, TestResultCollection, TesterListener, int, int, TestCaseCollection) - Method in class com.simscomputing.testbed.TestCaseCollection
- Exercises a single test case.
F
- FileSystemClassLoader - class com.simscomputing.testbed.FileSystemClassLoader.
- This class is almost a trivial subclass of URLClassLoader.
- FileSystemClassLoader(URL[], ClassLoader) - Constructor for class com.simscomputing.testbed.FileSystemClassLoader
- FileSystemTestCaseCollection - class com.simscomputing.testbed.FileSystemTestCaseCollection.
- FileSystemTestCaseCollection(String) - Constructor for class com.simscomputing.testbed.FileSystemTestCaseCollection
- FileSystemTestCaseCollection.TestCaseCollectionFileFilter - class com.simscomputing.testbed.FileSystemTestCaseCollection.TestCaseCollectionFileFilter.
- FileSystemTestCaseCollection.TestCaseCollectionFileFilter() - Constructor for class com.simscomputing.testbed.FileSystemTestCaseCollection.TestCaseCollectionFileFilter
- FileTester - class com.simscomputing.testbed.FileTester.
- FileTester(File) - Constructor for class com.simscomputing.testbed.FileTester
- FileTester() - Constructor for class com.simscomputing.testbed.FileTester
- For use by subclasses.
- file - Variable in class com.simscomputing.testbed.FileTester
- filtered - Variable in class com.simscomputing.testbed.TestCaseCollection
- Method names of test cases that are marked for execution.
- findExercisableClasses(File, FileFilter, ArrayList) - Method in class com.simscomputing.testbed.DirectoryTester
- findExercisableClasses(File, FileFilter, ArrayList) - Method in class com.simscomputing.testbed.FileSystemTestCaseCollection
- findField(Class, String) - Static method in class com.simscomputing.testbed.ClearBox
- Helper method for recursively finding private and protected fields.
- findMethod(Class, String, Class[]) - Static method in class com.simscomputing.testbed.ClearBox
- Helper method for recursively finding private, protected, and public methods.
- findTestResults(String) - Method in class com.simscomputing.testbed.TestResultCollection
- Returns all the test results.
G
- getClonedTestResults() - Method in class com.simscomputing.testbed.TestResultCollection
- getCumulativeTestExecutionTimeInMilliseconds() - Method in class com.simscomputing.testbed.TestResultCollection
- Returns the time it took to execute all sub-tests in Test.
- getErrStreamData() - Method in class com.simscomputing.testbed.TestResult
- getExecutionTimeInMilliseconds() - Method in class com.simscomputing.testbed.TestResult
- Return the executionTimeInMilliseconds attribute.
- getField(Object, String) - Static method in class com.simscomputing.testbed.ClearBox
- Finds a private, protected, or public field in the specified object.
- getFieldClass(Object, String) - Static method in class com.simscomputing.testbed.ClearBox
- Finds the class for a private, protected, or public field in the specified object.
- getIterator() - Method in class com.simscomputing.testbed.TestResultCollection
- getLongName() - Method in class com.simscomputing.testbed.TestResult
- getManualVerification() - Method in class com.simscomputing.testbed.ManualVerificationRequiredException
- getMethod(Object, String, Class[]) - Static method in class com.simscomputing.testbed.ClearBox
- Finds a private, protected, or public method in the specified object.
- getName() - Method in class com.simscomputing.testbed.ClassTester
- getName() - Method in class com.simscomputing.testbed.DefaultTester
- getName() - Method in class com.simscomputing.testbed.DirectoryTester
- getName() - Method in class com.simscomputing.testbed.FileTester
- getName() - Method in class com.simscomputing.testbed.TestCaseCollection
- getName() - Method in interface com.simscomputing.testbed.Tester
- getNumberOfTestCases() - Method in class com.simscomputing.testbed.TestCaseCollection
- Returns the number of test cases in this Test Case Collection and all related Test Case Collections.
- getNumberOfTests() - Method in class com.simscomputing.testbed.TestResultCollection
- Returns the number of test case results encapsulated in this object.
- getNumberOfTestsExercised() - Method in class com.simscomputing.testbed.TesterProgress
- getNumberOfTestsThatPassed() - Method in class com.simscomputing.testbed.TestResultCollection
- Returns the number of tests that passed
- getOutStreamData() - Method in class com.simscomputing.testbed.TestResult
- !!! 10-04-99 Begin D Lamy code block !!!
- getPrivateInt() - Method in class com.simscomputing.testbed.ClearBoxTest.PrivateClass
- getRelatedTestCaseCollections() - Method in class com.simscomputing.testbed.TestCaseCollection
- Returns a list of TestCaseCollection objects that are related to this TestCaseCollection.
- getTestCaseBeingExercised() - Method in class com.simscomputing.testbed.TesterProgress
- getTestCaseCollectionClassName() - Method in class com.simscomputing.testbed.TestResult
- getTestCaseMethods() - Method in class com.simscomputing.testbed.TestCaseCollection
- Returns the relevant test case methods from this test case collection.
- getTestCaseName() - Method in class com.simscomputing.testbed.TestResult
- Return the testName attribute.
- getTestExecutionTimeInMilliseconds(String) - Method in class com.simscomputing.testbed.TestResultCollection
- Returns the time it took to execute a sub-test in Test.
- getTestFailureDescription() - Method in class com.simscomputing.testbed.TestResult
- getTestFailureException() - Method in class com.simscomputing.testbed.TestResult
- Accesses the failure exception, if any.
- getTestResult(String) - Method in class com.simscomputing.testbed.TestResultCollection
- getTestResult(int) - Method in class com.simscomputing.testbed.TesterProgress
- getTotalNumberOfTestsToExercise() - Method in class com.simscomputing.testbed.TesterProgress
I
- isDone() - Method in class com.simscomputing.testbed.TesterProgress
- isMethodTestCase(Method) - Method in class com.simscomputing.testbed.TestCaseCollection
- Determines whether the specified method has the proper signature for a test case.
L
- loadClass(File) - Method in class com.simscomputing.testbed.FileSystemClassLoader
- loadClass(String, boolean) - Method in class com.simscomputing.testbed.FileSystemClassLoader
- According the JDK source, loadClass is supposed to be declared as synchronzied.
- loadSpecialClass(FileSystemClassLoader) - Method in class com.simscomputing.testbed.ClassTester
- loadSpecialClass(FileSystemClassLoader) - Method in class com.simscomputing.testbed.FileTester
- logStdError(String, String, ByteArrayOutputStream) - Method in class com.simscomputing.testbed.TestCaseCollection
- Called after each test case is run.
- logStdOut(String, String, ByteArrayOutputStream) - Method in class com.simscomputing.testbed.TestCaseCollection
- Called after each test case is run.
M
- Main - class com.simscomputing.testbed.Main.
- A simple command line interface for exercising TestCaseCollections.
- Main() - Constructor for class com.simscomputing.testbed.Main
- ManualVerification - class com.simscomputing.testbed.ManualVerification.
- ManualVerification() - Constructor for class com.simscomputing.testbed.ManualVerification
- ManualVerificationRequiredException - exception com.simscomputing.testbed.ManualVerificationRequiredException.
- ManualVerificationRequiredException(ManualVerification) - Constructor for class com.simscomputing.testbed.ManualVerificationRequiredException
- main(String[]) - Static method in class com.simscomputing.testbed.DefaultTester
- Exercises all classes specified on the command line.
- main(String[]) - Static method in class com.simscomputing.testbed.FileSystemTestCaseCollection
- main(String[]) - Static method in class com.simscomputing.testbed.Main
- main(String[]) - Static method in class com.simscomputing.testbed.StreamTestCollection
- manualVerification - Variable in class com.simscomputing.testbed.ManualVerificationRequiredException
- markForTesting(String, String) - Method in class com.simscomputing.testbed.TestCaseCollection
- markRelated(String, String) - Method in class com.simscomputing.testbed.TestCaseCollection
- markRelated() - Method in class com.simscomputing.testbed.TestCaseCollection
- marked - Variable in class com.simscomputing.testbed.TestCaseCollection
N
- NoSuchTestException - exception com.simscomputing.testbed.NoSuchTestException.
- Indicates that the specified test method does not exist.
- NoSuchTestException() - Constructor for class com.simscomputing.testbed.NoSuchTestException
- Instantiates the object.
- NoSuchTestException(String) - Constructor for class com.simscomputing.testbed.NoSuchTestException
- Constructs the object with the specified message.
- numberOfTestsExercised - Variable in class com.simscomputing.testbed.TesterProgress
O
- outStream - Variable in class com.simscomputing.testbed.TestResult
- Stored stream of system.out data
P
- passed - Variable in class com.simscomputing.testbed.TestResult
- Whether the test passed
- privateInt - Variable in class com.simscomputing.testbed.ClearBoxTest.PrivateClass
- progressMade(TesterProgress) - Method in class com.simscomputing.testbed.FileTester
- progressMade(TesterProgress) - Method in interface com.simscomputing.testbed.TesterListener
R
- Reporter - interface com.simscomputing.testbed.Reporter.
- A reporter shows the results of a test.
- Resources - class com.simscomputing.testbed.Resources.
- Storage place for various resouces used by the Test Bed.
- Resources() - Constructor for class com.simscomputing.testbed.Resources
- recursive - Variable in class com.simscomputing.testbed.DirectoryTester
- relatedTestCaseCollections - Variable in class com.simscomputing.testbed.TestCaseCollection
- report(TestResultCollection) - Method in class com.simscomputing.testbed.DefaultReporter
- Extracts test results from 'tester' and sends the results to stdout.
- report(TestResultCollection) - Method in interface com.simscomputing.testbed.Reporter
- reset() - Method in class com.simscomputing.testbed.DirectoryTester
- reset() - Method in class com.simscomputing.testbed.FileTester
- reset() - Method in class com.simscomputing.testbed.TestCaseCollection
- runTestFailure() - Method in class com.simscomputing.testbed.ClearBoxTest
- runTestGetField() - Method in class com.simscomputing.testbed.ClearBoxTest
- runTestSetField() - Method in class com.simscomputing.testbed.ClearBoxTest
- runTestSimple() - Method in class com.simscomputing.testbed.StreamTestCollection
- runTestSimple2() - Method in class com.simscomputing.testbed.StreamTestCollection
- runTestTrivial() - Method in class com.simscomputing.testbed.ClearBoxTest
- A trivial test.
- runTestTrivial2() - Method in class com.simscomputing.testbed.ClearBoxTest
S
- StreamTestCollection - class com.simscomputing.testbed.StreamTestCollection.
- StreamTestCollection(int) - Constructor for class com.simscomputing.testbed.StreamTestCollection
- second - Variable in class com.simscomputing.testbed.FileSystemClassLoader
- setField(Object, String, Object) - Static method in class com.simscomputing.testbed.ClearBox
- Sets a private, protected, or public field in the specified object.
- setup() - Method in class com.simscomputing.testbed.TestCaseCollection
- Called before each test case runs.
- setupCollection() - Method in class com.simscomputing.testbed.TestCaseCollection
- Called before any test case in a collection class runs.
- stop() - Method in class com.simscomputing.testbed.TestCaseCollection
- stopped - Variable in class com.simscomputing.testbed.TestCaseCollection
- storageUnits - Variable in class com.simscomputing.testbed.FileSystemClassLoader
T
- TEST_CASE_PREFIX - Static variable in class com.simscomputing.testbed.TestCaseCollection
- The prefix for method names that represent test cases.
- TestCaseCollection - class com.simscomputing.testbed.TestCaseCollection.
- Users of the Test Bed typically subclass this class and put their test cases in the subclass.
- TestCaseCollection() - Constructor for class com.simscomputing.testbed.TestCaseCollection
- TestFailedException - exception com.simscomputing.testbed.TestFailedException.
- Subclasses RuntimeException so it doesn't need to be declared in each test case.
- TestFailedException(String) - Constructor for class com.simscomputing.testbed.TestFailedException
- TestResult - class com.simscomputing.testbed.TestResult.
- For each test, a TestResult object indicates whether the test passed and how long the test took to execute in milliseconds.
- TestResult(TestCaseCollection, String) - Constructor for class com.simscomputing.testbed.TestResult
- TestResult(TestCaseCollection, String, boolean, long, Throwable, ByteArrayOutputStream, ByteArrayOutputStream) - Constructor for class com.simscomputing.testbed.TestResult
- Saves the results of running a test case.
- TestResultCollection - class com.simscomputing.testbed.TestResultCollection.
- Provides methods that operate against a collection of TestResult objects.
- TestResultCollection() - Constructor for class com.simscomputing.testbed.TestResultCollection
- Tester - interface com.simscomputing.testbed.Tester.
- A tester provides a user interface for testing Java classes.
- TesterException - exception com.simscomputing.testbed.TesterException.
- TesterException(String) - Constructor for class com.simscomputing.testbed.TesterException
- TesterListener - interface com.simscomputing.testbed.TesterListener.
- Provides progress information on a test case collection that is being exercised.
- TesterProgress - class com.simscomputing.testbed.TesterProgress.
- Contains a snapshot of progress made in exercising a TestCaseCollection.
- TesterProgress(int, int, String, TestResult[]) - Constructor for class com.simscomputing.testbed.TesterProgress
- teardown() - Method in class com.simscomputing.testbed.TestCaseCollection
- Called after each test case runs.
- teardownCollection() - Method in class com.simscomputing.testbed.TestCaseCollection
- Called after all test cases in a collection class have run.
- testAndReport(String[]) - Method in class com.simscomputing.testbed.DefaultTester
- testCaseBeingExercised - Variable in class com.simscomputing.testbed.TesterProgress
- testCaseCollectionClassName - Variable in class com.simscomputing.testbed.TestResult
- The name of the test case collection.
- testCaseInProgress - Variable in class com.simscomputing.testbed.TestCaseCollection
- testCaseName - Variable in class com.simscomputing.testbed.TestResult
- The name of the test case.
- testFailureDescription - Variable in class com.simscomputing.testbed.TestResult
- testResults - Variable in class com.simscomputing.testbed.TestResultCollection
- testResults - Variable in class com.simscomputing.testbed.TesterProgress
- toString() - Method in class com.simscomputing.testbed.FileSystemClassLoader
- toString() - Method in class com.simscomputing.testbed.TesterProgress
- totalNumberOfTestsToExercise - Variable in class com.simscomputing.testbed.TesterProgress
V
W
- wasStopped() - Method in class com.simscomputing.testbed.TestCaseCollection
A C D E F G I L M N O P R S T V W
|
|||||||||
| Home >> All >> com >> simscomputing >> [ testbed overview ] | PREV NEXT | ||||||||