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

Unified Diff: dart/tests/try/source_update_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/poi/poi_test.dart ('k') | dart/tests/try/test_case.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/try/source_update_test.dart
diff --git a/dart/tests/try/source_update_test.dart b/dart/tests/try/source_update_test.dart
deleted file mode 100644
index b40159a09173e6921026e9dcfb133c0d5125b1be..0000000000000000000000000000000000000000
--- a/dart/tests/try/source_update_test.dart
+++ /dev/null
@@ -1,34 +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.
-
-import 'test_try.dart';
-
-InteractionContext interaction;
-
-void main() {
- interaction = mockTryDartInteraction();
-
- runTests(<TestCase>[
-
- new TestCase('Test setting full source', () {
- clearEditorPaneWithoutNotifications();
- mainEditorPane.appendText('Foo\nBar');
- }, () {
- expectSource('Foo\nBar');
- }),
-
- new TestCase('Test modifying a single line', () {
- Element lastLine = mainEditorPane.lastChild;
- lastLine.appendText('Baz');
- }, () {
- expectSource('Foo\nBarBaz');
- }),
-
- ]);
-}
-
-void expectSource(String expected) {
- String actualSource = interaction.currentCompilationUnit.content;
- Expect.stringEquals(expected, actualSource);
-}
« no previous file with comments | « dart/tests/try/poi/poi_test.dart ('k') | dart/tests/try/test_case.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698