public static interface TestResultTable.TreeIterator
extends java.util.Enumeration, java.util.Iterator
remove() is not
supported.| Modifier and Type | Method and Description |
|---|---|
TestFilter[] |
getFilters()
Find out what the effective filters are.
|
java.util.HashMap<TestFilter,java.util.ArrayList<TestDescription>> |
getFilterStats()
Find out which filters rejected which tests.
|
java.lang.String[] |
getInitialURLs()
Find out what the effective initial URLs for this enumerator are.
|
int |
getRejectCount()
Find out how many tests were rejected by filters while doing iteration.
|
int[] |
getResultStats()
Find out which states the test which have been enumerated already were in.
|
boolean |
hasMoreElements() |
boolean |
hasNext() |
boolean |
isPending(TestResult node)
Will the iterator be returning the given node later.
|
java.lang.Object |
next() |
java.lang.Object |
nextElement() |
java.lang.Object |
peek()
Peek into the future to see which object will be returned next.
|
void |
remove()
Do not call this method.
|
void |
setRecordRejects(boolean state)
Should the rejected tests be tracked.
|
boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationjava.lang.Object nextElement()
nextElement in interface java.util.Enumerationboolean hasNext()
hasNext in interface java.util.Iteratorjava.lang.Object next()
next in interface java.util.Iteratorvoid remove()
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationException - Not available for this iterator.int getRejectCount()
void setRecordRejects(boolean state)
state - True to activate this feature, false to disable.getFilterStats()int[] getResultStats()
Statusjava.util.HashMap<TestFilter,java.util.ArrayList<TestDescription>> getFilterStats()
The hashtable has keys of TestResults, and values which are TestFilters. Because of CompositeFilters, the set of filters found in the ``values'' is not necessarily equivalent to those given by getFilters().
TestFilter[] getFilters()
java.lang.String[] getInitialURLs()
java.lang.Object peek()
next(),
or null if hasNext() is false.boolean isPending(TestResult node)
node - The test result indicating the location in question.Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.