summary refs log tree commit diff
path: root/tests
AgeCommit message (Collapse)Author
20 hoursRename query-terms to query-termlist.Arun Isaac
This makes it clearer that this is really a C++ iterator we are dealing with, and is more in line with how we name other *-termlist, *-positionlist, etc. functions.
35 hoursImport &error with the rnrs: prefix.Arun Isaac
&error conflicts with a core Guile binding otherwise.
35 hoursTest example scripts.Arun Isaac
37 hoursImport &error in smoketest.scm.Arun Isaac
2 daysPort smoke test from python bindings.Arun Isaac
2021-09-07tests: Add binary document tests.Bob131
This commit adds tests to smoke-test document methods dealing with bytevectors. * tests/xapian.scm ("document-data fails to decode binary data", "document-bytes reads binary data correctly", "document-slot-ref fails to decode binary value", "document-slot-ref-bytes reads binary value correctly"): New tests. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-09-07Set up testing infrastructure.Arun Isaac
* tests/xapian.scm: New file. * build-aux/test-driver.scm.in: New file. * configure.ac: Configure build-aux/test-driver.scm. * .gitignore: Add build-aux/test-driver.scm, tests/*.log and tests/*.trs. * Makefile.am (EXTRA_DIST): Add TESTS. (TEST_EXTENSIONS, SCM_TESTS, TESTS, SCM_LOG_DRIVER): New variables.