Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Unified Diff: third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html

Issue 2857803002: Shape Detection: reconnect LayoutTests (Closed)
Patch Set: Removed expectation files and corrected shapedetection-empty-input test Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html
diff --git a/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html b/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html
index e84cbf2123399920946a4a30f83dac15511ae82f..25636bb392b10611eaf5348482e858c5d9611fca 100644
--- a/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html
+++ b/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html
@@ -36,7 +36,7 @@ var createTestForImageElement = function(createDetector, mockReady,
assert_unreached("Error during detect(img): " + error);
});
- }, "Detector detect(HTMLImageElement)");
+ });
};
function FaceDetectorDetectionResultTest(detectionResult, mock) {
@@ -63,19 +63,19 @@ function TextDetectorDetectionResultTest(detectionResult, mock) {
// Use the mock mojo server implemented in mock-{barcode,face}detection.js.
generate_tests(createTestForImageElement, [
[
- "Face",
+ "Face - detect(HTMLImageElement)",
() => { return new FaceDetector(); },
() => { return mockFaceDetectionProviderReady; },
FaceDetectorDetectionResultTest
],
[
- "Barcode",
+ "Barcode - detect(HTMLImageElement)",
() => { return new BarcodeDetector(); },
() => { return mockBarcodeDetectionReady; },
BarcodeDetectorDetectionResultTest
],
[
- "Text",
+ "Text - detect(HTMLImageElement)",
() => { return new TextDetector(); },
() => { return mockTextDetectionReady; },
TextDetectorDetectionResultTest

Powered by Google App Engine
This is Rietveld 408576698