org-mode/testing/lisp
Nicolas Goaziou dbb375fdfc Simplify Babel calls evaluation
* lisp/ob-lob.el (org-babel-default-lob-header-args): Merge value with
  `org-babel-default-header-args' since this variable is meant to
  replace the latter.
(org-babel-lob-ingest): Make sure `org-babel-default-lob-header-args' is
used instead of `org-babel-default-header-args'.
(org-babel-lob--src-info): New function.
(org-babel-lob-get-info): Use new function.  Make return value
a replacement for `org-babel-get-src-block-info'.
(org-babel-lob-execute): Use `org-babel-execute-src-block' instead of
duplicating functionalities.
* lisp/ob-exp.el (org-babel-exp-process-buffer): Apply changes to
  `org-babel-lob-get-info' return value.

* testing/examples/ob-header-arg-defaults.org:
* testing/lisp/test-ob-header-arg-defaults.el (test-ob-header-arg-defaults/tree/accumulate/call):
(test-ob-header-arg-defaults/tree/complex/call):
(test-ob-header-arg-defaults/tree/overwrite/call):
* testing/lisp/test-ob-lob.el (test-ob-lob/caching-call-line):
(test-ob-lob/named-caching-call-line): Update tests.

The purpose of this commit is to make Babel calls more
predictable (e.g., wrt property inheritance) and to remove code
duplication.  Also, Babel calls results are no longer treated as Emacs
Lisp values.
2016-06-16 23:15:01 +02:00
..
test-ob-C.el Babel C, C++, D support for non-homogeneous input tables 2014-06-08 19:20:16 -04:00
test-ob-R.el testing/lisp/test-ob-R.el: Initialize ESS vars for :session tests 2016-01-24 10:08:31 -08:00
test-ob-awk.el awk code blocks handle tabular input 2014-06-07 11:16:55 -04:00
test-ob-emacs-lisp.el Update copyright years 2016-01-09 17:12:03 -05:00
test-ob-exp.el Fix `org-export-babel-evaluate' handling 2016-04-28 17:29:14 +02:00
test-ob-fortran.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-header-arg-defaults.el Simplify Babel calls evaluation 2016-06-16 23:15:01 +02:00
test-ob-lilypond.el ob-lilypond: Fix failing tests 2015-11-08 17:31:34 +01:00
test-ob-lob.el Simplify Babel calls evaluation 2016-06-16 23:15:01 +02:00
test-ob-maxima.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-octave.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-perl.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-python.el Replace TBLNAME with NAME in tests 2016-02-10 15:40:11 +01:00
test-ob-ruby.el Replace `org-ctrl-c-ctrl-c' by `org-babel-execute-maybe' 2015-01-30 18:28:05 +01:00
test-ob-sed.el Org Babel now supports sed scripts 2015-05-30 14:59:01 +02:00
test-ob-shell.el ob-shell.el: export vars as arrays for 'sh' code blocks 2014-04-14 21:24:00 -06:00
test-ob-table.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-tangle.el ob-tangle: Fix `org-babel-tangle-jump-to-org' 2016-01-31 20:38:35 +01:00
test-ob.el org-babel-goto-named-src-block bugfix 2016-06-14 09:40:35 -07:00
test-org-attach-annex.el Silence byte-compiler in "testing/" 2016-06-04 21:12:30 +02:00
test-org-capture.el Add ERTs for feed templates 2016-01-13 08:19:23 +01:00
test-org-clock.el org-clock: Fix `org-clock-drawer-name' 2016-05-11 18:44:02 +02:00
test-org-colview.el Fix a test 2016-06-04 21:27:55 +02:00
test-org-datetree.el Fix failing test 2015-12-29 22:45:14 +01:00
test-org-element.el org-element: Fix inline src blocks parameter syntax 2016-06-10 23:42:50 +02:00
test-org-feed.el org-feed: Fix failing test 2016-01-13 17:08:58 +01:00
test-org-footnote.el org-footnote: Handle un-referenced definitions 2016-02-27 16:05:35 +01:00
test-org-inlinetask.el test-org-inlinetask: Testing inlinetasks 2015-12-04 19:59:52 +01:00
test-org-list.el org-list: Fix sending empty lists 2015-12-08 18:45:21 +01:00
test-org-macro.el org-macro: Fix expansion in narrowed buffers 2016-01-29 00:52:49 +01:00
test-org-pcomplete.el Silence byte-compiler in "testing/" 2016-06-04 21:12:30 +02:00
test-org-protocol.el org-protocol: Allow key=val&key2=val2-style URLs 2015-12-22 13:41:45 +01:00
test-org-src.el Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
test-org-table.el Merge branch 'maint' 2016-03-26 00:20:47 +01:00
test-org-timer.el org-timer.el: hh:mm:ss format for setting a timer 2015-06-02 23:18:13 +02:00
test-org.el Merge branch 'maint' 2016-06-11 13:40:52 +02:00
test-ox.el ox: Small refactoring 2016-05-24 21:40:43 +02:00
test-property-inheritance.el Update copyright years again. 2014-01-07 14:18:17 +01:00