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

Unified Diff: dart/tests/try/internal_error_test.dart

Issue 386563002: Add "point of interest" app for command-line testing of dart2js type information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « dart/tests/try/end_to_end_test.dart ('k') | dart/tests/try/mock_try.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/try/internal_error_test.dart
diff --git a/dart/tests/try/internal_error_test.dart b/dart/tests/try/internal_error_test.dart
deleted file mode 100644
index 9cad55eeec18458dbe3979cc545c65417b48e6cd..0000000000000000000000000000000000000000
--- a/dart/tests/try/internal_error_test.dart
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2014, 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 trydart.internal_error_test;
-
-import 'dart:html';
-import 'dart:async';
-
-import 'package:try/src/interaction_manager.dart' show
- InteractionManager,
- TRY_DART_NEW_DEFECT;
-
-import 'package:try/src/ui.dart' show
- mainEditorPane,
- observer,
- outputDiv;
-
-import 'package:try/src/user_option.dart' show
- UserOption;
-
-import '../../pkg/expect/lib/expect.dart';
-import '../../pkg/async_helper/lib/async_helper.dart';
-
-main() {
- UserOption.storage = {};
-
- var interaction = new InteractionManager();
- mainEditorPane = new DivElement();
- outputDiv = new PreElement();
- document.body.append(mainEditorPane);
- observer = new MutationObserver((mutations, observer) {
- try {
- interaction.onMutation(mutations, observer);
- } catch (e) {
- // Ignored.
- }
- });
- observer.observe(
- mainEditorPane, childList: true, characterData: true, subtree: true);
-
- mainEditorPane.innerHtml = 'main() { print("hello"); }';
-
- interaction.currentCompilationUnit = null; // This will provoke a crash.
-
- asyncTest(() {
- return new Future(() {
- Expect.isTrue(outputDiv.text.contains(TRY_DART_NEW_DEFECT));
- });
- });
-}
« no previous file with comments | « dart/tests/try/end_to_end_test.dart ('k') | dart/tests/try/mock_try.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698