// for some reason, when running on Hudson, we get two identical
// markers...
final String path = (String) marker
.getAttribute(DialyzerMarkerUtils.PATH_ATTRIBUTE);
final IPath p = new Path(path);
assertEquals(externalFileName, p.lastSegment());
assertEquals(lineNumber, marker.getAttribute(IMarker.LINE_NUMBER));
assertEquals(message, marker.getAttribute(IMarker.MESSAGE));
}
} finally {
DialyzerMarkerUtils.removeDialyzerMarkersFor(root);