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

Unified Diff: lib/src/prism/tests/languages/groovy/keyword_feature.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 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: lib/src/prism/tests/languages/groovy/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/groovy/keyword_feature.test b/lib/src/prism/tests/languages/groovy/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..57b7e16419bab456e4ac0f9ef106c55b25f465a9
--- /dev/null
+++ b/lib/src/prism/tests/languages/groovy/keyword_feature.test
@@ -0,0 +1,61 @@
+as def in abstract
+assert boolean break
+byte case catch char
+class;
+const continue
+default do double else
+enum
+extends;
+final
+finally float for goto
+if
+implements;
+import
+instanceof;
+int
+interface;
+long native
+new;
+package private protected
+public return short
+static strictfp super
+switch synchronized this
+throw throws
+trait;
+transient
+try void volatile while
+
+----------------------------------------------------
+
+[
+ ["keyword", "as"], ["keyword", "def"], ["keyword", "in"], ["keyword", "abstract"],
+ ["keyword", "assert"], ["keyword", "boolean"], ["keyword", "break"],
+ ["keyword", "byte"], ["keyword", "case"], ["keyword", "catch"], ["keyword", "char"],
+ ["keyword", "class"], ["punctuation", ";"],
+ ["keyword", "const"], ["keyword", "continue"],
+ ["keyword", "default"], ["keyword", "do"], ["keyword", "double"], ["keyword", "else"],
+ ["keyword", "enum"],
+ ["keyword", "extends"], ["punctuation", ";"],
+ ["keyword", "final"],
+ ["keyword", "finally"], ["keyword", "float"], ["keyword", "for"], ["keyword", "goto"],
+ ["keyword", "if"],
+ ["keyword", "implements"], ["punctuation", ";"],
+ ["keyword", "import"],
+ ["keyword", "instanceof"], ["punctuation", ";"],
+ ["keyword", "int"],
+ ["keyword", "interface"], ["punctuation", ";"],
+ ["keyword", "long"], ["keyword", "native"],
+ ["keyword", "new"], ["punctuation", ";"],
+ ["keyword", "package"], ["keyword", "private"], ["keyword", "protected"],
+ ["keyword", "public"], ["keyword", "return"], ["keyword", "short"],
+ ["keyword", "static"], ["keyword", "strictfp"], ["keyword", "super"],
+ ["keyword", "switch"], ["keyword", "synchronized"], ["keyword", "this"],
+ ["keyword", "throw"], ["keyword", "throws"],
+ ["keyword", "trait"], ["punctuation", ";"],
+ ["keyword", "transient"],
+ ["keyword", "try"], ["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"]
+]
+
+----------------------------------------------------
+
+Checks for all keywords.
« no previous file with comments | « lib/src/prism/tests/languages/groovy/annotation_feature.test ('k') | lib/src/prism/tests/languages/groovy/number_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698