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

Unified Diff: third_party/pkg/angular/bin/parser_generator_for_spec.dart

Issue 180873006: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 6 years, 10 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 | « third_party/pkg/angular/REVISION ('k') | third_party/pkg/angular/demo/bouncing_balls/bouncy_balls.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/bin/parser_generator_for_spec.dart
diff --git a/third_party/pkg/angular/bin/parser_generator_for_spec.dart b/third_party/pkg/angular/bin/parser_generator_for_spec.dart
index a70d6845347b5f27b9eea01c05bcd0f9772f7ba7..b1e6396c828b312e7bca7c42c79071bb47182d71 100644
--- a/third_party/pkg/angular/bin/parser_generator_for_spec.dart
+++ b/third_party/pkg/angular/bin/parser_generator_for_spec.dart
@@ -22,6 +22,8 @@ main(arguments) {
// node node_modules/karma/bin/karma run | grep -Eo ":XNAY:.*:XNAY:" | sed -e 's/:XNAY://g' | sed -e "s/^/'/" | sed -e "s/$/',/" | sort | uniq > missing_expressions
injector.get(isGetter ? ParserGetterSetter : ParserGenerator).generateParser([
"foo == 'bar' ||\nbaz",
+ "nonmap['hello']",
+ "nonmap['hello']=3",
"this['a'].b",
"const",
"null",
@@ -88,6 +90,7 @@ main(arguments) {
'a().name',
'a[x()]()',
'boo',
+ 'getNoSuchMethod',
'[].count(',
'false',
'false && run()',
@@ -221,6 +224,207 @@ main(arguments) {
"n",
"1|nonexistent",
"publicField",
- "_privateField"
+ "_privateField",
+ "'World'|hello",
+ "1;'World'|hello",
+ "'World'|hello;1",
+
+ "assert",
+ "break",
+ "case",
+ "catch",
+ "class",
+ "const",
+ "continue",
+ "default",
+ "do",
+ "else",
+ "enum",
+ "extends",
+ "final",
+ "finally",
+ "for",
+ "if",
+ "in",
+ "is",
+ "new",
+ "rethrow",
+ "return",
+ "super",
+ "switch",
+ "this",
+ "throw",
+ "try",
+ "var",
+ "void",
+ "while",
+ "with",
+
+ "assert = 42",
+ "break = 42",
+ "case = 42",
+ "catch = 42",
+ "class = 42",
+ "const = 42",
+ "continue = 42",
+ "default = 42",
+ "do = 42",
+ "else = 42",
+ "enum = 42",
+ "extends = 42",
+ "false = 42",
+ "final = 42",
+ "finally = 42",
+ "for = 42",
+ "if = 42",
+ "in = 42",
+ "is = 42",
+ "new = 42",
+ "null = 42",
+ "rethrow = 42",
+ "return = 42",
+ "super = 42",
+ "switch = 42",
+ "this = 42",
+ "throw = 42",
+ "true = 42",
+ "try = 42",
+ "var = 42",
+ "void = 42",
+ "while = 42",
+ "with = 42",
+
+ "assert()",
+ "break()",
+ "case()",
+ "catch()",
+ "class()",
+ "const()",
+ "continue()",
+ "default()",
+ "do()",
+ "else()",
+ "enum()",
+ "extends()",
+ "final()",
+ "finally()",
+ "for()",
+ "if()",
+ "in()",
+ "is()",
+ "new()",
+ "rethrow()",
+ "return()",
+ "super()",
+ "switch()",
+ "this()",
+ "throw()",
+ "try()",
+ "var()",
+ "void()",
+ "while()",
+ "with()",
+
+ "o.assert",
+ "o.break",
+ "o.case",
+ "o.catch",
+ "o.class",
+ "o.const",
+ "o.continue",
+ "o.default",
+ "o.do",
+ "o.else",
+ "o.enum",
+ "o.extends",
+ "o.false",
+ "o.final",
+ "o.finally",
+ "o.for",
+ "o.if",
+ "o.in",
+ "o.is",
+ "o.new",
+ "o.null",
+ "o.rethrow",
+ "o.return",
+ "o.super",
+ "o.switch",
+ "o.this",
+ "o.throw",
+ "o.true",
+ "o.try",
+ "o.var",
+ "o.void",
+ "o.while",
+ "o.with",
+
+ "o.assert = 42",
+ "o.break = 42",
+ "o.case = 42",
+ "o.catch = 42",
+ "o.class = 42",
+ "o.const = 42",
+ "o.continue = 42",
+ "o.default = 42",
+ "o.do = 42",
+ "o.else = 42",
+ "o.enum = 42",
+ "o.extends = 42",
+ "o.false = 42",
+ "o.final = 42",
+ "o.finally = 42",
+ "o.for = 42",
+ "o.if = 42",
+ "o.in = 42",
+ "o.is = 42",
+ "o.new = 42",
+ "o.null = 42",
+ "o.rethrow = 42",
+ "o.return = 42",
+ "o.super = 42",
+ "o.switch = 42",
+ "o.this = 42",
+ "o.throw = 42",
+ "o.true = 42",
+ "o.try = 42",
+ "o.var = 42",
+ "o.void = 42",
+ "o.while = 42",
+ "o.with = 42",
+
+ "o.assert()",
+ "o.break()",
+ "o.case()",
+ "o.catch()",
+ "o.class()",
+ "o.const()",
+ "o.continue()",
+ "o.default()",
+ "o.do()",
+ "o.else()",
+ "o.enum()",
+ "o.extends()",
+ "o.false()",
+ "o.final()",
+ "o.finally()",
+ "o.for()",
+ "o.if()",
+ "o.in()",
+ "o.is()",
+ "o.new()",
+ "o.null()",
+ "o.rethrow()",
+ "o.return()",
+ "o.super()",
+ "o.switch()",
+ "o.this()",
+ "o.throw()",
+ "o.true()",
+ "o.try()",
+ "o.var()",
+ "o.void()",
+ "o.while()",
+ "o.with()",
]);
}
« no previous file with comments | « third_party/pkg/angular/REVISION ('k') | third_party/pkg/angular/demo/bouncing_balls/bouncy_balls.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698