public static final class KnownFailuresList.Entry
extends java.lang.Object
implements java.lang.Comparable
Constructor and Description |
---|
KnownFailuresList.Entry(java.lang.String u,
java.lang.String tc,
int[] b,
java.lang.String[] p,
java.lang.String s)
Create an ExcludeList entry.
|
KnownFailuresList.Entry(java.lang.String u,
java.lang.String tc,
java.lang.String[] b,
java.lang.String s)
Create an ExcludeList entry.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
containsTestCase(java.lang.String s) |
boolean |
equals(java.lang.Object o)
Compare this entry against another.
|
int[] |
getBugIds()
Get the set of bug IDs referenced by this entry.
|
java.lang.String[] |
getBugIdStrings()
Get the set of bug IDs referenced by this entry.
|
java.lang.String |
getNotes()
Get a short description associated with this entry.
|
java.lang.String |
getRelativeURL()
Get the relative URL identifying the test referenced by this entry.
|
java.lang.String[] |
getTestCaseList()
Get the same data as getTestCases(), but split into many Strings
This method is costly, so use with care.
|
java.lang.String |
getTestCases()
Get the (possibly empty) list of test cases for this entry.
|
int |
hashCode() |
static KnownFailuresList.Entry |
read(java.lang.String text)
Create an entry from a string.
|
java.lang.String |
toString() |
public KnownFailuresList.Entry(java.lang.String u, java.lang.String tc, java.lang.String[] b, java.lang.String s)
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.s
- A short synopsis of the reasons why the test is excluded.public KnownFailuresList.Entry(java.lang.String u, java.lang.String tc, int[] b, java.lang.String[] p, java.lang.String s)
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.public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean containsTestCase(java.lang.String s)
public java.lang.String getRelativeURL()
public java.lang.String getTestCases()
public java.lang.String[] getTestCaseList()
public int[] getBugIds()
public java.lang.String[] getBugIdStrings()
public java.lang.String getNotes()
public static KnownFailuresList.Entry read(java.lang.String text) throws KnownFailuresList.Fault
text
- The text to be readExcludeList.Fault
- if there is a problem reading the entry.KnownFailuresList.Fault
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare againstpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.