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

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

Issue 2915843003: Simplify test_suite.dart. (Closed)
Patch Set: Fix path in test. Created 3 years, 6 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 | « tools/testing/dart/configuration.dart ('k') | tools/testing/dart/http_server.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // TODO(antonm): rename to something like test_runner_updater. 5 // TODO(antonm): rename to something like test_runner_updater.
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 import 'configuration.dart'; 10 import 'configuration.dart';
11 import 'test_suite.dart'; 11 import 'utils.dart';
12 12
13 typedef void Action(); 13 typedef void Action();
14 14
15 class _DartiumUpdater { 15 class _DartiumUpdater {
16 String name; 16 String name;
17 String script; 17 String script;
18 String option; 18 String option;
19 19
20 bool isActive = false; 20 bool isActive = false;
21 bool updated = false; 21 bool updated = false;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Download the default Dartium from Google Storage. 82 // Download the default Dartium from Google Storage.
83 if (_dartiumUpdater == null) { 83 if (_dartiumUpdater == null) {
84 _dartiumUpdater = new _DartiumUpdater( 84 _dartiumUpdater = new _DartiumUpdater(
85 'Dartium Chrome', 'tools/get_archive.py', 'dartium'); 85 'Dartium Chrome', 'tools/get_archive.py', 'dartium');
86 } 86 }
87 return _dartiumUpdater; 87 return _dartiumUpdater;
88 } else { 88 } else {
89 return null; 89 return null;
90 } 90 }
91 } 91 }
OLDNEW
« no previous file with comments | « tools/testing/dart/configuration.dart ('k') | tools/testing/dart/http_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698