Commit Graph

50 Commits (d772f6991c36a6f7895ddc97a314b12be9b146b1)

Author SHA1 Message Date
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 1 year ago
Robin Appelman e704470c79
update tests 1 year ago
Ferdinand Thiessen dc9d8c42bb fix: Adjust console formatter code to match with Symfony type hints 2 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 2 years ago
Joas Schilling 47880b143d
Remove failing test that works with mocks only anyway 2 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 2 years ago
Côme Chilliet ee06261b82
Fix codestyle in modified files 2 years ago
Côme Chilliet 324126888e
Add Union types for properties in tests/lib/Encryption/Keys/StorageTest.php 2 years ago
Côme Chilliet 70e2217d1c
Fix dynamic properties and other problems in tests for PHP 8.2 2 years ago
Julius Härtl 908b7aa70a
Attempt to fix CalendarImpl tests 2 years ago
Carl Schwan 458c2fa297
Remove OCP\App and OCP\BackgroundJob 2 years ago
Côme Chilliet 6a1510f8ee
Remove some more at matchers in tests/lib 2 years ago
Vincent Petry b212e8dcc9
Add unit tests for encryption's isSystemWideMountPoint 3 years ago
Côme Chilliet 61f7f13bd8
Migrate from ILogger to LoggerInterface where needed in the tests 3 years ago
Carl Schwan 6312c0df69
Check style update 3 years ago
Côme Chilliet 065531570d
Fix Encryption tests on PHP 8.1 3 years ago
Julius Härtl 76170a58eb
Log and continue when failing to update encryption keys during for individual files 4 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 4 years ago
Roeland Jago Douma 5340ab3a75
New SSE key format 4 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 4 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 5 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 5 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 5 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 5 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 5 years ago
Christoph Wurst 74936c49ea
Remove unused imports 5 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 5 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 5 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 5 years ago
Robin Appelman 67a46b5aa9
update encryption wrapper tests 6 years ago
Bjoern Schiessle d76a87f3b0
skip already decrypted files on decrypt all command 6 years ago
Joas Schilling 3917a54113
Class "ProgressBar" is declared "final" and cannot be mocked. 7 years ago
Joas Schilling 870023365c
Fix "Undefined method setExpectedException()" 7 years ago
Morris Jobke c733cdaa65
Use ::class in test mocks of encryption app 7 years ago
Morris Jobke ab36980d20
Use ::class in test mocks of dav app 7 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 7 years ago
Joas Schilling a0ada9aab4
Don't use deprecated getMock() anymore 8 years ago
Joas Schilling 1c0bffe87f
Fix translations 8 years ago
Bjoern Schiessle fcda3a20f4
create new encryption keys on password reset and backup the old one 8 years ago
Vincent Petry fca8bd44ab
Fix shared storage namespace in DecryptAll class 8 years ago
Joas Schilling 246bb9f33d
Move OC\Files\Storage\Shared to the right namespace 8 years ago
Roeland Jago Douma 3782edf49c
Fix getMock DecryptAllTest 8 years ago
Roeland Jago Douma 4da1ee99d6
Fix getMock Encryption 8 years ago
Bjoern Schiessle 351cab6bce
skip shared files, if files get decrypted only for a specific user we shouldn't touch files owned by a different user. 8 years ago
blizzz 51fd2602a7 Revert "Downstream 2016-06-08" 9 years ago
Joas Schilling 4f27c2c433
Allow to decrypt user '0' files only 9 years ago
Joas Schilling d4ba982131
Allow to decrypt user '0' files only 9 years ago
Björn Schießle b15babd061
fix unit tests 9 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 9 years ago