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

Unified Diff: lib/src/prism/tests/languages/objectivec/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/objectivec/keyword_feature.test
diff --git a/lib/src/prism/tests/languages/objectivec/keyword_feature.test b/lib/src/prism/tests/languages/objectivec/keyword_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..80ee516e2aa0c44117f973504b0ee0e1fd119d6a
--- /dev/null
+++ b/lib/src/prism/tests/languages/objectivec/keyword_feature.test
@@ -0,0 +1,59 @@
+asm typeof inline
+auto break case
+char const continue
+default do double
+else enum extern
+float for goto
+if int long
+register return
+short signed
+sizeof static
+struct switch
+typedef union
+unsigned void
+volatile while
+in self super
+
+@interface @end
+@implementation
+@protocol @class
+@public @protected
+@private @property
+@try @catch
+@finally @throw
+@synthesize
+@dynamic @selector
+
+----------------------------------------------------
+
+[
+ ["keyword", "asm"], ["keyword", "typeof"], ["keyword", "inline"],
+ ["keyword", "auto"], ["keyword", "break"], ["keyword", "case"],
+ ["keyword", "char"], ["keyword", "const"], ["keyword", "continue"],
+ ["keyword", "default"], ["keyword", "do"], ["keyword", "double"],
+ ["keyword", "else"], ["keyword", "enum"], ["keyword", "extern"],
+ ["keyword", "float"], ["keyword", "for"], ["keyword", "goto"],
+ ["keyword", "if"], ["keyword", "int"], ["keyword", "long"],
+ ["keyword", "register"], ["keyword", "return"],
+ ["keyword", "short"], ["keyword", "signed"],
+ ["keyword", "sizeof"], ["keyword", "static"],
+ ["keyword", "struct"], ["keyword", "switch"],
+ ["keyword", "typedef"], ["keyword", "union"],
+ ["keyword", "unsigned"], ["keyword", "void"],
+ ["keyword", "volatile"], ["keyword", "while"],
+ ["keyword", "in"], ["keyword", "self"], ["keyword", "super"],
+
+ ["keyword", "@interface"], ["keyword", "@end"],
+ ["keyword", "@implementation"],
+ ["keyword", "@protocol"], ["keyword", "@class"],
+ ["keyword", "@public"], ["keyword", "@protected"],
+ ["keyword", "@private"], ["keyword", "@property"],
+ ["keyword", "@try"], ["keyword", "@catch"],
+ ["keyword", "@finally"], ["keyword", "@throw"],
+ ["keyword", "@synthesize"],
+ ["keyword", "@dynamic"], ["keyword", "@selector"]
+]
+
+----------------------------------------------------
+
+Checks for all keywords.

Powered by Google App Engine
This is Rietveld 408576698