|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.report.KflSorter.TestDiff
public static class KflSorter.TestDiff
Created for each result which somehow does not match what was expected based on the KFL. Using this class allows the analysis to be done once then queried again and again for different purposes.
Constructor Summary | |
---|---|
KflSorter.TestDiff(java.lang.String url,
java.lang.String tc,
TestResult tr,
KflSorter.Transitions type)
|
|
KflSorter.TestDiff(java.lang.String url,
TestResult tr,
KflSorter.Transitions type)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
KnownFailuresList.Entry |
getKflEntry()
Not normally used, but can be used as a secondary way to get the associated KFL entry. |
java.lang.String |
getName()
Get the full name for this entry, including the test case. |
java.lang.String |
getTestCase()
Get the list of the test case(s). |
java.lang.String |
getTestName()
Get the name of the test involved in this diff, not including the test case portion if that applies. |
TestResult |
getTestResult()
|
boolean |
isTestMismatch()
Is the mismatch concerning the test's main result? |
void |
setKflEntry(KnownFailuresList.Entry e)
Not normally used, but can be used as a backup if there is a special case where looking up the entry later would fail. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KflSorter.TestDiff(java.lang.String url, TestResult tr, KflSorter.Transitions type)
public KflSorter.TestDiff(java.lang.String url, java.lang.String tc, TestResult tr, KflSorter.Transitions type)
Method Detail |
---|
public TestResult getTestResult()
public boolean isTestMismatch()
public java.lang.String getName()
getTestName()
,
getTestCase()
public java.lang.String getTestName()
getName()
public java.lang.String getTestCase()
public KnownFailuresList.Entry getKflEntry()
public void setKflEntry(KnownFailuresList.Entry e)
e
- The KFL entry to associate with this diff.public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |