Commit Graph

25 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Robin Appelman a9ee278ec6 perf: cache path by id to speedup getting nodes by id 2 years ago
Julius Härtl 7f958e81d3
fix: Pass parent to NonExistingFile instances 2 years ago
Julius Härtl d9c81f56ad tests: Adapt node related unit tests mocks to required root view 3 years ago
Robin Appelman 754603a04e
dont needlessly resolve path when getting internalPath/storage from Node 4 years ago
Côme Chilliet 61f7f13bd8
Migrate from ILogger to LoggerInterface where needed in the tests 4 years ago
Robin Appelman 1c468129af
adjust tests to new fs setup 4 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Joas Schilling 01b4db62fb
Add dispatcher events to User and Group objects 7 years ago
Morris Jobke ab36980d20
Use ::class in test mocks of dav app 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Vincent Petry 269b652754
Add tests for move/copy hooks in Node API 9 years ago
Vincent Petry e667b28298
Fix files node API failed rename/copy 9 years ago
Vincent Petry eb5ea0e260
Refactor files node API for more code reuse 9 years ago
Lukas Reschke 68cebef64c
DI for root.php 9 years ago
Robin Appelman 0d842e0550
optimize Folder::getById to use less queries 9 years ago
Roeland Jago Douma 3b4535c3be
Improve NodeTest 10 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Vincent Petry 28e9bc1156 Fix more unit tests to pass a mock storage instead of null to FileInfo 10 years ago
Lukas Reschke 36ce254ffd Move dummy backend to Tests namespace 10 years ago
Robin Appelman 541c8c092d Add unit test 11 years ago
Robin Appelman fd85424742 Add getMountPoint to FileInfo 11 years ago
Robin Appelman 672495a1a3 make \OC\Files\Node\Node implement the FileInfo interface 11 years ago
Joas Schilling 2c39aec8cb Replace deprecated constant with new class constant 11 years ago
Joas Schilling bb540722cd Use base class to reset the file mapper 11 years ago
Robin Appelman b9167196fb adjust test cases to namespace changes 12 years ago
Robin Appelman a22f9ff301 Provide an implementation of the fileapi for oc6 build on top of the old api 13 years ago