Browse Source

Add missing FSF / author headers and org-test dependency to some test files * testing/lisp/test-ob-awk.el: * testing/lisp/test-ob-fortran.el: * testing/lisp/test-ob-lilypond.el: * testing/lisp/test-ob.el: * testing/lisp/test-org-exp.el: Add missing FSF / author headers and org-test dependency to some test files.

Martyn Jago 8 years ago
parent
commit
fd1e005e33

+ 16 - 0
testing/lisp/test-ob-awk.el

@@ -1,3 +1,18 @@
+;;; test-ob-awk.el --- tests for ob-awk.el
+
+;; Copyright (c) 2010 Eric Schulte
+;; Authors: Eric Schulte
+
+;; Released under the GNU General Public License version 3
+;; see: http://www.gnu.org/licenses/gpl-3.0.html
+
+(let ((load-path (cons (expand-file-name
+			".." (file-name-directory
+			      (or load-file-name buffer-file-name)))
+		       load-path)))
+  (require 'org-test)
+  (require 'org-test-ob-consts))
+
 (require 'ob-awk)
 
 (ert-deftest ob-awk/input-none ()
@@ -17,3 +32,4 @@
   (org-test-at-id "9e998b2a-3581-43fe-b26d-07d3c507b86a"
     (org-babel-next-src-block 3)
     (should (= 150 (org-babel-execute-src-block)))))
+

+ 16 - 0
testing/lisp/test-ob-fortran.el

@@ -1,3 +1,18 @@
+;;; test-ob-fortran.el --- tests for ob-fortran.el
+
+;; Copyright (c) 2010 Eric Schulte
+;; Authors: Eric Schulte
+
+;; Released under the GNU General Public License version 3
+;; see: http://www.gnu.org/licenses/gpl-3.0.html
+
+(let ((load-path (cons (expand-file-name
+			".." (file-name-directory
+			      (or load-file-name buffer-file-name)))
+		       load-path)))
+  (require 'org-test)
+  (require 'org-test-ob-consts))
+
 (let ((load-path (cons (expand-file-name
 			"langs"
 			(expand-file-name
@@ -11,6 +26,7 @@
 			    (file-name-directory
 			     (or load-file-name buffer-file-name)))))))
 		       load-path)))
+
   (require 'ob-fortran))
 
 (ert-deftest ob-fortran/assert ()

+ 17 - 2
testing/lisp/test-ob-lilypond.el

@@ -1,11 +1,26 @@
+;;; test-ob-lilypond.el --- tests for ob-lilypond.el
+
+;; Copyright (c) 2010 Martyn Jago
+;; Authors: Martyn Jago
+
+;; Released under the GNU General Public License version 3
+;; see: http://www.gnu.org/licenses/gpl-3.0.html
+
+(let ((load-path (cons (expand-file-name
+			".." (file-name-directory
+			      (or load-file-name buffer-file-name)))
+		       load-path)))
+  (require 'org-test)
+  (require 'org-test-ob-consts))
+
+(require 'ob-lilypond)
+
 (save-excursion
   (set-buffer (get-buffer-create "test-ob-lilypond.el"))
   (setq ly-here
         (file-name-directory
          (or load-file-name (buffer-file-name)))))
 
-(require 'ob-lilypond)
- 
 (ert-deftest ob-lilypond/assert ()
   (should t))
  

+ 0 - 1
testing/lisp/test-ob.el

@@ -12,7 +12,6 @@
 		       load-path)))
   (require 'org-test)
   (require 'org-test-ob-consts))
-  (require 'org-test)
 
 (ert-deftest test-org-babel/src-name-regexp ()
   (should(equal "^[ \t]*#\\+\\(srcname\\|source\\|function\\):[ \t]*"

+ 15 - 0
testing/lisp/test-org-exp.el

@@ -1,3 +1,18 @@
+;;; test-org-exp.el --- tests for org-exp.el
+
+;; Copyright (c) 2010 Eric Schulte
+;; Authors: Eric Schulte
+
+;; Released under the GNU General Public License version 3
+;; see: http://www.gnu.org/licenses/gpl-3.0.html
+
+(let ((load-path (cons (expand-file-name
+			".." (file-name-directory
+			      (or load-file-name buffer-file-name)))
+		       load-path)))
+  (require 'org-test)
+  (require 'org-test-ob-consts))
+
 (ert-deftest test-org-exp/stripping-commas ()
   "Test the stripping of commas from within blocks during export."
   (org-test-at-id "76d3a083-67fa-4506-a41d-837cc48158b5"