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

Side by Side Diff: tools/testing/dart/command.dart

Issue 2984203002: Move the status file parser into its own package. (Closed)
Patch Set: Created 3 years, 4 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/standalone/status_expression_test.dart ('k') | tools/testing/dart/command_output.dart » ('j') | 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'dart:async'; 5 import 'dart:async';
6 // We need to use the 'io' prefix here, otherwise io.exitCode will shadow 6 // We need to use the 'io' prefix here, otherwise io.exitCode will shadow
7 // CommandOutput.exitCode in subclasses of CommandOutput. 7 // CommandOutput.exitCode in subclasses of CommandOutput.
8 import 'dart:io' as io; 8 import 'dart:io' as io;
9 9
10 import 'package:status_file/expectation.dart';
11
10 import 'command_output.dart'; 12 import 'command_output.dart';
11 import 'configuration.dart'; 13 import 'configuration.dart';
12 import 'expectation.dart';
13 import 'path.dart'; 14 import 'path.dart';
14 import 'utils.dart'; 15 import 'utils.dart';
15 16
16 /// A command executed as a step in a test case. 17 /// A command executed as a step in a test case.
17 class Command { 18 class Command {
18 static Command contentShell( 19 static Command contentShell(
19 String executable, 20 String executable,
20 String htmlFile, 21 String htmlFile,
21 List<String> options, 22 List<String> options,
22 List<String> dartFlags, 23 List<String> dartFlags,
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 557
557 void _buildHashCode(HashCodeBuilder builder) { 558 void _buildHashCode(HashCodeBuilder builder) {
558 super._buildHashCode(builder); 559 super._buildHashCode(builder);
559 builder.addJson(_link); 560 builder.addJson(_link);
560 builder.addJson(_target); 561 builder.addJson(_target);
561 } 562 }
562 563
563 bool _equal(MakeSymlinkCommand other) => 564 bool _equal(MakeSymlinkCommand other) =>
564 super._equal(other) && _link == other._link && _target == other._target; 565 super._equal(other) && _link == other._link && _target == other._target;
565 } 566 }
OLDNEW
« no previous file with comments | « tests/standalone/status_expression_test.dart ('k') | tools/testing/dart/command_output.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698