p≡p engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Krista Bennett 13ac482c9b Changes in build to make NETPGP work in the tests. 4 years ago
..
convenience_scripts Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset) 4 years ago
include Small test fixes and changes - now with error summary at end so you can find those pesky tests and their errors 4 years ago
python_tests Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset) 4 years ago
src Changes in build to make NETPGP work in the tests. 4 years ago
test_files Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset) 4 years ago
test_keys Updated key expiry 4 years ago
test_mails Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset) 4 years ago
0x6FF00E97.asc testing 6 years ago
0x70DCF575.asc testing 6 years ago
0xC9C2EE39.asc testing 6 years ago
6FF00E97_sec.asc testing 6 years ago
70DCF575_sec.asc testing 6 years ago
C9C2EE39_sec.asc testing 6 years ago
Makefile Changes in build to make NETPGP work in the tests. 4 years ago
README.txt Merged the one-too-many READMEs 4 years ago
blacklisted_pub.asc Forgot to add these for the blacklist test cases 6 years ago
blacklisted_pub2.asc Forgot to add these for the blacklist test cases 6 years ago
gen_pgp_samples.sh netpgp : better rcpt list handling for encryption + other minor fixes. pEpEngineTest : added more test key pairs, and load them in test so that test can run on empty rings. 7 years ago
genscripts.py Pseudo-grafted updated test code from ENGINE-434, since it seems it may be a while til those discussions take place. 4 years ago
gensuitemaker.py Added exclusion for test suite builds - excluded tests still built, but not put into SuiteMaker. Usage is make EXCLUDE=<comma-separated list of tests, e.g. IdentityListTests,TrustwordsTests> - I don't promise there's not some fragility, but it should work. 4 years ago
gentestshell.py More tests + all the new header files. Current status is one of the tests seems to be corrupting something - valgrind agrees but is a little bananas to sort through, so we'll check it once the rest of the tests are in. 4 years ago
msg netpgp : better rcpt list handling for encryption + other minor fixes. pEpEngineTest : added more test key pairs, and load them in test so that test can run on empty rings. 7 years ago
msg.asc netpgp : better rcpt list handling for encryption + other minor fixes. pEpEngineTest : added more test key pairs, and load them in test so that test can run on empty rings. 7 years ago
msg1.asc more testdata 7 years ago
msg2.asc more testdata 7 years ago
msg3.asc ... 7 years ago
msg_no_key.asc version where keys are not available - there was a key clash before which made the no-key test fail in message_api_test 6 years ago
no_key.asc Make a consistent error when cannot decrypt because of missing key 6 years ago
pEpEngineTest.cc ENGINE-352: put in the mechanism to attach an is_pep mechanism for the user; tacking pEp messages is complicated, however, as it seems we've also always fouled up when we checked on that (we don't check what key it's encrypted with before we declare whatever key gets retrieved by update_identity is the same, and then set the comm_type on that, which could be the wrong key.) So that's the next fix. 4 years ago
pEpEngineTest.vcxproj bugfix: pgp_init 8 years ago
pgp_mime_msg.txt ... 7 years ago
signature.asc netpgp : better rcpt list handling for encryption + other minor fixes. pEpEngineTest : added more test key pairs, and load them in test so that test can run on empty rings. 7 years ago
still_no_key.asc Make a consistent error when cannot decrypt because of missing key 6 years ago
t1.txt extra files for db and testing 8 years ago
t2.txt extra files for db and testing 8 years ago

README.txt

DOCUMENTATION AND CLEANUP FORTHCOMING.

Engine tests now require libcpptest - if you have compilation failures using your distribution's lib (I'm looking at you, Ubuntu), please download the source at http://cpptest.sourceforge.net/, compile, and run.

New test creation requires python 3.x.

Notes:

- TEST_ASSERT is a macro and does not always behave 100% the way you'd expect. Note the following:
* 1. If used in if/else blocks, make sure the blocks are guarded, or weird things happen.
* 2. If performing comparisons, please parenthesise liberally - bitwise operations being compared to 0 should always be parenthesised before comparison