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

Side by Side Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java

Issue 11260031: Issue 6202. Remove support for 'Dynamic'. Add Clean Up to rename to 'dynamic'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 package com.google.dart.compiler.end2end.inc; 4 package com.google.dart.compiler.end2end.inc;
5 5
6 import com.google.common.collect.Lists; 6 import com.google.common.collect.Lists;
7 import com.google.common.collect.Maps; 7 import com.google.common.collect.Maps;
8 import com.google.common.collect.Sets; 8 import com.google.common.collect.Sets;
9 import com.google.dart.compiler.CompilerTestCase; 9 import com.google.dart.compiler.CompilerTestCase;
10 import com.google.dart.compiler.DartCompilationError; 10 import com.google.dart.compiler.DartCompilationError;
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 "// filler filler filler filler filler filler filler filler filler f iller filler", 1407 "// filler filler filler filler filler filler filler filler filler f iller filler",
1408 "library A;", 1408 "library A;",
1409 "")); 1409 ""));
1410 appSource.setContent( 1410 appSource.setContent(
1411 APP, 1411 APP,
1412 makeCode( 1412 makeCode(
1413 "// filler filler filler filler filler filler filler filler filler f iller filler", 1413 "// filler filler filler filler filler filler filler filler filler f iller filler",
1414 "library application;", 1414 "library application;",
1415 "import 'A.dart' as abstract;", 1415 "import 'A.dart' as abstract;",
1416 "import 'A.dart' as as;", 1416 "import 'A.dart' as as;",
1417 "import 'A.dart' as Dynamic;", 1417 "import 'A.dart' as dynamic;",
1418 "import 'A.dart' as export;", 1418 "import 'A.dart' as export;",
1419 "import 'A.dart' as external;", 1419 "import 'A.dart' as external;",
1420 "import 'A.dart' as factory;", 1420 "import 'A.dart' as factory;",
1421 "import 'A.dart' as get;", 1421 "import 'A.dart' as get;",
1422 "import 'A.dart' as implements;", 1422 "import 'A.dart' as implements;",
1423 "import 'A.dart' as import;", 1423 "import 'A.dart' as import;",
1424 "import 'A.dart' as library;", 1424 "import 'A.dart' as library;",
1425 "import 'A.dart' as operator;", 1425 "import 'A.dart' as operator;",
1426 "import 'A.dart' as part;", 1426 "import 'A.dart' as part;",
1427 "import 'A.dart' as set;", 1427 "import 'A.dart' as set;",
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 private void didWrite(String sourceName, String extension) { 1575 private void didWrite(String sourceName, String extension) {
1576 String spec = sourceName + "/" + extension; 1576 String spec = sourceName + "/" + extension;
1577 assertTrue("Expected write: " + spec, provider.writes.contains(spec)); 1577 assertTrue("Expected write: " + spec, provider.writes.contains(spec));
1578 } 1578 }
1579 1579
1580 private void didNotWrite(String sourceName, String extension) { 1580 private void didNotWrite(String sourceName, String extension) {
1581 String spec = sourceName + "/" + extension; 1581 String spec = sourceName + "/" + extension;
1582 assertFalse("Didn't expect write: " + spec, provider.writes.contains(spec)); 1582 assertFalse("Didn't expect write: " + spec, provider.writes.contains(spec));
1583 } 1583 }
1584 } 1584 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698