Dirk-Jan C. Binnema
11389247c5
tests: update test helpers and users
...
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
2022-08-15 23:18:18 +03:00
Dirk-Jan C. Binnema
b1ff292bbb
mu: support MUHOME environment variable
2022-05-29 11:10:46 +03:00
Dirk-Jan C. Binnema
cea3167f3e
lib: remove some dead code (mu-str/utils)
...
Remove unused library code; recycle some electrons.
2022-05-19 23:38:49 +03:00
Dirk-Jan C. Binnema
b03590cca8
tests: skip missing timezones in queries, too
2022-05-18 01:08:40 +03:00
Dirk-Jan C. Binnema
907751bc7b
test: enable some more
2022-05-13 23:01:33 +03:00
Dirk-Jan C. Binnema
80d84bf635
store: use Result<Store> builder, add auto upgrade
...
Make it a Result type, and add auto-upgrade (not enabled yet)
Update dependents.
2022-05-09 22:25:28 +03:00
Dirk-Jan C. Binnema
d79488efdc
avoid warnings, update tests
2022-05-06 22:54:41 +03:00
Dirk-Jan C. Binnema
85fed37870
message/document: update sexp on the fly
...
Keep the sexp for the document up to date during scan / change, instead of
having a separate step.
2022-05-05 01:40:17 +03:00
Dirk-Jan C. Binnema
9dd1aaeef5
cmd: update commands and tests for Message
2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema
8db299ea05
commands: Updated 'find' and 'index' to use Mu::Message
2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema
c0fe17eb1d
test-mu-cmd: minor tweaks for message update
2022-04-18 22:26:04 +03:00
Dirk-Jan C. Binnema
04913d8ea9
tests: update for mu-message-fields
2022-03-07 06:50:18 +02:00
Dirk-Jan C. Binnema
45499efef8
mu/tests: update unit tests
...
CI Ubuntu seems to behave quite differently from my Fedora.
2022-02-27 11:09:15 +02:00
Dirk-Jan C. Binnema
d236ed6e7f
test-mu-cmd: fix for CI
...
Seems on Ubuntu we can get back an even smaller message, which still is okay.
So loosen the check a bit.
2022-02-26 11:23:38 +02:00
Dirk-Jan C. Binnema
724e0fd03a
test-mu-cmd: better log failure
...
Some test fails on Ubuntu (in Github CI), though not locally.
2022-02-26 11:11:04 +02:00
Dirk-Jan C. Binnema
4eddf4e6ba
update unit tests
2022-02-21 23:51:46 +02:00
Dirk-Jan C. Binnema
ebc9b88f80
store/query: update for new store/query api
...
Update to the new API.
2022-01-30 14:52:41 +02:00
Dirk-Jan C. Binnema
3001c7832d
tests: add unit test for cjk handling
...
This test exposes some problem finding longer CJK strings; see: issue #1428 .
The test does not _pass_ yet, so skip it for now.
2021-11-22 22:23:18 +02:00
Dirk-Jan C. Binnema
48d3f9cfab
tests: move to subdir, move to meson
...
De-clutter the source directories a bit. Ensure tests build with meson, and
remove from autotools in a few places (no need to do things twice).
2021-11-08 23:58:05 +02:00
Dirk-Jan C. Binnema
6bea54805f
build: fix compiler warning
...
guile: some clang warning
and ensure we get the right Xapian in all places, and fileno is defined.
2021-11-05 09:02:24 +02:00
Dirk-Jan C. Binnema
32849b243c
gmime-test: ensure fileno is defined
2021-11-03 22:08:16 +02:00
Dirk-Jan C. Binnema
c087824126
gmime-test: move to mu/tests
...
and build it with meson, too.
2021-11-02 22:13:33 +02:00
Dirk-Jan C. Binnema
13c8879305
mu: move test sources to tests/
2021-11-02 22:12:15 +02:00
Dirk-Jan C. Binnema
80c5e25b08
mu: move mu/mu/tests, lib/tests one level up
...
Makes it easier to generator code-coverage reports
2020-01-01 15:56:48 +02:00
Dirk-Jan C. Binnema
8cef8ac69c
Revert "mu: default to include related, skip dups"
...
Changing the default for 'mu find' turns out to be a bit too disruptive for people
that use `mu find` for scripting... so let's revert this for now.
This reverts commit f86ed12eb3
.
2019-12-28 07:49:22 +02:00
Dirk-Jan C. Binnema
b55e191421
update for lib/utils split
...
Update sources with the new paths
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema
e5337e7658
lib: split out utils to lib/utils
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema
f86ed12eb3
mu: default to include related, skip dups
...
Add optioins --include-dups and --skip-related that are the reverse of
the previous ones. Leave the old options (hidden) for backward
compat (ie., scripts that use those options)
2019-12-10 18:09:03 +02:00
Derek Schrock
db2cd81d02
tests: fix cmd test_mu_find_04 stderr output
...
Fix test_mu_find_04 such that stderr has expected output.
With the mu command after options/expression nothing was printed.
We now have expected nonexistent muhome error.
2019-11-16 22:40:48 -05:00
Dirk-Jan C. Binnema
be4860befe
tests: update for lib/mu-store changes
2019-07-30 08:51:04 +03:00
djcb
bd52902290
contacts: update test cases for updated contacts
...
Remove the old ones, add new ones.
2019-05-11 13:41:03 +03:00
djcb
6e8378ddcd
mu: update crypto verify test
2019-03-24 11:54:12 +02:00
djcb
164b9e99dd
mu: fix tests Makefile.am
2018-11-05 18:39:22 +02:00
djcb
052a228be7
add optional support for building with asan
2018-11-04 12:31:32 +02:00
djcb
aa70bf1920
Merge branch 'pr-1111'
...
Fix a bunch of conflicts, tests.
2018-08-18 10:29:40 +03:00
djcb
c5a17a9699
mu: make attachment size tests a bit more lenient (for gmime-3.0)
...
Or we won't pass. Not sure what exactly explains the 2-byte diff.
2018-08-18 10:05:31 +03:00
djcb
99df588d41
update compiler warnings, fix them
...
Update the compiler warnings, and fix all the ones outside the guile/.
2018-06-11 10:49:07 +03:00
djcb
2d966ee2ad
tests: remove obsolete tests
2017-10-25 23:50:17 +03:00
Stig Brautaset
e9c6568a57
mu: swap begin and end if begin is _numerically_ bigger than end
...
The old behaviour would compare the strings, so would swap the start and end
ranges if start was 3K and end was 2M.
Fixes: 964
2016-12-03 23:19:27 +00:00
djcb
632ae465f4
mu: unbreak travis tests
...
disable test that seems to fail on travis sometimes, recently; hard to
investigate what goes on there; no changes in the mu code related to
this.
2016-11-05 13:35:26 +02:00
djcb
54b6230adf
tests: fix unit tests
...
Some tests weren't yet update for the new test message.
2016-05-16 13:38:10 +03:00
djcb
a81270583f
Add unit-test for multi-to/cc recipients
...
To check for the report in Issue #826 .
2016-05-15 16:21:20 +03:00
Danie Roux
f996d92daa
Add a test case for https://github.com/djcb/mu/issues/380
...
--include-related fails on some platforms (OSX 10.9 and 10.10) due to a
compilation error.
This test case catches it.
2015-02-22 21:27:13 +02:00
Jakub Sitnicki
856a651d38
tests: threads: Test if grandchild message promotes only its subthread
2014-07-15 07:24:47 +02:00
Jakub Sitnicki
cbfe28b885
tests: threads: Test if grandchild message promotes its thread
2014-07-15 07:24:21 +02:00
Jakub Sitnicki
b0357a2d7a
tests: threads: Test if child message doesn't promote its thread
2014-07-15 07:23:53 +02:00
Jakub Sitnicki
f49296759e
tests: threads: Test if orphan message promotes its thread
2014-07-15 07:23:27 +02:00
Jakub Sitnicki
c5d4f7f338
tests: threads: Test if 2nd child message promotes its subthread
2014-07-15 07:22:53 +02:00
Jakub Sitnicki
22927a7dcf
tests: threads: Test if 1st child message promotes its thread
2014-07-15 07:22:11 +02:00
Jakub Sitnicki
80a484dc3f
tests: threads: Extract helper for checking thread info for each message
2014-07-15 07:19:25 +02:00