summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <eric.schulte@gmx.com>2012-01-11 10:11:15 -0700
committerEric Schulte <eric.schulte@gmx.com>2012-01-11 10:15:20 -0700
commit7423c15d3e28780c8489dd5fe9066932a53f23e7 (patch)
treee1044d87e780b5068eba4acb26aec37acd17e7b5
parenta3e4459beeeff152b18f34b97716dce14a318b7d (diff)
downloadorg-mode-7423c15d3e28780c8489dd5fe9066932a53f23e7.tar.gz
added edbug specs for testing macro
* testing/lisp/test-property-inheritance.el (test-org-in-property-buffer): Added edbug spec. * testing/org-test.el (org-test-at-id): Added edbug spec. (org-test-in-example-file): Added edbug spec.
-rw-r--r--testing/lisp/test-property-inheritance.el1
-rw-r--r--testing/org-test.el2
2 files changed, 3 insertions, 0 deletions
diff --git a/testing/lisp/test-property-inheritance.el b/testing/lisp/test-property-inheritance.el
index 8e079fc..2478413 100644
--- a/testing/lisp/test-property-inheritance.el
+++ b/testing/lisp/test-property-inheritance.el
@@ -19,6 +19,7 @@
org-test-example-dir))
(org-mode)
,@body))
+(def-edebug-spec test-org-in-property-buffer (body))
(ert-deftest test-org-property-accumulation-top-use ()
(test-org-in-property-buffer
diff --git a/testing/org-test.el b/testing/org-test.el
index a9e3706..949afc8 100644
--- a/testing/org-test.el
+++ b/testing/org-test.el
@@ -146,6 +146,7 @@ currently executed.")
(save-restriction ,@body)))
(unless visited-p
(kill-buffer to-be-removed))))
+(def-edebug-spec org-test-at-id (form body))
(defmacro org-test-in-example-file (file &rest body)
"Execute body in the Org-mode example file."
@@ -169,6 +170,7 @@ currently executed.")
(save-restriction ,@body)))
(unless visited-p
(kill-buffer to-be-removed))))
+(def-edebug-spec org-test-in-example-file (form body))
(defmacro org-test-at-marker (file marker &rest body)
"Run body after placing the point at MARKER in FILE.