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

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

Issue 435483002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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/test/generated/element_test.dart ('k') | pkg/analyzer/test/generated/resolver_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 1f593b5d470a4c2c09334d8bcb1593073aef31e8..770b71954d47398a9c0ee2724ed70c9f67022d80 100644
--- a/pkg/analyzer/test/generated/parser_test.dart
+++ b/pkg/analyzer/test/generated/parser_test.dart
@@ -9196,6 +9196,14 @@ class SimpleParserTest extends ParserTestCase {
JUnitTestCase.assertEquals("a", components[0].lexeme);
}
+ void test_parseSymbolLiteral_void() {
+ SymbolLiteral literal = ParserTestCase.parse4("parseSymbolLiteral", "#void", []);
+ JUnitTestCase.assertNotNull(literal.poundSign);
+ List<Token> components = literal.components;
+ EngineTestCase.assertLength(1, components);
+ JUnitTestCase.assertEquals("void", components[0].lexeme);
+ }
+
void test_parseThrowExpression() {
ThrowExpression expression = ParserTestCase.parse4("parseThrowExpression", "throw x;", []);
JUnitTestCase.assertNotNull(expression.keyword);
@@ -11936,6 +11944,10 @@ class SimpleParserTest extends ParserTestCase {
final __test = new SimpleParserTest();
runJUnitTest(__test, __test.test_parseSymbolLiteral_single);
});
+ _ut.test('test_parseSymbolLiteral_void', () {
+ final __test = new SimpleParserTest();
+ runJUnitTest(__test, __test.test_parseSymbolLiteral_void);
+ });
_ut.test('test_parseThrowExpression', () {
final __test = new SimpleParserTest();
runJUnitTest(__test, __test.test_parseThrowExpression);
« no previous file with comments | « pkg/analyzer/test/generated/element_test.dart ('k') | pkg/analyzer/test/generated/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698