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

Unified Diff: dart/tests/compiler/dart2js/analyze_api_test.dart

Issue 11740025: Add dart2js option to select library categories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix dartdoc and some unit tests Created 7 years, 11 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 | « dart/sdk/lib/_internal/dartdoc/lib/dartdoc.dart ('k') | dart/tests/compiler/dart2js/dart_backend_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js/analyze_api_test.dart
diff --git a/dart/tests/compiler/dart2js/analyze_api_test.dart b/dart/tests/compiler/dart2js/analyze_api_test.dart
index 1f4ede2141ec027ad3db1673b7af7980bea93d2e..0162524180820964e439fdc15943d9bb63b60115 100644
--- a/dart/tests/compiler/dart2js/analyze_api_test.dart
+++ b/dart/tests/compiler/dart2js/analyze_api_test.dart
@@ -43,12 +43,12 @@ void main() {
});
var provider = new SourceFileProvider();
var handler = new CollectingDiagnosticHandler(provider);
- handler.verbose = true;
var compiler = new Compiler(
provider.readStringFromUri,
handler.diagnosticHandler,
libraryRoot, libraryRoot,
- <String>['--analyze-only', '--analyze-all']);
+ <String>['--analyze-only', '--analyze-all',
+ '--categories=Client,Server']);
compiler.librariesToAnalyzeWhenRun = uriList;
compiler.run(null);
Expect.isFalse(handler.hasWarnings);
« no previous file with comments | « dart/sdk/lib/_internal/dartdoc/lib/dartdoc.dart ('k') | dart/tests/compiler/dart2js/dart_backend_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698