|
|
|
|
|
|
AssertJsonFileEquals(annotationDefinitionsJsonExpected, annotationDefinitionsPath); |
|
|
|
|
|
|
|
FileAssert.Exists(capturesPath); |
|
|
|
StringAssert.Contains(annotationsJsonExpected, EscapeGuids(File.ReadAllText(capturesPath))); |
|
|
|
StringAssert.Contains(TestHelper.NormalizeJson(annotationsJsonExpected), EscapeGuids(File.ReadAllText(capturesPath))); |
|
|
|
} |
|
|
|
|
|
|
|
[Test] |
|
|
|
|
|
|
var capturesPath = Path.Combine(DatasetCapture.OutputDirectory, "captures_000.json"); |
|
|
|
|
|
|
|
FileAssert.Exists(capturesPath); |
|
|
|
StringAssert.Contains(expectedAnnotation, EscapeGuids(File.ReadAllText(capturesPath))); |
|
|
|
StringAssert.Contains(TestHelper.NormalizeJson(expectedAnnotation), EscapeGuids(File.ReadAllText(capturesPath))); |
|
|
|
} |
|
|
|
|
|
|
|
[Test] |
|
|
|