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

Unified Diff: lib/src/prism/tests/languages/java/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/java/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/java/keyword_feature.test b/lib/src/prism/tests/languages/java/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..4a6613c86850651b30b9be36cdc0d443124479e2
--- /dev/null
+++ b/lib/src/prism/tests/languages/java/keyword_feature.test
@@ -0,0 +1,51 @@
+abstract continue for
+new ;
+switch assert default
+goto package synchronized
+boolean do if private
+this break double
+implements ;
+protected throw byte else
+import public throws case
+enum
+instanceof ;
+return transient catch
+extends ;
+int short try char
+final
+interface ;
+static void
+class ;
+finally long
+strictfp volatile const
+float native super while
+
+----------------------------------------------------
+
+[
+ ["keyword", "abstract"], ["keyword", "continue"], ["keyword", "for"],
+ ["keyword", "new"], ["punctuation", ";"],
+ ["keyword", "switch"], ["keyword", "assert"], ["keyword", "default"],
+ ["keyword", "goto"], ["keyword", "package"], ["keyword", "synchronized"],
+ ["keyword", "boolean"], ["keyword", "do"], ["keyword", "if"], ["keyword", "private"],
+ ["keyword", "this"], ["keyword", "break"], ["keyword", "double"],
+ ["keyword", "implements"], ["punctuation", ";"],
+ ["keyword", "protected"], ["keyword", "throw"], ["keyword", "byte"], ["keyword", "else"],
+ ["keyword", "import"], ["keyword", "public"], ["keyword", "throws"], ["keyword", "case"],
+ ["keyword", "enum"],
+ ["keyword", "instanceof"], ["punctuation", ";"],
+ ["keyword", "return"], ["keyword", "transient"], ["keyword", "catch"],
+ ["keyword", "extends"], ["punctuation", ";"],
+ ["keyword", "int"], ["keyword", "short"], ["keyword", "try"], ["keyword", "char"],
+ ["keyword", "final"],
+ ["keyword", "interface"], ["punctuation", ";"],
+ ["keyword", "static"], ["keyword", "void"],
+ ["keyword", "class"], ["punctuation", ";"],
+ ["keyword", "finally"], ["keyword", "long"],
+ ["keyword", "strictfp"], ["keyword", "volatile"], ["keyword", "const"],
+ ["keyword", "float"], ["keyword", "native"], ["keyword", "super"], ["keyword", "while"]
+]
+
+----------------------------------------------------
+
+Checks for all keywords.
« no previous file with comments | « lib/src/prism/tests/languages/jade/tag_feature.test ('k') | lib/src/prism/tests/languages/java/number_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698