summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/storage/storage.php
Commit message (Collapse)AuthorAgeFilesLines
* make some storage tests explain what went wrongJörn Friedrich Dreyer2014-10-011-6/+6
|
* add unit test for #8325Jörn Friedrich Dreyer2014-08-201-17/+80
|
* Add $storage->instanceOfStorage to handle instanceof for storage wrappersRobin Appelman2014-05-291-0/+6
|
* add recursive copy to local storage backendRobin Appelman2014-05-281-1/+64
|
* fix recursive rename for local storage backendRobin Appelman2014-05-281-0/+16
|
* aditional test cases for copy and renameRobin Appelman2014-05-281-0/+40
|
* Merge pull request #7970 from owncloud/webdav-upload-hashThomas Müller2014-04-031-1/+20
|\ | | | | Fix uploading files containing a # in the path for webdav
| * Fix uploading files containing a # in the path for webdavRobin Appelman2014-03-311-1/+20
| |
* | Correctly read the full stream in file_get_contentsVincent Petry2014-04-011-2/+13
|/ | | | | | | | | | | When using user-defined stream wrappers, PHP will return a maximum of 8192 bytes even if more was requested. This fix uses stream_get_contents to make sure the full stream is read and not only the first 8 KB. Added unit test with a bigger test file to cover this case.
* Fix parameter order for Storage\Local::hashRobin Appelman2014-03-201-15/+32
|
* Fixed ext storage webdav path encodingVincent Petry2014-02-191-0/+19
| | | | | | | | | | | | - Some WebDAV servers like lighttpd need paths in URLs to be properly encoded - Added error log output when curl connection failed - Added check for 'resourcetype' in case the WebDAV server doesn't support/return it - Fixed touch() to return false if the server doesn't implement PROPPATCH - Added optional delay in WebDAV unit tests to use when testing against lighttpd's WebDAV
* Added unit test for the test() methodVincent Petry2013-12-031-0/+7
| | | | This is to make sure that method isn't broken
* Fixed FTP and SMB to use rmdir() when deleting foldersVincent Petry2013-11-291-1/+13
| | | | | | | | | | | Some storages need to use different calls for deleting files or folders, usually unlink() and rmdir(). Fixes #4532 (SMB dir deletion) Fixes #5941 (FTP dir deletion) Note that the extra is_dir() should be fast because it's read from the stat cache.
* Merge pull request #6008 from owncloud/extstorage-smb-webdav-renamefixVincent Petry2013-11-261-1/+9
|\ | | | | Fixed SMB rename function to overwrite target file
| * Improved unit test for "overwrite on move"Vincent Petry2013-11-251-3/+5
| | | | | | | | Now using a different content to make sure the file was overwritten.
| * Added unit test for "overwrite file on rename/move"Vincent Petry2013-11-251-0/+6
| | | | | | | | | | Also fixed "rename" unit test that was ready the result out of the wrong file.
* | Updated unit tests for SMBVincent Petry2013-11-261-1/+2
|/ | | | | - coverage for touch return value - fixed directory provider to exclude unsupported cases
* Fixed SMB file deletion success detectionVincent Petry2013-11-191-2/+14
| | | | | | | Since unlink() smb4php doesn't return true on deletion success, we need to check whether the file was deleted to confirm success. Fixes #5866
* extend unit test to directories starting or ending in whitespaceJörn Friedrich Dreyer2013-10-311-15/+26
|
* Merge branch 'master' into storage-test-cleanupThomas Müller2013-07-241-4/+4
|\ | | | | | | | | Conflicts: tests/lib/files/storage/storage.php
| * increasing allowed time differenceChristian Berendt2013-07-081-9/+9
| |
| * revoking additional testsChristian Berendt2013-07-041-99/+0
| |
| * remove tests from the wrong test methodChristian Berendt2013-07-031-10/+0
| |
| * test moving and copying of subdirectoriesChristian Berendt2013-07-031-0/+41
| |
| * move new tests into the correct test methodChristian Berendt2013-07-031-10/+10
| |
| * test working with files in subdirectoriesChristian Berendt2013-07-031-0/+10
| |
| * test working with subdirectoriesChristian Berendt2013-07-031-0/+48
| |
| * test copying and moving files in subdirectoriesChristian Berendt2013-07-031-0/+10
| |
| * increasing difference for modifcation time testsChristian Berendt2013-07-031-9/+9
| | | | | | | | | | one second is sometimes not enough when using a slow storage connection, three seconds is working better (at least when testing against S3)
* | Storage: remove some unneeded strict tests of mtime behaviourRobin Appelman2013-07-161-21/+2
| |
* | Storage: remove tests for searchRobin Appelman2013-07-161-29/+1
|/
* Make rmdir recursive for local storageRobin Appelman2013-06-171-1/+13
|
* Fix touch for creating new filesRobin Appelman2013-04-101-0/+6
|
* fixing various filesystem/storage unit tests on windowsThomas Mueller2013-03-121-2/+1
| | | | fixing copy operation on mapper
* new test cases added to search in sub foldersThomas Mueller2013-02-151-0/+16
|
* initial version of a local storage implementation which will use unique ↵Thomas Mueller2013-02-061-4/+13
| | | | | | slugified filename on the local filesystem. This implementation will only be enabled on windows based system to solve the issues around UTF-8 file names with php on windows.
* merge master into filesystemRobin Appelman2013-01-261-26/+26
|
* merge master into filesystemRobin Appelman2012-10-111-151/+162
|
* merge phpunit into filesystemRobin Appelman2012-10-081-15/+17
|
* move storage backend test cases to their own namespaceRobin Appelman2012-09-221-0/+223