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

Side by Side Diff: pkg/analysis_server/test/stress/replay/replay.dart

Issue 2342733002: Break up another large file (Closed)
Patch Set: fixed floating comment Created 4 years, 3 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) 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 /** 5 /**
6 * A stress test for the analysis server. 6 * A stress test for the analysis server.
7 */ 7 */
8 library analysis_server.test.stress.replay.replay; 8 library analysis_server.test.stress.replay.replay;
9 9
10 import 'dart:async'; 10 import 'dart:async';
11 import 'dart:io'; 11 import 'dart:io';
12 import 'dart:math' as math; 12 import 'dart:math' as math;
13 13
14 import 'package:analysis_server/plugin/protocol/protocol.dart'; 14 import 'package:analysis_server/plugin/protocol/protocol.dart';
15 import 'package:analyzer/dart/ast/token.dart'; 15 import 'package:analyzer/dart/ast/token.dart';
16 import 'package:analyzer/error/listener.dart' as error;
16 import 'package:analyzer/src/dart/scanner/reader.dart'; 17 import 'package:analyzer/src/dart/scanner/reader.dart';
17 import 'package:analyzer/src/dart/scanner/scanner.dart'; 18 import 'package:analyzer/src/dart/scanner/scanner.dart';
18 import 'package:analyzer/src/generated/error.dart' as error;
19 import 'package:analyzer/src/generated/java_engine.dart'; 19 import 'package:analyzer/src/generated/java_engine.dart';
20 import 'package:analyzer/src/generated/source.dart'; 20 import 'package:analyzer/src/generated/source.dart';
21 import 'package:analyzer/src/util/glob.dart'; 21 import 'package:analyzer/src/util/glob.dart';
22 import 'package:args/args.dart'; 22 import 'package:args/args.dart';
23 import 'package:path/path.dart' as path; 23 import 'package:path/path.dart' as path;
24 24
25 import '../utilities/git.dart'; 25 import '../utilities/git.dart';
26 import '../utilities/server.dart'; 26 import '../utilities/server.dart';
27 import 'operation.dart'; 27 import 'operation.dart';
28 28
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 minutes -= hours * 60; 637 minutes -= hours * 60;
638 638
639 if (hours > 0) { 639 if (hours > 0) {
640 return '$hours:$minutes:$seconds.$milliseconds'; 640 return '$hours:$minutes:$seconds.$milliseconds';
641 } else if (minutes > 0) { 641 } else if (minutes > 0) {
642 return '$minutes:$seconds.$milliseconds'; 642 return '$minutes:$seconds.$milliseconds';
643 } 643 }
644 return '$seconds.$milliseconds'; 644 return '$seconds.$milliseconds';
645 } 645 }
646 } 646 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/services/correction/source_range_test.dart ('k') | pkg/analyzer/example/parser_driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698