Package com.sun.javatest
Class ExcludeList.Entry
java.lang.Object
com.sun.javatest.ExcludeList.Entry
- All Implemented Interfaces:
Comparable<ExcludeList.Entry>
- Enclosing class:
ExcludeList
An entry in the exclude list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Compare this entry against another.int[]
Deprecated.use getBugIdStrings() insteadString[]
Get the set of bug IDs referenced by this entry.String[]
Get the set of platforms or keywords associated with this entry.Get the relative URL identifying the test referenced by this entry.Get a short description associated with this entry.String[]
Get the same data as getTestCases(), but split into many Strings This method is costly, so use with care.Get the (possibly empty) list of test cases for this entry.int
hashCode()
static ExcludeList.Entry
Create an entry from a string.toString()
-
Constructor Details
-
Entry
Create an ExcludeList entry.- Parameters:
u
- The URL for the test, specified relative to the test suite root.tc
- One or more test cases within the test to be excluded.b
- An array of bug identifiers, justifying why the test is excluded.p
- An array of platform identifiers, on which the faults are known to occurs
- A short synopsis of the reasons why the test is excluded.
-
Entry
Deprecated.use constructor with String[] bugIDs insteadCreate an ExcludeList entry.- Parameters:
u
- The URL for the test, specified relative to the test suite root.tc
- One or more test cases within the test to be excluded.b
- An array of bug numbers, justifying why the test is excluded.p
- An array of platform identifiers, on which the faults are known to occurs
- A short synopsis of the reasons why the test is excluded.
-
-
Method Details
-
read
Create an entry from a string. The string should be formatted as though it were a line of text in an exclude file.- Parameters:
text
- The text to be read- Returns:
- the first entry read from the supplied text
- Throws:
ExcludeList.Fault
- if there is a problem reading the entry.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ExcludeList.Entry>
-
getRelativeURL
Get the relative URL identifying the test referenced by this entry.- Returns:
- the relative URL identifying the test referenced by this entry
-
getTestCases
Get the (possibly empty) list of test cases for this entry. An entry can have zero, one, or a comma separated list of TCs.- Returns:
- List, or null if there are no test cases.
-
getTestCaseList
Get the same data as getTestCases(), but split into many Strings This method is costly, so use with care.- Returns:
- The parsed comma list, or null if there are no test cases.
-
getBugIds
Deprecated.use getBugIdStrings() insteadGet the set of bug IDs referenced by this entry.- Returns:
- the bugs referenced by the entry
-
getBugIdStrings
Get the set of bug IDs referenced by this entry.- Returns:
- the bugs referenced by the entry
-
getPlatforms
Get the set of platforms or keywords associated with this entry. These should normally give details about why the test has been excluded.- Returns:
- the set of platforms or keywords associated with this entry
-
getSynopsis
Get a short description associated with this entry. This should normally give details about why the test has been excluded.- Returns:
- a short description associated with this entry
-
equals
Compare this entry against another. -
hashCode
public int hashCode() -
toString
-