Browse Source

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.
Eric Schulte 13 years ago
parent
commit
7423c15d3e
2 changed files with 3 additions and 0 deletions
  1. 1 0
      testing/lisp/test-property-inheritance.el
  2. 2 0
      testing/org-test.el

+ 1 - 0
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

+ 2 - 0
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.