Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move tests/ to PSR-4 (#24731) | Joas Schilling | 2016-05-20 | 1 | -490/+0 |
| | | | | | | | | | | | | | | | | | | | | * Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader | ||||
* | Mark $usersSetup only if user was found in initMountPoints | Vincent Petry | 2016-04-22 | 1 | -0/+22 |
| | | | | | | | | | | initMountPoints is marking a user as successfully initialized too early. If the user was not found an NoUserException was thrown, the second time initMountPoints is called would not rethrow the exception and happily continue. This fix makes sure that we consistently throw NoUserException when initMountPoints is called repeatedly with invalid users. | ||||
* | Throw NoUserException when attempting to init mount point for null user | Vincent Petry | 2016-04-22 | 1 | -0/+22 |
| | | | | | | | In some scenarios initMountPoints is called with an empty user, and also there is no user in the session. In such cases, it is unsafe to let the code move on with an empty user. | ||||
* | Use TempManager instead of tmpFile | Morris Jobke | 2015-12-18 | 1 | -1/+1 |
| | |||||
* | Use TempManager instead of tmpFolder | Morris Jobke | 2015-12-18 | 1 | -2/+2 |
| | |||||
* | Removed deprecated function OC_User::deleteUser | Roeland Jago Douma | 2015-12-17 | 1 | -4/+8 |
| | | | | Replaced with proper OCP calls | ||||
* | Removed deprecated private OC_User::createUser | Roeland Jago Douma | 2015-12-17 | 1 | -4/+4 |
| | | | | | All function calls are replaced with the recommended (which was already the body of the function). | ||||
* | last change of OC_Config to the proper interface in tests/ | Morris Jobke | 2015-12-03 | 1 | -3/+4 |
| | |||||
* | Reduce OC_Config usage in tests/ | Morris Jobke | 2015-12-03 | 1 | -5/+5 |
| | |||||
* | Apply DB group annotation ... | Thomas Müller | 2015-11-30 | 1 | -0/+7 |
| | |||||
* | adjust filesystem tests to objectstore | Jörn Friedrich Dreyer | 2015-10-09 | 1 | -3/+12 |
| | |||||
* | Move dummy backend to Tests namespace | Lukas Reschke | 2015-09-22 | 1 | -2/+2 |
| | |||||
* | phpdoc, strict and type hints | Robin Appelman | 2015-06-02 | 1 | -0/+7 |
| | |||||
* | call mount providers that are registered after the filesystem is setup | Robin Appelman | 2015-06-02 | 1 | -0/+35 |
| | |||||
* | fix cherrypicking | Jörn Friedrich Dreyer | 2015-04-10 | 1 | -1/+10 |
| | |||||
* | fix filesystem and encryption tests | Jörn Friedrich Dreyer | 2015-04-10 | 1 | -7/+4 |
| | | | | | | Conflicts: apps/files_encryption/lib/util.php apps/files_encryption/tests/hooks.php | ||||
* | Replace originalStorage in tests with a proper teardown | Vincent Petry | 2015-04-08 | 1 | -10/+2 |
| | | | | | | | | | | The purpose of $originalStorage in unit tests was to remount the old root. However that storage itself is already wrapped by storage wrapper, so remounting it would rewrap the storage several times. This fix makes use of "loginAsUser()" and "logout()" from the TestCase class to properly initialize and cleanup the FS as expected. | ||||
* | Normalize before processing | Lukas Reschke | 2015-02-06 | 1 | -0/+22 |
| | |||||
* | Simplify isValidPath and add unit tests | Lukas Reschke | 2015-01-10 | 1 | -0/+33 |
| | | | | | | The check for invalid paths is actually over-complicated and performed twice resulting in a performance penalty. Additionally, I decided to add unit-tests to that function. Part of https://github.com/owncloud/core/issues/13221 | ||||
* | Replace uniqid calls with $this->getUniqueID so tests pass again on windows | Joas Schilling | 2014-12-03 | 1 | -6/+6 |
| | |||||
* | Use base class to reset the file mapper | Joas Schilling | 2014-11-19 | 1 | -0/+2 |
| | |||||
* | Add tests for absolute paths on windows | Joas Schilling | 2014-11-17 | 1 | -2/+32 |
| | |||||
* | Refactor tests to use a dataProvider method | Joas Schilling | 2014-11-17 | 1 | -62/+73 |
| | |||||
* | Correctly restore previous root mount point after testing | Joas Schilling | 2014-11-17 | 1 | -7/+14 |
| | |||||
* | Can't use assertInstanceOf on wrapped storage; use ↵ | ringmaster | 2014-06-04 | 1 | -5/+5 |
| | | | | assertTrue(instanceOfStorage() instead. | ||||
* | Added unit tests for external cache folder | Vincent Petry | 2014-03-24 | 1 | -0/+51 |
| | |||||
* | get rid of failing test that don't cause additional downloads | Robin Appelman | 2013-12-06 | 1 | -24/+24 |
| | |||||
* | Added missing test with leading backslash | Vincent Petry | 2013-11-14 | 1 | -0/+2 |
| | |||||
* | Fixed normalizePath() to strip out single dot dirs | Vincent Petry | 2013-11-14 | 1 | -1/+54 |
| | | | | Now removing "/./" and trailing "/." from the paths when normalizing. | ||||
* | Now using HomeStorage for legacy home storage ids | Vincent Petry | 2013-11-12 | 1 | -0/+64 |
| | | | | | Legacy home storage ids with the format "local://path/to/datadir/user1" are now also wrapped by the HomeStorage. | ||||
* | changed tests for using new normalizer | Florin Peter | 2013-05-24 | 1 | -1/+1 |
| | |||||
* | Update tests and apps to the new \OC\Files\Filesystem::init signature | Robin Appelman | 2013-02-11 | 1 | -1/+1 |
| | |||||
* | uncomment failing calls to \OC\Files\Filesystem::file_put_contents | Thomas Mueller | 2013-02-05 | 1 | -3/+3 |
| | |||||
* | change behaviour of Filesystem::getMountPoint when a mountpoint is passed as ↵ | Robin Appelman | 2012-11-24 | 1 | -1/+1 |
| | | | | path without trailing slash | ||||
* | move filesystem test case | Robin Appelman | 2012-10-26 | 1 | -0/+110 |