0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-30 11:27:52 +00:00
org-mode/testing/lisp
Ian Martins 93087e0b3a lisp/ob-java.el: Make the default to write to the current directory
* lisp/ob-java.el(org-babel-default-header-args:java): Add :dir
default.
(org-babel-execute:java): Check for existence of :dir in params using
alist-get instead of assq because we want a nil cdr to be false.
* testing/lisp/test-ob-java.el
(ob-java/simple, ob-java/simple-with-bracket)
(ob-java/simple-with-quote, ob-java/simple-return-int)
(ob-java/simple-return-float, ob-java/simple-return-string)
(ob-java/simple-with-main, ob-java/simple-with-two-methods)
(ob-java/simple-with-no-main, ob-java/simple-with-main-args-array)
(ob-java/simple-with-main-whitespace, ob-java/simple-with-class)
(ob-java/simple-with-non-public-class)
(ob-java/simple-with-class-and-package)
(ob-java/simple-with-class-attr)
(ob-java/simple-with-class-attr-with-package, ob-java/one-arg)
(ob-java/args-quoted-string, ob-java/integer-var)
(ob-java/var-with-main, ob-java/var-with-class)
(ob-java/var-with-class-and-package)
(ob-java/var-with-class-and-hanging-curlies, ob-java/two-vars)
(ob-java/string-var, ob-java/multiline-string-var)
(ob-java/return-vector-using-list, ob-java/return-vector-using-array)
(ob-java/read-return-list, ob-java/read-list-return-array)
(ob-java/read-return-list-with-package)
(ob-java/output-list-with-spaces, ob-java/list-var, ob-java/vector-var)
(ob-java/matrix-var, ob-java/matrix-var-with-header)
(ob-java/output-table-with-header, ob-java/inhomogeneous_table)
(ob-java/import_library, ob-java/import_library_inline)
(ob-java/tangle): Set :dir to nil to prevent tests from writing files
outside of temporary directory.
(ob-java/tangle-with-package, ob-java/simple-dir):
(ob-java/simple-dir-with-package): Move :dir param to be consistent
with other tests.

Most languages write tempfiles to babel's temporary directory, but
ob-java originally had to write them to the current directory instead.
I suspect this is because java puts the source file in package
directories, and babel doesn't expect subdirectories in the babel
temporary directory.  This change brings back the original behavior.

Reported-by: Jarmo Hurri <jarmo.hurri@iki.fi>
Ref: https://orgmode.org/list/87mtzk9n30.fsf@iki.fi
2020-11-17 06:38:56 -05:00
..
test-ob-awk.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-C.el Add test case for symbol coercion in C Babel blocks 2020-05-28 22:32:31 -04:00
test-ob-clojure.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
test-ob-emacs-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
test-ob-eshell.el ob-eshell.el: Add Eshell support for Babel 2018-10-03 18:44:34 +02:00
test-ob-exp.el ob-shell.el: New option `org-babel-shell-results-defaults-to-output' 2020-09-07 19:30:04 +02:00
test-ob-fortran.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-header-arg-defaults.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-java.el lisp/ob-java.el: Make the default to write to the current directory 2020-11-17 06:38:56 -05:00
test-ob-lilypond.el testing/lisp/test-ob-lilypond.el: Delete test 2020-02-11 10:42:49 +01:00
test-ob-lob.el ob-exp: Restore evaluation query for lob calls during export 2020-11-01 18:34:16 -05:00
test-ob-lua.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-maxima.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-octave.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-perl.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-plantuml.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-python.el ob-python: fix startup messages leaking into output 2020-09-06 18:15:04 -07:00
test-ob-R.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-ruby.el Ruby tests 2019-05-16 10:43:14 +02:00
test-ob-scheme.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-sed.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-shell.el Fix tests wrt 2f53429413 2020-09-06 22:37:32 +02:00
test-ob-sqlite.el Fix typos 2019-11-16 17:17:36 -05:00
test-ob-table.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-tangle.el ob-core: Fix handling of multiple noweb refs in same line 2020-09-15 23:45:16 -04:00
test-ob-vala.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob.el lisp/ob-core.el: Allow passing empty vector to :file-desc to omit description 2020-10-06 23:13:12 -04:00
test-ol-bbdb.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
test-ol.el ol: Fix some corner cases when normalizing context in links 2020-03-26 22:57:16 +01:00
test-org-agenda.el agenda: Consistently clear temporary agenda name 2020-11-09 01:07:35 -05:00
test-org-archive.el archive: Account for org-odd-levels-only in datetree calculations 2020-11-12 00:59:53 -05:00
test-org-attach-git.el Fix problems with org-attach-git, failed tests 2019-09-08 14:43:46 +02:00
test-org-attach.el Make tests robust with respect to mailcap entries 2020-06-03 00:11:46 -04:00
test-org-capture.el Fix capturing plain text with :unnarrowed property and no "%?" marker 2020-05-07 22:35:13 +02:00
test-org-clock.el org-clock: Mention semimonth step in manual and add test 2020-03-26 21:04:00 -04:00
test-org-colview.el colview: Display active time stamps as inactive 2020-05-12 22:44:57 -04:00
test-org-datetree.el org-datetree.el: Respect `org-blank-before-new-entry' 2020-09-09 10:07:29 +02:00
test-org-duration.el org-duration: Read and write duration in compact form 2020-01-04 18:39:05 +01:00
test-org-element.el Merge branch 'maint' 2020-01-11 20:18:47 +01:00
test-org-feed.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-footnote.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-info.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-inlinetask.el testing/lisp/test-org-inlinetask.el: Fix test 2020-09-06 23:35:32 +02:00
test-org-lint.el lint: Catch misleading drawers within drawers 2020-05-27 14:55:04 +02:00
test-org-list.el list: Fix item insertion when split point is near blanks 2020-08-16 11:42:53 +02:00
test-org-macro.el org-macro: Fix {{{author}}} expansion without AUTHOR keyword 2020-03-11 16:24:26 +01:00
test-org-macs.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-num.el org-num: Add tests 2020-08-28 08:45:41 +02:00
test-org-pcomplete.el pcomplete: improve header arguments completion 2020-05-14 14:52:30 +02:00
test-org-protocol.el org-protocol: Fix URL handling -- add tests 2019-03-10 18:20:58 +01:00
test-org-src.el src: Do not undo edit buffers back to empty state 2020-07-02 19:30:14 +02:00
test-org-table.el table: Allow collapsing header into single line 2020-06-28 23:02:26 +02:00
test-org-tempo.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-timer.el When testing, fake the current time more robustly 2019-02-12 19:34:08 -05:00
test-org.el org-tags-expand: Fix handling of downcased group tags 2020-09-28 00:04:53 -04:00
test-ox-publish.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ox.el table: Allow collapsing header into single line 2020-06-28 23:02:26 +02:00
test-property-inheritance.el org-test, test-org-element, test-org, test-ox, test-property-inheritance 2019-07-07 19:42:50 +02:00