|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.plugins.analysis.test.AnnotationDifferencerTest
public abstract class AnnotationDifferencerTest
Tests the class AnnotationDifferencer
.
Constructor Summary | |
---|---|
AnnotationDifferencerTest()
|
Method Summary | |
---|---|
abstract hudson.plugins.analysis.util.model.FileAnnotation |
createAnnotation(String fileName,
hudson.plugins.analysis.util.model.Priority priority,
String message,
String category,
String type,
int start,
int end)
Creates a new annotation. |
void |
testAnnotationFilename()
Checks whether equals works for warnings. |
void |
testDifferencer()
Checks whether differencing detects single changes (new and fixed). |
void |
testHashCodes()
Checks whether the hash codes are evaluated if similar warnings are part of new and fixed. |
void |
testWarningEquals()
Checks whether equals works for warnings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationDifferencerTest()
Method Detail |
---|
public abstract hudson.plugins.analysis.util.model.FileAnnotation createAnnotation(String fileName, hudson.plugins.analysis.util.model.Priority priority, String message, String category, String type, int start, int end)
fileName
- filename of the annotationpriority
- the prioritymessage
- the message of the warningcategory
- the warning categorytype
- the identifier of the warning typestart
- the first line of the line rangeend
- the last line of the line range
public void testAnnotationFilename()
public void testWarningEquals()
public void testDifferencer()
public void testHashCodes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |