server/tests/lib
Vincent Petry 626daabb56
Prefilter inaccessible shares in DefaultShareProvider::getSharedWith()
The DefaultShareProvider now does a DB-level check to find out whether
file_source is accessible at all (deleted file) or whether it's in the
trashbin of a home storage.

One small corner case where the home storage id is in md5 form cannot
be covered properly with this approach.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:58 +02:00
..
Activity Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
App increase core version number to trigger db ugprade and fix app manager tests 2016-09-05 08:51:13 +02:00
AppFramework Add tests 2016-09-15 13:11:36 +02:00
Archive Remove unneeded checks if it runs on a Windows machine 2016-07-08 15:55:17 +02:00
Authentication Do not use underscores in PSR4 namespaces of the backup codes app 2016-10-03 21:47:33 +02:00
BackgroundJob Fix getMock JobListTest 2016-09-13 09:09:52 +02:00
Cache Fix getMock FileCacheTest 2016-09-13 09:09:52 +02:00
Command Fix getMock Command/Intergrity 2016-09-07 20:42:37 +02:00
Comments Add test for setTopmostParentId and getTopmostParentId 2016-09-29 22:43:48 +02:00
DB Various database migration fixes (#25209) 2016-06-29 14:54:41 +02:00
Encryption Fix getMock DecryptAllTest 2016-09-13 09:09:52 +02:00
Files Add Tests 2016-10-05 11:00:16 +02:00
Group Fix getMock MetaDataTest 2016-09-07 20:42:37 +02:00
Hooks Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Http/Client Fix getMock Http Client 2016-09-07 20:42:37 +02:00
IntegrityCheck Make sure memory limit is > post size and upload filesize 2016-09-13 16:50:36 +02:00
L10N Fix getMock L10NTest 2016-09-07 20:42:38 +02:00
Lock Fix getMock DBLockingProviderTest 2016-09-13 09:09:53 +02:00
Log Renamed test classes for file logging tests. 2016-07-22 14:47:50 +02:00
Mail Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Memcache Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Migration Fix getMock Migration 2016-09-07 20:42:38 +02:00
Notification Make sure the primary action is always the first one 2016-08-15 11:13:54 +02:00
OCS Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Preview Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
PublicNamespace Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Repair Fix getMock RepairUnmergedSharesTest 2016-09-13 09:09:53 +02:00
Security Fix getMock CertificateMangerTest 2016-09-13 09:09:53 +02:00
Session Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
Settings Fix tests 2016-09-08 20:11:21 +02:00
Share Fix getMock Share 2016-09-07 20:42:38 +02:00
Share20 Prefilter inaccessible shares in DefaultShareProvider::getSharedWith() 2016-10-06 13:57:58 +02:00
SystemTag Act on effective system tag canAssign permission 2016-05-20 17:56:02 +02:00
Template Fix getMock Template 2016-09-07 20:42:38 +02:00
Traits Fix phpunit Trait warning 2016-07-08 19:36:17 +02:00
Updater Use the same URL everywhere 2016-09-27 14:52:22 +02:00
User Only trigger postDelete hooks when the user was deleted... 2016-09-29 15:40:53 +02:00
Util Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
AllConfigTest.php Revert "Downstream 2016-06-08" 2016-06-09 17:41:57 +02:00
APITest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
AppConfigTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
AppTest.php Fix getMock AppTests 2016-09-13 09:09:50 +02:00
AutoLoaderTest.php Fix unit tests 2016-05-20 16:35:07 +02:00
AvatarManagerTest.php Fix avatar tests 2016-10-05 11:00:17 +02:00
AvatarTest.php avatar to appdata 2016-10-05 11:00:16 +02:00
CapabilitiesManagerTest.php Make the capabilities manager more error proof 2016-08-15 20:37:19 +02:00
ConfigTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
ContactsManagerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
DateTimeFormatterTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
ErrorHandlerTest.php FIx lib/ a-d 2016-05-19 09:27:21 +02:00
FileChunkingTest.php Fix getMock FileChunkingTest 2016-09-07 20:42:37 +02:00
FilesTest.php Make sure memory limit is > post size and upload filesize 2016-09-13 16:50:36 +02:00
HelperStorageTest.php Fix getMock HelperStorageTest 2016-09-13 09:09:53 +02:00
HookHelper.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
HTTPHelperTest.php Fix getMock HTTPHelper 2016-09-07 20:42:37 +02:00
ImageTest.php Remove unneeded checks if it runs on a Windows machine 2016-07-08 15:55:17 +02:00
InstallerTest.php OC_Installer -> \OC\Installer 2016-05-02 08:52:06 +02:00
LargeFileHelperGetFileSizeTest.php Remove unneeded Windows logic 2016-09-01 10:47:57 +02:00
LargeFileHelperTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
LegacyHelperTest.php Fix getMock LegacyHelperTest 2016-09-07 20:42:38 +02:00
LoggerTest.php add test 2016-08-22 16:56:00 +02:00
NaturalSortTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
NavigationManagerTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
OCSClientTest.php Fix getMock OCSClient 2016-09-07 20:42:38 +02:00
PreviewTest.php Fix failing preview unit tests (#26039) 2016-09-12 16:46:39 +02:00
RepairStepTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
ServerTest.php Fix loading of ThemingDefaults 2016-08-19 11:26:22 +02:00
SetupTest.php Fix getMock SetupTest 2016-09-07 20:42:38 +02:00
StreamWrappersTest.php Fix missing backtick before OC 2016-05-19 09:41:45 +02:00
SubAdminTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
TagsTest.php Fix getMock TagTest 2016-09-13 09:09:53 +02:00
TemplateFunctionsTest.php Fix lib/ 2016-05-19 09:38:52 +02:00
TempManagerTest.php Fix getMock TempManagerTest 2016-09-07 20:42:38 +02:00
TestCase.php Generate coverage for quick DB tests 2016-10-05 13:55:44 +02:00
TestMoveableMountPoint.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
UpdaterTest.php Kill update simulation 2016-09-27 18:43:53 +02:00
UrlGeneratorTest.php Fix getMock UrlGeneratortest 2016-09-13 09:09:53 +02:00
UserTest.php Fix failing tests after db split 2016-07-13 09:26:19 +02:00
UtilCheckServerTest.php Remove unneeded checks if it runs on a Windows machine 2016-07-08 15:55:17 +02:00
UtilTest.php Fix getMock UtilTest 2016-09-13 09:09:53 +02:00