[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 3c8f842 195/271: Write failing property lookup test.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master 3c8f842 195/271: Write failing property lookup test. |
Date: |
Thu, 05 Feb 2015 18:31:08 +0000 |
branch: master
commit 3c8f8426ce83d162ee096775f28bba48417c9649
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
Write failing property lookup test.
---
test/context-coloring-test.el | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/test/context-coloring-test.el b/test/context-coloring-test.el
index 9f2bd12..64cbd9d 100644
--- a/test/context-coloring-test.el
+++ b/test/context-coloring-test.el
@@ -213,4 +213,24 @@ invoke when it is done."
"./fixtures/key-names.js"
(context-coloring-test-js-key-names)))
+(defun context-coloring-test-js-property-lookup ()
+ (context-coloring-test-assert-region-level 20 26 0)
+ (context-coloring-test-assert-region-level 26 38 1)
+ (context-coloring-test-assert-region-level 38 44 0)
+ (context-coloring-test-assert-region-level 44 52 1))
+
+(ert-deftest-async context-coloring-test-js-mode-property-lookup (done)
+ (context-coloring-test-js-mode
+ "./fixtures/property-lookup.js"
+ (lambda (teardown)
+ (unwind-protect
+ (context-coloring-test-js-property-lookup)
+ (funcall teardown))
+ (funcall done))))
+
+(ert-deftest context-coloring-test-js2-mode-property-lookup ()
+ (context-coloring-test-js2-mode
+ "./fixtures/property-lookup.js"
+ (context-coloring-test-js-property-lookup)))
+
(provide 'context-coloring-test)
- [elpa] master 3cff176 210/271: Add failing key-value pair test., (continued)
- [elpa] master 3cff176 210/271: Add failing key-value pair test., Jackson Ray Hamilton, 2015/02/05
- [elpa] master e09d9ad 227/271: Add tests for comments and strings., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 21cc6c6 200/271: Save benchmark logs to an untracked directory., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 30a24f9 265/271: Add 'packages/context-coloring/' from commit 'f2b5d796d4dffc71b10503a8ae119bfa3274978e', Jackson Ray Hamilton, 2015/02/05
- [elpa] master 03d111c 235/271: Cleanup., Jackson Ray Hamilton, 2015/02/05
- [elpa] master eba74ae 192/271: Improve assertion functions., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 127b312 225/271: Remove rear-nonsticky., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 441dde0 178/271: Cleanup, comments., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9fb06d8 254/271: Merge branch 'master' into develop, Jackson Ray Hamilton, 2015/02/05
- [elpa] master 5826178 239/271: Update the dispatch API., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 3c8f842 195/271: Write failing property lookup test.,
Jackson Ray Hamilton <=
- [elpa] master 4ac1eaa 242/271: Version 3.0.0., Jackson Ray Hamilton, 2015/02/05
- [elpa] master b485897 186/271: Update benchmarks., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9e177bf 268/271: Update headers and documentation for download-dependencies.el., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 48ff468 220/271: Update linter., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a0fefc4 245/271: Add themes. Prepare for ELPA. Version 3.1.0., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 574b955 248/271: Update sentence spacing., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1f04586 172/271: Merge branch 'feature/js2-mode' into develop, Jackson Ray Hamilton, 2015/02/05
- [elpa] master 87725bc 190/271: Positions., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 7b2a4c8 214/271: Merge branch 'develop', Jackson Ray Hamilton, 2015/02/05
- [elpa] master e210009 221/271: Flycheck link., Jackson Ray Hamilton, 2015/02/05