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

Unified Diff: pkg/analysis_server/bin/fuzz.dart

Issue 677723002: Fix deprecation hints (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/bin/dartdeps.dart ('k') | pkg/analysis_server/lib/driver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/bin/fuzz.dart
diff --git a/pkg/analysis_server/bin/fuzz.dart b/pkg/analysis_server/bin/fuzz.dart
index 8fc71d997bf51a221d91ea65c09d511fc48c29ec..2ca29c212c3c64560a362a6b01eec188dcfe6762 100644
--- a/pkg/analysis_server/bin/fuzz.dart
+++ b/pkg/analysis_server/bin/fuzz.dart
@@ -25,6 +25,10 @@ void main(List<String> args) {
* containing sources to be analyzed.
*/
class _FuzzTest {
+ /**
+ * The name of the application that is used to start the fuzz tester.
+ */
+ static const BINARY_NAME = 'fuzz';
//TODO (danrubel) extract common behavior for use in multiple test scenarios
//TODO (danrubel) cleanup test to use async/await for better readability
@@ -158,9 +162,9 @@ class _FuzzTest {
/// Print information about how to use the server.
void _printUsage(ArgParser parser) {
- print('Usage: analyzer [flags] <application_directory>');
+ print('Usage: $BINARY_NAME [flags] <application_directory>');
print('');
print('Supported flags are:');
- print(parser.getUsage());
+ print(parser.usage);
}
}
« no previous file with comments | « pkg/analysis_server/bin/dartdeps.dart ('k') | pkg/analysis_server/lib/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698