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

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

Issue 2096423002: Split long-running serialization tests to avoid timeouts (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « tests/compiler/dart2js/serialization/model_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_model_test; 5 library dart2js.serialization_model_test;
6
6 import 'dart:async'; 7 import 'dart:async';
7 import 'dart:io'; 8 import 'dart:io';
8 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
9 import 'package:expect/expect.dart'; 10 import 'package:expect/expect.dart';
10 import 'package:compiler/src/closure.dart'; 11 import 'package:compiler/src/closure.dart';
11 import 'package:compiler/src/commandline_options.dart'; 12 import 'package:compiler/src/commandline_options.dart';
12 import 'package:compiler/src/compiler.dart'; 13 import 'package:compiler/src/compiler.dart';
13 import 'package:compiler/src/elements/elements.dart'; 14 import 'package:compiler/src/elements/elements.dart';
14 import 'package:compiler/src/filenames.dart'; 15 import 'package:compiler/src/filenames.dart';
15 import 'package:compiler/src/js_backend/js_backend.dart'; 16 import 'package:compiler/src/js_backend/js_backend.dart';
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 return true; 296 return true;
296 } 297 }
297 298
298 String nodeToString(Node node) { 299 String nodeToString(Node node) {
299 String text = '$node'; 300 String text = '$node';
300 if (text.length > 40) { 301 if (text.length > 40) {
301 return '(${node.runtimeType}) ${text.substring(0, 37)}...'; 302 return '(${node.runtimeType}) ${text.substring(0, 37)}...';
302 } 303 }
303 return '(${node.runtimeType}) $text'; 304 return '(${node.runtimeType}) $text';
304 } 305 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/serialization/model_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698