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

Unified Diff: third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html

Issue 2502723002: ShapeDetection: implement barcode detection, blink part (Closed)
Patch Set: haraken@ comments Created 4 years, 1 month 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/fast/shapedetection/shapedetection-creation.html
diff --git a/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html b/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
index 62cf022ba8678c03cf927927f4761e0bbbe3def9..fcf6d531874b7faceee24275c205ff5dfc23d288 100644
--- a/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
+++ b/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
@@ -15,4 +15,16 @@ test(function() {
assert_true(faceDetector instanceof FaceDetector);
}, 'FaceDetector instance can be created.');
+// This test verifies that DetectedBarcode can be created
+test(function() {
+ var detectedBarcode = new DetectedBarcode();
+ assert_true(detectedBarcode instanceof DetectedBarcode);
+}, 'DetectedBarcode instance can be created.');
+
+// This test verifies that BarcodeDetector can be created
+test(function() {
+ var barcodeDetector = new BarcodeDetector();
+ assert_true(barcodeDetector instanceof BarcodeDetector);
+}, 'BarcodeDetector instance can be created.');
+
</script>

Powered by Google App Engine
This is Rietveld 408576698