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

Unified Diff: tests/_chrome/sample_test.dart

Issue 23654055: Move dart:chrome to dart:_chrome. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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: tests/_chrome/sample_test.dart
===================================================================
--- tests/_chrome/sample_test.dart (revision 27711)
+++ tests/_chrome/sample_test.dart (working copy)
@@ -5,19 +5,19 @@
library sample_test;
import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_config.dart';
-import 'dart:chrome' as chrome;
+import 'dart:_chrome' as _chrome;
main() {
useHtmlConfiguration();
test('access', () {
- var window = chrome.app.window;
- expect(window is chrome.WindowModule, true);
+ var window = _chrome.app.window;
+ expect(window is _chrome.WindowModule, true);
});
test('fails from browser', () {
// APIs should not work in standard browser apps.
expect(() {
- chrome.app.window.create('foo.html');
+ _chrome.app.window.create('foo.html');
}, throws);
});
}

Powered by Google App Engine
This is Rietveld 408576698