1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 19:42:04 +02:00
Commit graph

21 commits

Author SHA1 Message Date
holger krekel
1d11566ad4 wait for a better event than DC_EVENT_INFO 2018-09-08 17:39:19 +02:00
holger krekel
dead1d1a87 make some tests run also in offline mode and thus on travis 2018-09-08 17:11:56 +02:00
holger krekel
4f5ded880e make send and receive message test work, add some events 2018-09-08 16:29:58 +02:00
holger krekel
3265178d31 emit and look for DC_EVENT_(SMTP|IMAP)_CONNECTED events which are INFO events so that we can also for other events convert the C-code easily (just use "dc_log_event" instead of "dc_log_info") 2018-09-08 14:06:16 +02:00
holger krekel
1c77187d5a refactor event logging to happen inside the account 2018-09-08 12:34:41 +02:00
holger krekel
823d1283ac a first multi-account test, no real checks yet 2018-09-08 11:24:09 +02:00
holger krekel
b153089d4c add basic create contact API 2018-09-07 20:01:46 +02:00
holger krekel
a244393860 introduce get_config() helper 2018-09-07 19:19:31 +02:00
holger krekel
c02abb8a61 added a more general way to configure live test accounts for testing 2018-09-07 19:10:14 +02:00
holger krekel
940f665b54 tox.ini and py35 support, fix linting errors 2018-09-07 18:34:15 +02:00
holger krekel
efe8aca51c another try at travis run 2018-09-06 23:18:27 +02:00
holger krekel
55b05be6af better modularize functionality and use it from tests 2018-09-06 19:14:29 +02:00
holger krekel
1ff06c071b do some string conversions less hackish and address one review comment on how to call the callback and return results 2018-09-06 16:28:27 +02:00
holger krekel
fe05c27081 bring the test into a bit of a better shape 2018-09-05 16:10:03 +02:00
holger krekel
7a54a2577a hack things to work a bit more, with modifying DC_EVENT_HTTP_GET c-code
we can now perform a http request but how to return it to dc is unclear yet
2018-09-05 15:45:25 +02:00
holger krekel
31ebc32963 hackishly convert all large longs to strings -- probably a bit fragile 2018-09-05 14:03:45 +02:00
holger krekel
0340dbe81c quick try at adding DC_EVENT names and use them to deltachat bindings 2018-09-05 13:53:18 +02:00
holger krekel
eec2261cca some initial test code, also fixing callback machinery to actually call the callback (thanks flub for the hint), also test file rename 2018-09-04 15:50:34 +02:00
Floris Bruynooghe
08689b2a04 Add support for the callback in python/cffi
This uses one global event handler function on the C level, as
enforced by CFFI, and caters for registering a per-context event
handeler.  A simple fixture for doing this during tests is also
implemented.
2018-07-22 13:46:09 +02:00
Floris Bruynooghe
3aeec2202a Update python bindings to new headers naming
This fixes the python bindings build to work with the new layout of
the header files and new names.
2018-07-19 20:15:54 +02:00
Floris Bruynooghe
880071b161 Add proof-of-concept unittest
Doesn't do anything useful yet.
2018-06-10 12:22:28 +02:00