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

Side by Side Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 3010913002: Revert earlier changes to fix bots (TBR) (Closed)
Patch Set: Created 3 years, 3 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 unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
6 import 'package:analyzer/dart/ast/token.dart' as analyzer; 6 import 'package:analyzer/dart/ast/token.dart' as analyzer;
7 import 'package:analyzer/dart/ast/token.dart' show TokenType; 7 import 'package:analyzer/dart/ast/token.dart' show TokenType;
8 import 'package:analyzer/error/error.dart'; 8 import 'package:analyzer/error/error.dart';
9 import 'package:analyzer/error/listener.dart' show ErrorReporter; 9 import 'package:analyzer/error/listener.dart' show ErrorReporter;
10 import 'package:analyzer/src/dart/scanner/scanner.dart'; 10 import 'package:analyzer/src/dart/scanner/scanner.dart';
(...skipping 1898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 super.test_varTypedef(); 1909 super.test_varTypedef();
1910 } 1910 }
1911 1911
1912 @override 1912 @override
1913 @failingTest 1913 @failingTest
1914 void test_voidParameter() { 1914 void test_voidParameter() {
1915 super.test_voidParameter(); 1915 super.test_voidParameter();
1916 } 1916 }
1917 1917
1918 @override 1918 @override
1919 @failingTest 1919 // @failingTest
1920 void test_voidVariable_parseClassMember_initializer() { 1920 void test_voidVariable_parseClassMember_initializer() {
1921 // TODO(brianwilkerson) Passes, but ought to fail.
1921 super.test_voidVariable_parseClassMember_initializer(); 1922 super.test_voidVariable_parseClassMember_initializer();
1922 } 1923 }
1923 1924
1924 @override 1925 @override
1925 @failingTest 1926 // @failingTest
1926 void test_voidVariable_parseClassMember_noInitializer() { 1927 void test_voidVariable_parseClassMember_noInitializer() {
1928 // TODO(brianwilkerson) Passes, but ought to fail.
1927 super.test_voidVariable_parseClassMember_noInitializer(); 1929 super.test_voidVariable_parseClassMember_noInitializer();
1928 } 1930 }
1929 1931
1930 @override 1932 @override
1931 @failingTest 1933 // @failingTest
1932 void test_voidVariable_parseCompilationUnit_initializer() { 1934 void test_voidVariable_parseCompilationUnit_initializer() {
1935 // TODO(brianwilkerson) Passes, but ought to fail.
1933 super.test_voidVariable_parseCompilationUnit_initializer(); 1936 super.test_voidVariable_parseCompilationUnit_initializer();
1934 } 1937 }
1935 1938
1936 @override 1939 @override
1937 @failingTest 1940 // @failingTest
1938 void test_voidVariable_parseCompilationUnit_noInitializer() { 1941 void test_voidVariable_parseCompilationUnit_noInitializer() {
1942 // TODO(brianwilkerson) Passes, but ought to fail.
1939 super.test_voidVariable_parseCompilationUnit_noInitializer(); 1943 super.test_voidVariable_parseCompilationUnit_noInitializer();
1940 } 1944 }
1941 1945
1942 @override 1946 @override
1943 @failingTest 1947 // @failingTest
1944 void test_voidVariable_parseCompilationUnitMember_initializer() { 1948 void test_voidVariable_parseCompilationUnitMember_initializer() {
1949 // TODO(brianwilkerson) Passes, but ought to fail.
1945 super.test_voidVariable_parseCompilationUnitMember_initializer(); 1950 super.test_voidVariable_parseCompilationUnitMember_initializer();
1946 } 1951 }
1947 1952
1948 @override 1953 @override
1949 @failingTest 1954 // @failingTest
1950 void test_voidVariable_parseCompilationUnitMember_noInitializer() { 1955 void test_voidVariable_parseCompilationUnitMember_noInitializer() {
1956 // TODO(brianwilkerson) Passes, but ought to fail.
1951 super.test_voidVariable_parseCompilationUnitMember_noInitializer(); 1957 super.test_voidVariable_parseCompilationUnitMember_noInitializer();
1952 } 1958 }
1953 1959
1954 @override 1960 @override
1955 @failingTest 1961 // @failingTest
1956 void test_voidVariable_statement_initializer() { 1962 void test_voidVariable_statement_initializer() {
1963 // TODO(brianwilkerson) Passes, but ought to fail.
1957 super.test_voidVariable_statement_initializer(); 1964 super.test_voidVariable_statement_initializer();
1958 } 1965 }
1959 1966
1960 @override 1967 @override
1961 @failingTest 1968 // @failingTest
1962 void test_voidVariable_statement_noInitializer() { 1969 void test_voidVariable_statement_noInitializer() {
1970 // TODO(brianwilkerson) Passes, but ought to fail.
1963 super.test_voidVariable_statement_noInitializer(); 1971 super.test_voidVariable_statement_noInitializer();
1964 } 1972 }
1965 1973
1966 @override 1974 @override
1967 @failingTest 1975 @failingTest
1968 void test_withBeforeExtends() { 1976 void test_withBeforeExtends() {
1969 super.test_withBeforeExtends(); 1977 super.test_withBeforeExtends();
1970 } 1978 }
1971 1979
1972 @override 1980 @override
(...skipping 2162 matching lines...) Expand 10 before | Expand all | Expand 10 after
4135 4143
4136 @override 4144 @override
4137 @failingTest 4145 @failingTest
4138 void test_parseModifiers_var() { 4146 void test_parseModifiers_var() {
4139 // TODO(brianwilkerson) exception: 4147 // TODO(brianwilkerson) exception:
4140 // NoSuchMethodError: Class 'ParserProxy' has no instance method 'parseModif iers'. 4148 // NoSuchMethodError: Class 'ParserProxy' has no instance method 'parseModif iers'.
4141 super.test_parseModifiers_var(); 4149 super.test_parseModifiers_var();
4142 } 4150 }
4143 4151
4144 @override 4152 @override
4145 @failingTest 4153 // @failingTest
4146 void test_parseReturnType_void() { 4154 void test_parseReturnType_void() {
4155 // TODO(brianwilkerson) Passes, but ought to fail.
4147 super.test_parseReturnType_void(); 4156 super.test_parseReturnType_void();
4148 } 4157 }
4149 4158
4150 @override 4159 @override
4151 @failingTest 4160 @failingTest
4152 void test_parseTypeArgumentList_empty() { 4161 void test_parseTypeArgumentList_empty() {
4153 // TODO(brianwilkerson) Does not recover from an empty list. 4162 // TODO(brianwilkerson) Does not recover from an empty list.
4154 super.test_parseTypeArgumentList_empty(); 4163 super.test_parseTypeArgumentList_empty();
4155 } 4164 }
4156 4165
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
4380 @override 4389 @override
4381 @failingTest 4390 @failingTest
4382 void test_parseDirectives_mixed() { 4391 void test_parseDirectives_mixed() {
4383 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to 4392 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to
4384 // stop parsing as soon as the first non-directive is encountered; this is 4393 // stop parsing as soon as the first non-directive is encountered; this is
4385 // useful for quickly traversing an import graph. Consider adding a similar 4394 // useful for quickly traversing an import graph. Consider adding a similar
4386 // ability to Fasta's parser. 4395 // ability to Fasta's parser.
4387 super.test_parseDirectives_mixed(); 4396 super.test_parseDirectives_mixed();
4388 } 4397 }
4389 } 4398 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698