Commit Graph

174 Commits (92969052d7f4f008205bbfdf3e5437f3deca1d6b)

Author SHA1 Message Date
Bjoern Schiessle 517a55a437 tests added 12 years ago
Bjoern Schiessle df0c1fe7f3 add test for the stream wrapper to read encrypted files from the system folder /tmp 12 years ago
Bjoern Schiessle f9ec3a7124 test for isEncryptedPath() 12 years ago
Bjoern Schiessle cdd816c930 only remove encryption keys if a real file gets deleted, skip this method if a file outside of /data/user/files was deleted 12 years ago
Bjoern Schiessle 6d489e0474 call set password hook because it doesn't get triggered during test execution and fix paths 12 years ago
Bjoern Schiessle b919a65432 enable more tests 12 years ago
Bjoern Schiessle 7f3b178d73 some small changes according to the review comments 12 years ago
Bjoern Schiessle b27fc42e1f public upload now also works with encryption enabled 12 years ago
Bjoern Schiessle 318db64b2d adapt tests to the new code 12 years ago
Bjoern Schiessle 0c24c7c420 only check if the key file exists to decide if it is an encrypted file or not. 12 years ago
Bjoern Schiessle f36ee69855 tests added 12 years ago
Bjoern Schiessle 2624a6cb32 remove debug output 12 years ago
Bjoern Schiessle 2df3763675 test encryptAll() and decryptAll() to make sure that mtime and etag stay the same 12 years ago
Bjoern Schiessle 77429c28fd rename fixPartialFilePath() to stripPartialFileExtension(), this name describes better what the method actually does 12 years ago
Bjoern Schiessle fcbb5d6cb3 missed some replacements... now tests should work 12 years ago
Bjoern Schiessle 9f10f15fd4 fixing tests for the new part file handling 12 years ago
Markus Goetz af58360434 files_encryption: Fix getFileSize() 12 years ago
Bjoern Schiessle beaed2195d fix comment 12 years ago
Bjoern Schiessle 0d4117f6d5 added simple test for getFileSize proxy 12 years ago
Andreas Fischer 83afb46205 Use __DIR__ instead of dirname(__FILE__). 13 years ago
Andreas Fischer 85ac9572ce Also remove other unnecessary realpath() calls. 13 years ago
Andreas Fischer 9753e44ac2 Do not use realpath() on includes. 13 years ago
kondou 9e8a6b704d Add _many_ newlines at the end of files 13 years ago
Thomas Müller c458e785a1 fixing typos and PHPDoc 13 years ago
Bjoern Schiessle 023121aed0 adapt tests to the changes in crypt.php 13 years ago
Bjoern Schiessle 69173c2a6b fix test and make warning translatable 13 years ago
Bjoern Schiessle d7dd2ee465 don't know why it works locally but not on the build server... let's keep it out for the moment 13 years ago
Bjoern Schiessle fe2937e3cd this hopefully fixes testRecoveryForUser(), works locally 13 years ago
Bjoern Schiessle 58233033c1 this test works locally, let's see what out build server says... 13 years ago
Bjoern Schiessle 6c96a5273b fixing some unit tests 13 years ago
Bjoern Schiessle aca7fbe2c8 adapt unit tests to the modified stream wrapper 13 years ago
Morris Jobke f54f203e56 mark test as incomplete because I can't reproduce jenkins failure 13 years ago
Thomas Müller 20ee9945d1 don't rely on admin user but create a test user for Test_Encryption_Keymanager 13 years ago
Björn Schießle ec6350079f fix getUidAndFilename() test 13 years ago
Björn Schießle 2f1005f05f LegacyKeyRecryptKeyfileEncrypt() no longer exists, so test can be removed 13 years ago
Björn Schießle 6394fedb33 add comment to explain the helper function 13 years ago
Björn Schießle df78085171 adapt test to the code changes 13 years ago
Jörn Friedrich Dreyer c70a0f791d allow 30 sec for testDeleteFile 13 years ago
Jörn Friedrich Dreyer b6f8d2b859 raise failed tests from first commit to size @medium 13 years ago
Jörn Friedrich Dreyer 73fb722a9e add timeouts 3/30/90 to phpunit tests 13 years ago
Florin Peter dc8bcf0688 reformat code 13 years ago
Björn Schießle 1e601cd6f1 use generated private key fro m setUp() 13 years ago
Björn Schießle 35c91ff901 added test for decryptPrivateKey() 13 years ago
Björn Schießle 42f66af5a3 control files are no longer needed, remove them from the tests 13 years ago
Florin Peter 46e5e9bd73 cleanup unused method legacyKeyRecryptKeyfile 13 years ago
Florin Peter d85a10ebc5 fix broken tests 13 years ago
Florin Peter ccdfb59426 fix legacy key in until test 13 years ago
Florin Peter df41a60c50 fixed typo 13 years ago
Florin Peter 6ae7bde788 fixed encryption session namespace to avoid problems 13 years ago
Robin Appelman 44f9af5a7f Use the new session wrapper 13 years ago