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 'DarthMama' Bennett 60511faedd src/EngineTestSuite.cc 3 years ago
..
convenience_scripts merged in default 3 years ago
include merged in default 3 years ago
python_tests fixing ENGINE-453 4 years ago
src src/EngineTestSuite.cc 3 years ago
test_files ENGINE-398: Moved key_reset into its own files 3 years ago
test_keys ENGINE-487: ENGINE-508: tests in, fixes pass tests except for no-sign-or-encrypt available. Need to fix that. 3 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) 3 years ago
0x6FF00E97.asc testing 5 years ago
0x70DCF575.asc testing 5 years ago
0xC9C2EE39.asc testing 5 years ago
6FF00E97_sec.asc testing 5 years ago
70DCF575_sec.asc testing 5 years ago
C9C2EE39_sec.asc testing 5 years ago
Makefile src/EngineTestSuite.cc 3 years ago
README.txt Merged the one-too-many READMEs 4 years ago
RUN_ONCE_AS_SUDO_FOR_TESTS.sh src/EngineTestSuite.cc 3 years ago
blacklisted_pub.asc Forgot to add these for the blacklist test cases 5 years ago
blacklisted_pub2.asc Forgot to add these for the blacklist test cases 5 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. 3 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 moving inject_sync_event to init() 3 years ago
pEpEngineTest.vcxproj bugfix: pgp_init 8 years ago
pgp_mime_msg.txt ... 7 years ago
signature.asc ENGINE-485: Finally, the nightmare that is NetPGP sign-only (detached sigs) is over. (Or is it?) 3 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