aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/node
Commit message (Collapse)AuthorAgeFilesLines
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-05-191-1/+0
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* upda testsRobin Appelman2015-04-131-6/+1
|
* Replace originalStorage in tests with a proper teardownVincent Petry2015-04-081-9/+3
| | | | | | | | | | 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.
* Add `getNonExistingName()` to the node apiRobin Appelman2015-03-241-0/+36
|
* Add unit testRobin Appelman2015-02-261-0/+15
|
* Add unit testRobin Appelman2015-01-281-1/+3
|
* Fix searchCommon to properly match path nameVincent Petry2015-01-121-0/+39
| | | | | | | The internal path was matched without the last "/" which caused "files_trashbin" to also match when the internal path was "files". This adds the missing slash for the comparison.
* Add getMountPoint to FileInfoRobin Appelman2014-12-174-4/+4
|
* Make $userId mandatory for searchByTagsVincent Petry2014-12-121-0/+39
| | | | | | | $userId is now a mandatory parameter for searchByTags. Also fixed some places in the code where the argument was missing (Node API and View)
* Add public api for mount configurationsRobin Appelman2014-12-041-6/+6
|
* make \OC\Files\Node\Node implement the FileInfo interfaceRobin Appelman2014-12-044-46/+73
|
* Replace uniqid calls with $this->getUniqueID so tests pass again on windowsJoas Schilling2014-12-031-1/+1
|
* Replace deprecated constant with new class constantJoas Schilling2014-11-253-24/+24
|
* Use base class to reset the file mapperJoas Schilling2014-11-195-10/+13
|
* Correctly restore previous root mount point after testingJoas Schilling2014-11-171-2/+12
|
* return null instead of throwing an exceptionRobin Appelman2014-08-061-4/+2
|
* Fix Folder::getByIdRobin Appelman2014-08-051-0/+129
|
* - drop permissions table and related codeThomas Müller2014-06-051-8/+0
| | | | | | - the file/folder's permission is now stored in the file cache - BackGroundWatcher has been removed - this has meanwhile be replaced by occ files:scan which can be executed in a cron jobs - increase version to trigger database migration
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-192-4/+0
| | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* - giving the user a new id for each test run in order to prevent reuse of ↵Thomas Müller2013-09-131-1/+2
| | | | | | e.g. permissions data in the database - setting the current user id because \OC\FilesView relies on \OC_User::getUser()
* adjust test cases to namespace changesRobin Appelman2013-09-105-26/+26
|
* Provide an implementation of the fileapi for oc6 build on top of the old apiRobin Appelman2013-09-015-0/+1700