public abstract class AnnotationDifferencerTest extends Object
IssueDifference.| Constructor and Description |
|---|
AnnotationDifferencerTest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 rangepublic void testAnnotationFilename()
public void testWarningEquals()
public void testDifferencer()
public void testHashCodes()
Copyright © 2004-2017. All Rights Reserved.