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

Unified Diff: pkg/analyzer/test/generated/engine_test.dart

Issue 1412573012: Option support for `enableGenericMethods`. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years, 1 month 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/analyzer/lib/src/task/options.dart ('k') | pkg/analyzer/test/src/task/options_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/engine_test.dart
diff --git a/pkg/analyzer/test/generated/engine_test.dart b/pkg/analyzer/test/generated/engine_test.dart
index 7224060d4244519d1f66c48d83a262f8aae79364..6d04f133b93a74b129b690cb4422d5c01b0bfea1 100644
--- a/pkg/analyzer/test/generated/engine_test.dart
+++ b/pkg/analyzer/test/generated/engine_test.dart
@@ -2351,6 +2351,7 @@ class AnalysisOptionsImplTest extends EngineTestCase {
options.analyzeFunctionBodies = booleanValue;
options.cacheSize = i;
options.dart2jsHint = booleanValue;
+ options.enableGenericMethods = booleanValue;
options.enableStrictCallChecks = booleanValue;
options.enableSuperMixins = booleanValue;
options.generateImplicitErrors = booleanValue;
@@ -2396,6 +2397,13 @@ class AnalysisOptionsImplTest extends EngineTestCase {
expect(options.dart2jsHint, value);
}
+ void test_enableGenericMethods() {
+ AnalysisOptionsImpl options = new AnalysisOptionsImpl();
+ bool value = !options.enableGenericMethods;
+ options.enableGenericMethods = value;
+ expect(options.enableGenericMethods, value);
+ }
+
void test_enableSuperMixins() {
AnalysisOptionsImpl options = new AnalysisOptionsImpl();
bool value = !options.enableSuperMixins;
« no previous file with comments | « pkg/analyzer/lib/src/task/options.dart ('k') | pkg/analyzer/test/src/task/options_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698