summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6681 from owncloud/userreportblizzz2014-01-081-0/+72
|\ | | | | add command line option to get user number statistics
| * add tests for user countingArthur Schiwon2014-01-081-0/+72
| |
* | Prevent deleting storage rootVincent Petry2014-01-081-0/+42
| | | | | | | | | | | | | | | | Storage mount points are not deletable, so make sure that the unlink operation and its hooks aren't run in such cases. Note that some storages might recursively delete their contents when calling unlink on their root. This fix prevents that as well.
* | Merge pull request #6673 from ↵Vincent Petry2014-01-081-6/+12
|\ \ | | | | | | | | | | | | owncloud/master-quota-insufficientstorageforfilesfix Now also preventing to override "files" dir size with -1
| * | Now also preventing to override "files" dir size with -1Vincent Petry2014-01-071-6/+12
| | | | | | | | | | | | Fixes #6526
* | | Merge pull request #6565 from owncloud/enable-ldap-unit-tests-master-2Thomas Müller2014-01-071-0/+1
|\ \ \ | |/ / |/| | enable ldap tests
| * | enable ldap testsThomas Müller2013-12-241-0/+1
| | |
* | | Merge pull request #6290 from owncloud/files-androidcontentdispositionThomas Müller2014-01-071-0/+50
|\ \ \ | |_|/ |/| | Files androidcontentdisposition
| * | Added isUserAgent() method to requestVincent Petry2013-12-191-0/+50
| | | | | | | | | | | | | | | | | | - added isUserAgent() method to OC_Request which makes it possible to test it - OC_Response::setContentDisposition now uses OC_Request::isUserAgent()
* | | Make OC_Avatar unit tests independent of currently loggedin userRobin Appelman2014-01-021-5/+13
| | |
* | | Merge pull request #6513 from owncloud/user-no-change-displaynameicewind19912014-01-021-1/+4
|\ \ \ | | | | | | | | Re-add the config options to remove the ability for users to change their displayname
| * | | Pass config object in testGetHomeNotSupportedRobin Appelman2013-12-201-1/+4
| | | |
* | | | Merge pull request #6520 from owncloud/tests-testcleanuplistenerThomas Müller2013-12-242-0/+146
|\ \ \ \ | | | | | | | | | | Added test cleanup listener to detect untidy tests
| * | | | Added test cleanup listener to detect untidy testsVincent Petry2013-12-192-0/+146
| |/ / / | | | | | | | | | | | | | | | | After each test suite, detects whether there are stray datafiles, hooks or proxies, then show a warning and clear them.
* | | | Merge pull request #6449 from owncloud/core-appsorderfixThomas Müller2013-12-242-1/+14
|\ \ \ \ | |_|_|/ |/| | | Fixed apps loading order
| * | | Fixed apps loading orderVincent Petry2013-12-202-1/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | On SQLite the app order can be arbitrary and cause strange bugs. On MySQL, the app order seems to be always alphabetical. This fix enforces alphabetical order to make sure that all environments behave the same and to reduce bugs related to app loading order. Fixes #6442
* / / Remove all uses of numRows().Andreas Fischer2013-12-213-14/+13
|/ /
* | Add unit tests for decimal type usageOliver Gasser2013-12-183-2/+33
| |
* | Increment number of columns by oneOliver Gasser2013-12-181-1/+1
| |
* | Typo fixedOliver Gasser2013-12-171-1/+1
| |
* | Add decimal(precision,scale) column to unit testsOliver Gasser2013-12-172-0/+9
| |
* | Merge pull request #6345 from owncloud/mysql-set-names-utf8-testsThomas Müller2013-12-171-0/+27
|\ \ | | | | | | DB tests: Test whether we can insert and read UTF8 data.
| * | add missing quotes + field declarationsThomas Müller2013-12-171-1/+16
| | |
| * | Use old school query style that actually works.Andreas Fischer2013-12-121-9/+8
| | |
| * | DB tests: Test whether we can insert and read UTF8 data.Andreas Fischer2013-12-121-0/+13
| | |
* | | adjust testArthur Schiwon2013-12-131-2/+13
| | |
* | | remove unneeded ; in commentRobin Appelman2013-12-121-1/+1
| | |
* | | Add test for having utf8 filenames in the cacheRobin Appelman2013-12-121-1/+31
|/ /
* | Merge pull request #6244 from owncloud/memcached-connectivity-testsThomas Müller2013-12-101-3/+9
|\ \ | |/ |/| Only run memcached tests if server is available.
| * Ensure memcached extension is there before attempting to create an instance.Andreas Fischer2013-12-091-4/+3
| |
| * Only run memcached tests if server is available.Andreas Fischer2013-12-091-0/+7
| |
* | fix wrong test data in l10nMorris Jobke2013-12-073-3/+3
|/
* Merge pull request #6150 from owncloud/backgroundjob-log-exceptionblizzz2013-12-064-38/+105
|\ | | | | Remove background jobs that are giving errors
| * add test case for removing background jobs that are throwing exceptionsRobin Appelman2013-12-052-3/+59
| |
| * Dont use exceptions for the backgroundjob test casesRobin Appelman2013-12-042-35/+46
| |
* | get rid of failing test that don't cause additional downloadsRobin Appelman2013-12-062-25/+25
| |
* | extend test case for etag preservationRobin Appelman2013-12-061-2/+2
| |
* | reuse etags when doing a background scanRobin Appelman2013-12-051-0/+79
| |
* | Added unit test for the test() methodVincent Petry2013-12-031-0/+7
|/ | | | This is to make sure that method isn't broken
* Merge pull request #6052 from owncloud/datetime-doctrineThomas Müller2013-12-011-38/+0
|\ | | | | Get rid of date strings for DB. Completely use Doctrine and DateTime.
| * Timestamp test is no longer necessary as we rely on Doctrine and DateTime.Andreas Fischer2013-11-261-38/+0
| |
* | 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.
* | Redetect mime type whenever extension is renamedVincent Petry2013-11-271-0/+8
| |
* | Merge pull request #6058 from owncloud/ldap2avatarblizzz2013-11-262-0/+96
|\ \ | | | | | | Set Avatar for LDAP users automatically (if a picture is available)
| * | Enable user backends to provide avatar imagesArthur Schiwon2013-11-222-0/+96
| | |
* | | Merge pull request #6060 from owncloud/fix-6050-oc6Björn Schießle2013-11-261-3/+8
|\ \ \ | | | | | | | | fixing getRawPathInfo() once more
| * | | fixes #6050Thomas Müller2013-11-261-3/+8
| | |/ | |/|
* | | 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.