Index: test/codegen/expect/lib/html/geolocation_test.js |
diff --git a/test/codegen/expect/lib/html/geolocation_test.js b/test/codegen/expect/lib/html/geolocation_test.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a775ccaa3cd2f9fd7a13f4ba21fc2823156908dd |
--- /dev/null |
+++ b/test/codegen/expect/lib/html/geolocation_test.js |
@@ -0,0 +1,25 @@ |
+dart_library.library('lib/html/geolocation_test', null, /* Imports */[ |
+ 'dart_sdk', |
+ 'unittest' |
+], function load__geolocation_test(exports, dart_sdk, unittest) { |
+ 'use strict'; |
+ const core = dart_sdk.core; |
+ const html = dart_sdk.html; |
+ const dart = dart_sdk.dart; |
+ const dartx = dart_sdk.dartx; |
+ const html_config = unittest.html_config; |
+ const unittest$ = unittest.unittest; |
+ const src__matcher__expect = unittest.src__matcher__expect; |
+ const src__matcher__core_matchers = unittest.src__matcher__core_matchers; |
+ const geolocation_test = Object.create(null); |
+ let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
+ geolocation_test.main = function() { |
+ html_config.useHtmlConfiguration(); |
+ unittest$.test('is not null', dart.fn(() => { |
+ src__matcher__expect.expect(html.window[dartx.navigator][dartx.geolocation], src__matcher__core_matchers.isNotNull); |
+ }, VoidTodynamic())); |
+ }; |
+ dart.fn(geolocation_test.main, VoidTodynamic()); |
+ // Exports: |
+ exports.geolocation_test = geolocation_test; |
+}); |