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

Side by Side Diff: dart/tests/try/web/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/tests/try/web/paste_content_rewriting_test.dart ('k') | dart/tests/try/web/test_case.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'test_try.dart'; 5 import 'test_try.dart';
6 6
7 InteractionContext interaction; 7 InteractionContext interaction;
8 8
9 void main() { 9 void main() {
10 interaction = mockTryDartInteraction(); 10 interaction = mockTryDartInteraction();
(...skipping 14 matching lines...) Expand all
25 expectSource('Foo\nBarBaz'); 25 expectSource('Foo\nBarBaz');
26 }), 26 }),
27 27
28 ]); 28 ]);
29 } 29 }
30 30
31 void expectSource(String expected) { 31 void expectSource(String expected) {
32 String actualSource = interaction.currentCompilationUnit.content; 32 String actualSource = interaction.currentCompilationUnit.content;
33 Expect.stringEquals(expected, actualSource); 33 Expect.stringEquals(expected, actualSource);
34 } 34 }
OLDNEW
« no previous file with comments | « dart/tests/try/web/paste_content_rewriting_test.dart ('k') | dart/tests/try/web/test_case.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698