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

Side by Side Diff: pkg/kernel/test/reify/suite.dart

Issue 2747113004: Run dartfmt on kernel package (Closed)
Patch Set: Created 3 years, 9 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) 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library test.kernel.reify.suite; 5 library test.kernel.reify.suite;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import 'dart:io' show Directory, File, Platform; 9 import 'dart:io' show Directory, File, Platform;
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const Print(), 65 const Print(),
66 const SanityCheck(), 66 const SanityCheck(),
67 new MatchExpectation(".expect", 67 new MatchExpectation(".expect",
68 updateExpectations: updateExpectations), 68 updateExpectations: updateExpectations),
69 const WriteDill(), 69 const WriteDill(),
70 const ReadDill(), 70 const ReadDill(),
71 const Run(), 71 const Run(),
72 ]; 72 ];
73 73
74 Future<DartLoader> createLoader() async { 74 Future<DartLoader> createLoader() async {
75 return new DartLoader(new Program(), options, 75 return new DartLoader(
76 await loadPackagesFile(packages), dartSdk: dartSdk); 76 new Program(), options, await loadPackagesFile(packages),
77 dartSdk: dartSdk);
77 } 78 }
78 } 79 }
79 80
80 enum Environment { 81 enum Environment {
81 directory, 82 directory,
82 file, 83 file,
83 } 84 }
84 85
85 Future<String> getEnvironmentVariable( 86 Future<String> getEnvironmentVariable(
86 String name, Environment kind, String undefined, notFound(String n)) async { 87 String name, Environment kind, String undefined, notFound(String n)) async {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 await StdioProcess.run(context.vm.toFilePath(), [generated.path]); 213 await StdioProcess.run(context.vm.toFilePath(), [generated.path]);
213 print(process.output); 214 print(process.output);
214 } finally { 215 } finally {
215 generated.parent.delete(recursive: true); 216 generated.parent.delete(recursive: true);
216 } 217 }
217 return process.toResult(); 218 return process.toResult();
218 } 219 }
219 } 220 }
220 221
221 main(List<String> arguments) => runMe(arguments, createContext, "testing.json"); 222 main(List<String> arguments) => runMe(arguments, createContext, "testing.json");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698