Index: third_party/WebKit/LayoutTests/sensor/mock-sensor.html |
diff --git a/third_party/WebKit/LayoutTests/sensor/mock-sensor.html b/third_party/WebKit/LayoutTests/sensor/mock-sensor.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d1ed248cfa9ae6b63521f3bd51e6ff6a6f879c2 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/sensor/mock-sensor.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script src="../resources/testharness-helpers.js"></script> |
+<script src="../resources/mojo-helpers.js"></script> |
+<script src="resources/sensor-helpers.js"></script> |
+<script> |
+ |
+'use strict'; |
+ |
+sensor_test(sensor => { |
+ assert_true(sensor instanceof Object); |
+ assert_true(sensor.mockSensorFactory instanceof Object); |
+}, 'Sensor Mojo bindings and mock interfaces are available to tests.') |
+</script> |