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

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

Issue 1892523002: Clean up flags for conditional directives (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/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/parser_test.dart
diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
index c366b845a58dc50c45b48b502e033fa41de102d3..a0b7fdd12098b2ffb0257de75c3fc62ff49ce777 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -2766,12 +2766,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.
*/
@@ -2833,7 +2827,6 @@ class ParserTestCase extends EngineTestCase {
//
Parser parser = createParser(listener);
parser.parseAsync = parseAsync;
- parser.parseConditionalDirectives = enableConditionalDirectives;
parser.parseGenericMethods = enableGenericMethods;
parser.parseGenericMethodComments = enableGenericMethodComments;
parser.parseFunctionBodies = parseFunctionBodies;
@@ -2964,7 +2957,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);
@@ -7262,7 +7254,6 @@ void''');
}
void test_parseExportDirective_configuration_multiple() {
- enableConditionalDirectives = true;
ExportDirective directive = parse(
"parseExportDirective",
<Object>[emptyCommentAndMetadata()],
@@ -7277,7 +7268,6 @@ void''');
}
void test_parseExportDirective_configuration_single() {
- enableConditionalDirectives = true;
ExportDirective directive = parse(
"parseExportDirective",
<Object>[emptyCommentAndMetadata()],
@@ -8472,7 +8462,6 @@ void''');
}
void test_parseImportDirective_configuration_multiple() {
- enableConditionalDirectives = true;
ImportDirective directive = parse(
"parseImportDirective",
<Object>[emptyCommentAndMetadata()],
@@ -8490,7 +8479,6 @@ void''');
}
void test_parseImportDirective_configuration_single() {
- enableConditionalDirectives = true;
ImportDirective directive = parse(
"parseImportDirective",
<Object>[emptyCommentAndMetadata()],
« 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