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

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

Issue 2588293005: Shape Detection: Add Text Detection in Chrome Android (Closed)
Patch Set: jochen@ comments, rebase Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src=../../resources/testharness.js></script> 2 <script src=../../resources/testharness.js></script>
3 <script src=../../resources/testharnessreport.js></script> 3 <script src=../../resources/testharnessreport.js></script>
4 <script> 4 <script>
5 5
6 // This test verifies that DetectedFace can be created 6 // This test verifies that DetectedFace can be created
7 test(function() { 7 test(function() {
8 var detectedFace = new DetectedFace(); 8 var detectedFace = new DetectedFace();
9 assert_true(detectedFace instanceof DetectedFace); 9 assert_true(detectedFace instanceof DetectedFace);
10 }, 'DetectedFace instance can be created.'); 10 }, 'DetectedFace instance can be created.');
(...skipping 22 matching lines...) Expand all
33 var detectedBarcode = new DetectedBarcode(); 33 var detectedBarcode = new DetectedBarcode();
34 assert_true(detectedBarcode instanceof DetectedBarcode); 34 assert_true(detectedBarcode instanceof DetectedBarcode);
35 }, 'DetectedBarcode instance can be created.'); 35 }, 'DetectedBarcode instance can be created.');
36 36
37 // This test verifies that BarcodeDetector can be created 37 // This test verifies that BarcodeDetector can be created
38 test(function() { 38 test(function() {
39 var barcodeDetector = new BarcodeDetector(); 39 var barcodeDetector = new BarcodeDetector();
40 assert_true(barcodeDetector instanceof BarcodeDetector); 40 assert_true(barcodeDetector instanceof BarcodeDetector);
41 }, 'BarcodeDetector instance can be created.'); 41 }, 'BarcodeDetector instance can be created.');
42 42
43 // This test verifies that DetectedText can be created
44 test(function() {
45 var detectedText = new DetectedText();
46 assert_true(detectedText instanceof DetectedText);
47 }, 'DetectedText instance can be created.');
48
49 // This test verifies that TextDetector can be created
50 test(function() {
51 var textDetector = new TextDetector();
52 assert_true(textDetector instanceof TextDetector);
53 }, 'TextDetector instance can be created.');
54
43 </script> 55 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698