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

Side by Side Diff: tests/compiler/dart2js/serialization_analysis_test.dart

Issue 1394793004: Move WorldImpact to universe/world_impact.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « tests/compiler/dart2js/exit_code_test.dart ('k') | no next file » | 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library dart2js.serialization_analysis_test; 5 library dart2js.serialization_analysis_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'package:async_helper/async_helper.dart'; 8 import 'package:async_helper/async_helper.dart';
9 import 'package:expect/expect.dart'; 9 import 'package:expect/expect.dart';
10 import 'package:compiler/src/commandline_options.dart'; 10 import 'package:compiler/src/commandline_options.dart';
11 import 'package:compiler/src/elements/elements.dart'; 11 import 'package:compiler/src/elements/elements.dart';
12 import 'package:compiler/src/compiler.dart'; 12 import 'package:compiler/src/compiler.dart';
13 import 'package:compiler/src/enqueue.dart';
14 import 'package:compiler/src/filenames.dart'; 13 import 'package:compiler/src/filenames.dart';
15 import 'package:compiler/src/serialization/serialization.dart'; 14 import 'package:compiler/src/serialization/serialization.dart';
16 import 'package:compiler/src/serialization/json_serializer.dart'; 15 import 'package:compiler/src/serialization/json_serializer.dart';
17 import 'package:compiler/src/serialization/task.dart'; 16 import 'package:compiler/src/serialization/task.dart';
17 import 'package:compiler/src/universe/world_impact.dart';
18 import 'memory_compiler.dart'; 18 import 'memory_compiler.dart';
19 19
20 const List<Test> TESTS = const <Test>[ 20 const List<Test> TESTS = const <Test>[
21 const Test(const { 21 const Test(const {
22 'main.dart': 'main() => print("Hello World");' 22 'main.dart': 'main() => print("Hello World");'
23 }), 23 }),
24 24
25 const Test(const { 25 const Test(const {
26 'main.dart': 'main() => print("Hello World", 0);' 26 'main.dart': 'main() => print("Hello World", 0);'
27 }, 27 },
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 @override 233 @override
234 WorldImpact computeWorldImpact(Element element) { 234 WorldImpact computeWorldImpact(Element element) {
235 return const WorldImpact(); 235 return const WorldImpact();
236 } 236 }
237 237
238 @override 238 @override
239 bool isDeserialized(Element element) { 239 bool isDeserialized(Element element) {
240 return deserializedLibraries.contains(element.library); 240 return deserializedLibraries.contains(element.library);
241 } 241 }
242 } 242 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/exit_code_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698