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

Unified Diff: third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.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-ImageData.html
diff --git a/third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html b/third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html
index 9f0b936101961997921f70ae415da24d83b8e1cf..57a563073b438133689e14fbd9eed192bdf58b18 100644
--- a/third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html
+++ b/third_party/WebKit/LayoutTests/shapedetection/detection-ImageData.html
@@ -41,7 +41,7 @@ var createTestForImageData = function(createDetector, mockReady,
}
img.src = "../media/content/greenbox.png";
- }, "Detector detect(ImageData)");
+ });
};
function FaceDetectorDetectionResultTest(detectionResult, mock) {
@@ -68,19 +68,19 @@ function TextDetectorDetectionResultTest(detectionResult, mock) {
// the mock mojo server implemented in mock-{barcode,face}detection.js.
generate_tests(createTestForImageData, [
[
- "Face - ImageData",
+ "Face - detect(ImageData)",
() => { return new FaceDetector(); },
() => { return mockFaceDetectionProviderReady; },
FaceDetectorDetectionResultTest
],
[
- "Barcode - ImageData",
+ "Barcode - detect(ImageData)",
() => { return new BarcodeDetector(); },
() => { return mockBarcodeDetectionReady; },
BarcodeDetectorDetectionResultTest
],
[
- "Text",
+ "Text - detect(ImageData)",
() => { return new TextDetector(); },
() => { return mockTextDetectionReady; },
TextDetectorDetectionResultTest

Powered by Google App Engine
This is Rietveld 408576698