aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/node/file.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-09-10 22:21:49 +0200
committerRobin Appelman <icewind@owncloud.com>2013-09-10 22:21:49 +0200
commitb9167196fb331d7197210e4a130e03d32d839b8a (patch)
treed0eb9ded450f572fdf6ada0ecb9255e399a4f9e7 /tests/lib/files/node/file.php
parent2e5ce091f037f0f1b2d5f97ad8866a82c9118f58 (diff)
downloadnextcloud-server-b9167196fb331d7197210e4a130e03d32d839b8a.tar.gz
nextcloud-server-b9167196fb331d7197210e4a130e03d32d839b8a.zip
adjust test cases to namespace changes
Diffstat (limited to 'tests/lib/files/node/file.php')
-rw-r--r--tests/lib/files/node/file.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/lib/files/node/file.php b/tests/lib/files/node/file.php
index 707106373b5..76938a0dcc8 100644
--- a/tests/lib/files/node/file.php
+++ b/tests/lib/files/node/file.php
@@ -8,8 +8,8 @@
namespace Test\Files\Node;
-use OC\Files\NotFoundException;
-use OC\Files\NotPermittedException;
+use OCP\Files\NotFoundException;
+use OCP\Files\NotPermittedException;
use OC\Files\View;
class File extends \PHPUnit_Framework_TestCase {
@@ -106,7 +106,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testDeleteNotPermitted() {
$manager = $this->getMock('\OC\Files\Mount\Manager');
@@ -162,7 +162,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testGetContentNotPermitted() {
$manager = $this->getMock('\OC\Files\Mount\Manager');
@@ -212,7 +212,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testPutContentNotPermitted() {
$manager = $this->getMock('\OC\Files\Mount\Manager');
@@ -327,7 +327,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testFOpenReadNotPermitted() {
/**
@@ -354,7 +354,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testFOpenReadWriteNoReadPermissions() {
/**
@@ -381,7 +381,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testFOpenReadWriteNoWritePermissions() {
/**
@@ -443,7 +443,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testCopyNotPermitted() {
/**
@@ -483,7 +483,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotFoundException
+ * @expectedException \OCP\Files\NotFoundException
*/
public function testCopyNoParent() {
/**
@@ -510,7 +510,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testCopyParentIsFile() {
/**
@@ -571,7 +571,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testMoveNotPermitted() {
/**
@@ -603,7 +603,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotFoundException
+ * @expectedException \OCP\Files\NotFoundException
*/
public function testMoveNoParent() {
/**
@@ -635,7 +635,7 @@ class File extends \PHPUnit_Framework_TestCase {
}
/**
- * @expectedException \OC\Files\NotPermittedException
+ * @expectedException \OCP\Files\NotPermittedException
*/
public function testMoveParentIsFile() {
/**