Edouard Tisserant
8a59e46a0a
uses new sync app notification enum names in mp_sync_test
9 years ago
Edouard Tisserant
6713399047
ENGINE-133 wrapped new notifyHandshake call and enum, added corresponding code to keep tests passing, still didn't add code testing occurence of additional callbacks in timeout or success cases
9 years ago
Edouard Tisserant
2b31a595ad
restored changes from 501073283ae0 'adding namespace to init funcitons', accidentaly overwritten because of old dirty buffer
9 years ago
Edouard Tisserant
5686a7c58f
ENGINE-133 timeout in retrieve_next_sync_msg - tested
9 years ago
Edouard Tisserant
0dd376189d
Some cleanup in test/multipEp.py
9 years ago
Edouard Tisserant
aa586500f1
merge
9 years ago
Edouard Tisserant
c349952198
ENGINE-133 timeout in retrieve_next_sync_msg - now wrapped, with stubs in MultipEp.py
9 years ago
Edouard Tisserant
c0cdf33234
ENGINE-133 timeout in retrieve_next_sync_msg - half baked, not wrapped
9 years ago
Volker Birk
35bc5b4431
adding namespace to init funcitons
9 years ago
Edouard Tisserant
08d8fd268e
Fixed Multiprocess test swallowing exception and continuing with following test as if nothing went wrong
9 years ago
Edouard Tisserant
1127187efe
ENGINE-140 fixed details in test for exclution of identity from sync
9 years ago
Edouard Tisserant
42c6ebc2e8
ENGINE-140 #comment Added test for PEP_idf_not_for_sync on own identity - still not passing
9 years ago
Edouard Tisserant
2a6343b72c
Added flags to Identity constructor, set_identity_flags, unset_identity_flags.
Added support for pEp enums through boost enums<>, reflected in tests.
Switched MultiProcess Sync test from fork to spawn, to work around problems when loading pEp module from main process before forking child processes.
Fixed temp dir being destroyed in case of exception, preventing post-mortem analysis of management DB.
9 years ago
Edouard Tisserant
e8a86768e6
merge
9 years ago
Edouard Tisserant
b91706fbcd
Tests: Added only_$TestName command line argument to multiprocess test, to select a single test to run.
9 years ago
Volker Birk
9fe2f0b181
adding namespace
9 years ago
Edouard Tisserant
9195a49292
Better english for KeySync messages status flags
9 years ago
Edouard Tisserant
5c9e7fdc7e
Multiprocess test : Added option to attach debugger before a particular action in tests
9 years ago
Edouard Tisserant
460a69ad59
ENGINE-139: uses decrypt flags instead of return value for DISCARDED and CONSUMED sync message, thus avoiding undue exceptions
9 years ago
Volker Birk
a1e24dda7d
some wrapper script in utils
9 years ago
Edouard Tisserant
7f6cb7cac5
test: re-enabled group_suvives_restart
9 years ago
Edouard Tisserant
883e4b61d2
tests : fixed instance restart. added test to check survival of group to restarts (failing)
9 years ago
Edouard Tisserant
210d4089a3
test: moved some code around to prepare for test including instances restart
9 years ago
Edouard Tisserant
6f49ae0362
test: fixed and enabled group update on missing key test
9 years ago
Edouard Tisserant
07e827e283
added test for group update on missing key, disabled until fixed
9 years ago
Edouard Tisserant
b2c6adbbf7
Fixed group update test, added per-instance debug command line option
9 years ago
Edouard Tisserant
87009e4e45
MP tests : added group updated test (crashing for now, pepengine needs a fix)
9 years ago
Edouard Tisserant
9f859ce26f
More multi process based tests
9 years ago
Edouard Tisserant
67f1d46c15
Multi process test use now generator instead of sequence to describe the test, making easier to implement test logic and storage of intermediate results
9 years ago
Edouard Tisserant
78c2aabb3b
Multi process test now behaves as a real functional test, and fires exception if mail that should be decrypted by group isn't decrypted
9 years ago
Edouard Tisserant
555c93691a
various enhancements in multiprocess test - to be continued
9 years ago
Edouard Tisserant
0495112817
fixed unallocated free
9 years ago
Edouard Tisserant
4930c6eb56
refactored multi process test framework, so that test can evaluate to failed/passed and not require someone to read and interpred if it did work
9 years ago
Edouard Tisserant
1939e58014
mp_sync_test added time offset on msg->rcv to test expiry of sync message
9 years ago
Edouard Tisserant
d60808c058
MP sync test : added an instance to test sync with more than two device
9 years ago
Edouard Tisserant
98008c22c9
PEP_MESSAGE_DISCARDED
9 years ago
Edouard Tisserant
b7b7f9f3dd
Added trust_personal_key
9 years ago
Edouard Tisserant
9d48acd319
Desynchronized accepting handshake from call to ShowHandshake, causing re-entrance in keysync's FSM driver
9 years ago
Edouard Tisserant
496594c26c
Added partner parameter to deliverHandshakeResult
9 years ago
Edouard Tisserant
0f19e8ce83
mp_sync_test : added trustwords based device group handshake checking and accepting
9 years ago
Edouard Tisserant
8e76d46ba2
added lldb attach to created test processes in multiprocessing based test
9 years ago
Edouard Tisserant
2b014528e6
Now handles consumed messaged
9 years ago
Edouard Tisserant
46175a3d52
Better multi-process test. Still PEP_MESSAGE_CONSUMED needs to be supported
9 years ago
Edouard Tisserant
d2f17bea85
Added commandline option for depencencies prefix and boost location
9 years ago
Volker Birk
75fbd90632
ignore this
9 years ago
Volker Birk
6bccdc275e
adding command line tool
9 years ago
Volker Birk
039354d7ad
simpler but working - boost::python has its quirks
9 years ago
Volker Birk
c1a0d22dc3
Thank you, Yoshimo! ;-)
9 years ago
Volker Birk
39e548d0c5
documentation
9 years ago
Volker Birk
e24b220130
documentation
9 years ago