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

Side by Side Diff: tests/compiler/dart2js/serialization/helper.dart

Issue 1934883002: Refactor unittests (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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_helper; 5 library dart2js.serialization_helper;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 import 'package:compiler/src/commandline_options.dart'; 10 import 'package:compiler/src/commandline_options.dart';
(...skipping 10 matching lines...) Expand all
21 import 'package:compiler/src/serialization/json_serializer.dart'; 21 import 'package:compiler/src/serialization/json_serializer.dart';
22 import 'package:compiler/src/serialization/modelz.dart'; 22 import 'package:compiler/src/serialization/modelz.dart';
23 import 'package:compiler/src/serialization/resolved_ast_serialization.dart'; 23 import 'package:compiler/src/serialization/resolved_ast_serialization.dart';
24 import 'package:compiler/src/serialization/serialization.dart'; 24 import 'package:compiler/src/serialization/serialization.dart';
25 import 'package:compiler/src/serialization/task.dart'; 25 import 'package:compiler/src/serialization/task.dart';
26 import 'package:compiler/src/tokens/token.dart'; 26 import 'package:compiler/src/tokens/token.dart';
27 import 'package:compiler/src/universe/call_structure.dart'; 27 import 'package:compiler/src/universe/call_structure.dart';
28 import 'package:compiler/src/universe/world_impact.dart'; 28 import 'package:compiler/src/universe/world_impact.dart';
29 import 'package:compiler/src/universe/use.dart'; 29 import 'package:compiler/src/universe/use.dart';
30 30
31 import 'memory_compiler.dart'; 31 import '../memory_compiler.dart';
32 32
33 class Arguments { 33 class Arguments {
34 final String filename; 34 final String filename;
35 final bool loadSerializedData; 35 final bool loadSerializedData;
36 final bool saveSerializedData; 36 final bool saveSerializedData;
37 final String serializedDataFileName; 37 final String serializedDataFileName;
38 final bool verbose; 38 final bool verbose;
39 39
40 const Arguments({ 40 const Arguments({
41 this.filename, 41 this.filename,
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 340
341 @override 341 @override
342 void onElement(Element element, ObjectDecoder getDecoder(String tag)) { 342 void onElement(Element element, ObjectDecoder getDecoder(String tag)) {
343 ObjectDecoder decoder = getDecoder(RESOLVED_AST_TAG); 343 ObjectDecoder decoder = getDecoder(RESOLVED_AST_TAG);
344 if (decoder != null) { 344 if (decoder != null) {
345 _decoderMap[element] = decoder; 345 _decoderMap[element] = decoder;
346 } 346 }
347 } 347 }
348 } 348 }
349 349
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/serialization/equivalence_test.dart ('k') | tests/compiler/dart2js/serialization/impact_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698