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

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

Issue 1851753002: Enable conditional directives by default. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/generated/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index 9fc01e2f679cacd8396356c1dcf7f1619c680482..132a8824e6b894ac0e115bfb8806d7af0d8e2a18 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -2748,12 +2748,6 @@ class ParserTestCase extends EngineTestCase {
bool parseAsync = true;
/**
- * A flag indicating whether conditional directives support should be enabled
- * for a specific test.
- */
- bool enableConditionalDirectives = false;
-
- /**
* A flag indicating whether generic method support should be enabled for a
* specific test.
*/
@@ -2815,7 +2809,6 @@ class ParserTestCase extends EngineTestCase {
//
Parser parser = createParser(listener);
parser.parseAsync = parseAsync;
- parser.parseConditionalDirectives = enableConditionalDirectives;
parser.parseGenericMethods = enableGenericMethods;
parser.parseGenericMethodComments = enableGenericMethodComments;
parser.parseFunctionBodies = parseFunctionBodies;
@@ -2946,7 +2939,6 @@ class ParserTestCase extends EngineTestCase {
Parser parser = createParser(listener);
parser.parseAsync = parseAsync;
parser.parseFunctionBodies = parseFunctionBodies;
- parser.parseConditionalDirectives = enableConditionalDirectives;
parser.parseGenericMethods = enableGenericMethods;
parser.parseGenericMethodComments = enableGenericMethodComments;
CompilationUnit unit = parser.parseCompilationUnit(token);
@@ -7227,7 +7219,6 @@ void''');
}
void test_parseExportDirective_configuration_multiple() {
- enableConditionalDirectives = true;
ExportDirective directive = parse(
"parseExportDirective",
<Object>[emptyCommentAndMetadata()],
@@ -7242,7 +7233,6 @@ void''');
}
void test_parseExportDirective_configuration_single() {
- enableConditionalDirectives = true;
ExportDirective directive = parse(
"parseExportDirective",
<Object>[emptyCommentAndMetadata()],
@@ -8433,7 +8423,6 @@ void''');
}
void test_parseImportDirective_configuration_multiple() {
- enableConditionalDirectives = true;
ImportDirective directive = parse(
"parseImportDirective",
<Object>[emptyCommentAndMetadata()],
@@ -8451,7 +8440,6 @@ void''');
}
void test_parseImportDirective_configuration_single() {
- enableConditionalDirectives = true;
ImportDirective directive = parse(
"parseImportDirective",
<Object>[emptyCommentAndMetadata()],

Powered by Google App Engine
This is Rietveld 408576698