- <init>
Constructs a tree model with the given test as its root.
- addFailure
Remembers a test failure
- addRunTest
Remembers that a test was run
- findTest
Finds the path to a test. Returns the index of the test in its parent test
suite.
- fireNodeChanged
Fires a node changed event
- getChild
Gets the test at the given index
- getChildCount
Gets the number of tests.
- getRoot
Returns the root of the tree
- isError
Tests whether a test was an error
- isFailure
Tests whether a test was a failure
- isTestSuite
Tests if the node is a TestSuite.
- wasRun
Returns whether a test was run