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

Unified Diff: tests/_chrome/sample_test.dart

Issue 2976313002: Delete old tests that aren't used and/or useful any more. (Closed)
Patch Set: Resurrect dummy_compiler_test and recursive_import_test. Created 3 years, 5 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
diff --git a/tests/_chrome/sample_test.dart b/tests/_chrome/sample_test.dart
deleted file mode 100644
index 91423fd38d5d0fa3c299bdaa149fe8722c2f546c..0000000000000000000000000000000000000000
--- a/tests/_chrome/sample_test.dart
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library sample_test;
-
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
-import 'dart:_chrome' as _chrome;
-
-main() {
- useHtmlConfiguration();
- test('access', () {
- 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('IntentionallyMissingFile.html');
- }, throws);
- });
-}

Powered by Google App Engine
This is Rietveld 408576698