Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-12-08get rid of failing test that don't cause additional downloadsRobin Appelman
2013-12-08extend test case for etag preservationRobin Appelman
2013-12-08reuse etags when doing a background scanRobin Appelman
2013-12-03Make rmdir recursive for local storageRobin Appelman
Backport of 63c898c0
2013-12-02Fixed FTP and SMB to use rmdir() when deleting foldersVincent Petry
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
2013-11-27Merge pull request #6042 from owncloud/backport-6035-oc5Morris Jobke
Backport 6035 oc5
2013-11-27fixes #6050Thomas Müller
2013-11-25in case uri and script name don't match we better throw an exceptionThomas Müller
2013-11-25handle duplicate slashes in case of reverse proxy configurationThomas Müller
Conflicts: tests/lib/request.php
2013-11-25clear permissions cache when scanning a fileRobin Appelman
Conflicts: lib/files/cache/scanner.php
2013-11-22Merge pull request #5934 from owncloud/stable5-excludeextstoragefromquotaVincent Petry
[Stable5] Exclude ext storage from quota
2013-11-22Merge branch 'stable5' into fixing-4866-stable5Thomas Müller
2013-11-22Fixed testTouch unit test to work with stable5Vincent Petry
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.
2013-11-21Emulate touch() for backends that don't support itRobin Appelman
Backport of 9738fae3cf1ad18593d21eb62e138e00c01f5f36
2013-11-19Merge pull request #5893 from owncloud/stable5-extstorage-smbfixesVincent Petry
[stable5] External storage SMB fixes for stat and unlink backport
2013-11-19External storage space is now not counted in total spaceVincent Petry
Added argument to getFileInfo() to disable adding the size of mountpoints to a directory's size. Backport of 614e4d485c8b74f6879c401f8cbb93e9335bf9b3
2013-11-15Fixed SMB file deletion success detectionVincent Petry
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
2013-11-15Added missing test with leading backslashVincent Petry
2013-11-15Fixed normalizePath() to strip out single dot dirsVincent Petry
Now removing "/./" and trailing "/." from the paths when normalizing. Backport of c06d8bb0071839480f9e458e58630ca0c205b9cb
2013-10-31extend unit test to directories starting or ending in whitespaceJörn Friedrich Dreyer
2013-10-29disable encryption app for file cache updater test since the test doesn't ↵Bjoern Schiessle
use a completely initialized oc filesystem
2013-10-29tests should work if I explicitely log-in as a userBjoern Schiessle
2013-10-18enable files sharing testsBjoern Schiessle
2013-10-16Merge pull request #5229 from owncloud/more-link-expiration-stable5Thomas Müller
Backport of #4856 to stable5: Fix Sharing "Expiration Date" for Shares of type Link (i.e. Token)
2013-10-15streamCopy() should return proper structure.Thomas Müller
Callers of streamCopy() expect an array to be returned containing count and result. Conflicts: lib/helper.php tests/lib/helper.php
2013-10-11the path need to be normalized before putting it into resolvePath()Thomas Müller
otherwise the returned internalPath will not match followup calls to e.g. Cache::getID() Conflicts: tests/lib/files/view.php
2013-10-09Tests whether expired/valid link share is still accessible.Andreas Fischer
2013-09-30Cherry-pick of 5d671a8 onto stable5.Andreas Fischer
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
2013-09-24Calculate dateInPast and dateInFuture.Andreas Fischer
2013-09-24Compare objects directly. Also use $expected and $actual.Andreas Fischer
2013-09-24Add database tests for INSERT/SELECT date format.Andreas Fischer
2013-09-24Add comment explaining how $dateInFuture was picked.Andreas Fischer
2013-09-24Coding style: { for methods start are supposed to be on the same line.Andreas Fischer
2013-09-24Expiration tests for sharing with groups.Andreas Fischer
2013-09-24Do not repeat shareUserOneTestFileWithUserTwo() code.Andreas Fischer
2013-09-24Make dates test class properties.Andreas Fischer
2013-09-24Try to make Oracle happy by also specifying seconds.Andreas Fischer
2013-09-24Test whether a still-valid user share is still accessible.Andreas Fischer
2013-09-24Test whether an expired user share is still accessible.Andreas Fischer
2013-09-23remove deleted files while scanningRobin Appelman
2013-09-10test case for hooks send from a non-default viewRobin Appelman
2013-08-29backport of #4360Thomas Müller
2013-08-27adding unit tests for quota checksThomas Müller
2013-08-27adding unit tests to determine lengthThomas Müller
2013-08-12fix namespacess for scanner testRobin Appelman
2013-08-12Scanner: additional tests for reusing etags during scanningRobin Appelman
2013-07-30Scanner test: ensure mtime in the cache is the same as on the storage to ↵Robin Appelman
prevent random failures
2013-07-29manual backport of changes related to #3459Thomas Müller
2013-07-09Going from text to clob is not something we do.Bart Visscher
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
2013-07-05fix insertIfNotExist return value, update doc and corresponding testJörn Friedrich Dreyer