summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* get rid of failing test that don't cause additional downloadsRobin Appelman2013-12-082-24/+24
|
* extend test case for etag preservationRobin Appelman2013-12-081-2/+2
|
* reuse etags when doing a background scanRobin Appelman2013-12-081-0/+79
|
* Make rmdir recursive for local storageRobin Appelman2013-12-031-1/+1
| | | | Backport of 63c898c0
* Fixed FTP and SMB to use rmdir() when deleting foldersVincent Petry2013-12-021-0/+24
| | | | | | | | | | | | | 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. Backport of d69243e
* Merge pull request #6042 from owncloud/backport-6035-oc5Morris Jobke2013-11-271-0/+73
|\ | | | | Backport 6035 oc5
| * fixes #6050Thomas Müller2013-11-261-3/+8
| |
| * in case uri and script name don't match we better throw an exceptionThomas Müller2013-11-251-0/+22
| |
| * handle duplicate slashes in case of reverse proxy configurationThomas Müller2013-11-251-0/+46
| | | | | | | | | | Conflicts: tests/lib/request.php
* | clear permissions cache when scanning a fileRobin Appelman2013-11-251-0/+17
|/ | | | | Conflicts: lib/files/cache/scanner.php
* Merge pull request #5934 from owncloud/stable5-excludeextstoragefromquotaVincent Petry2013-11-221-0/+5
|\ | | | | [Stable5] Exclude ext storage from quota
| * External storage space is now not counted in total spaceVincent Petry2013-11-191-0/+5
| | | | | | | | | | | | | | Added argument to getFileInfo() to disable adding the size of mountpoints to a directory's size. Backport of 614e4d485c8b74f6879c401f8cbb93e9335bf9b3
* | Merge branch 'stable5' into fixing-4866-stable5Thomas Müller2013-11-227-20/+264
|\ \
| * | Fixed testTouch unit test to work with stable5Vincent Petry2013-11-221-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Calling getFileInfo() would trigger checkUpdate() and would return the real file mtime because the test value 500 was in the past. This fix makes this test work with the stable5 behavior. Removed "storage_mtime" references which don't exist in stable5.
| * | Emulate touch() for backends that don't support itRobin Appelman2013-11-211-2/+32
| | | | | | | | | | | | Backport of 9738fae3cf1ad18593d21eb62e138e00c01f5f36
| * | Merge pull request #5893 from owncloud/stable5-extstorage-smbfixesVincent Petry2013-11-191-2/+14
| |\ \ | | |/ | |/| [stable5] External storage SMB fixes for stat and unlink backport
| | * Fixed SMB file deletion success detectionVincent Petry2013-11-151-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 Backport of eefd91355d54b7e49dd328cef9a9561ee51b0194
| * | Added missing test with leading backslashVincent Petry2013-11-151-0/+2
| | |
| * | Fixed normalizePath() to strip out single dot dirsVincent Petry2013-11-151-1/+54
| |/ | | | | | | | | | | Now removing "/./" and trailing "/." from the paths when normalizing. Backport of c06d8bb0071839480f9e458e58630ca0c205b9cb
| * extend unit test to directories starting or ending in whitespaceJörn Friedrich Dreyer2013-10-311-15/+26
| |
| * disable encryption app for file cache updater test since the test doesn't ↵Bjoern Schiessle2013-10-291-0/+12
| | | | | | | | use a completely initialized oc filesystem
| * tests should work if I explicitely log-in as a userBjoern Schiessle2013-10-291-0/+5
| |
| * enable files sharing testsBjoern Schiessle2013-10-181-0/+1
| |
| * Merge pull request #5229 from owncloud/more-link-expiration-stable5Thomas Müller2013-10-161-0/+48
| |\ | | | | | | Backport of #4856 to stable5: Fix Sharing "Expiration Date" for Shares of type Link (i.e. Token)
| | * Tests whether expired/valid link share is still accessible.Andreas Fischer2013-10-091-0/+48
| | |
| * | streamCopy() should return proper structure.Thomas Müller2013-10-141-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | Callers of streamCopy() expect an array to be returned containing count and result. Conflicts: lib/helper.php tests/lib/helper.php
| * | the path need to be normalized before putting it into resolvePath()Thomas Müller2013-10-101-0/+34
| |/ | | | | | | | | | | | | otherwise the returned internalPath will not match followup calls to e.g. Cache::getID() Conflicts: tests/lib/files/view.php
* / Cherry-pick of 5d671a8 onto stable5.Andreas Fischer2013-09-291-10/+37
|/ | | | | | | | recreate an etag within the scanner if the cache contains an empty etag Conflicts: lib/files/cache/cache.php tests/lib/files/cache/scanner.php
* Calculate dateInPast and dateInFuture.Andreas Fischer2013-09-241-5/+8
|
* Compare objects directly. Also use $expected and $actual.Andreas Fischer2013-09-241-6/+6
|
* Add database tests for INSERT/SELECT date format.Andreas Fischer2013-09-233-0/+80
|
* Add comment explaining how $dateInFuture was picked.Andreas Fischer2013-09-231-0/+2
|
* Coding style: { for methods start are supposed to be on the same line.Andreas Fischer2013-09-231-12/+6
|
* Expiration tests for sharing with groups.Andreas Fischer2013-09-231-6/+76
|
* Do not repeat shareUserOneTestFileWithUserTwo() code.Andreas Fischer2013-09-231-25/+22
|
* Make dates test class properties.Andreas Fischer2013-09-231-2/+5
|
* Try to make Oracle happy by also specifying seconds.Andreas Fischer2013-09-231-2/+2
|
* Test whether a still-valid user share is still accessible.Andreas Fischer2013-09-231-11/+34
|
* Test whether an expired user share is still accessible.Andreas Fischer2013-09-231-0/+33
|
* remove deleted files while scanningRobin Appelman2013-09-231-0/+10
|
* test case for hooks send from a non-default viewRobin Appelman2013-09-101-0/+34
|
* backport of #4360Thomas Müller2013-08-291-0/+23
|
* adding unit tests for quota checksThomas Müller2013-08-271-1/+55
|
* adding unit tests to determine lengthThomas Müller2013-08-271-0/+47
|
* fix namespacess for scanner testRobin Appelman2013-08-121-3/+3
|
* Scanner: additional tests for reusing etags during scanningRobin Appelman2013-08-122-0/+92
|
* Scanner test: ensure mtime in the cache is the same as on the storage to ↵Robin Appelman2013-07-301-0/+1
| | | | prevent random failures
* manual backport of changes related to #3459Thomas Müller2013-07-292-1/+86
|
* Going from text to clob is not something we do.Bart Visscher2013-07-091-1/+2
| | | | | | | | Also Oracle DB has problems with this, see http://abhijitbashetti.blogspot.de/2011/10/converting-varchar2-to-clob-and-clob-to.html Conflicts: tests/lib/dbschema.php
* fix insertIfNotExist return value, update doc and corresponding testJörn Friedrich Dreyer2013-07-051-14/+14
|