diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-09-22 16:52:56 +0400 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-09-22 16:52:56 +0400 |
commit | 1d54a0cb5543b6414315157da010b4babf19db9d (patch) | |
tree | 9f147ae31ee49aafde3366ac712a8698632e5d37 /files_archive | |
parent | 6613494e81dfe944683c301263b016d6781f06af (diff) |
move storage backend test cases to their own namespace
Diffstat (limited to 'files_archive')
-rw-r--r-- | files_archive/tests/storage.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/files_archive/tests/storage.php b/files_archive/tests/storage.php index a15fe0d63..7a6dc6bc1 100644 --- a/files_archive/tests/storage.php +++ b/files_archive/tests/storage.php @@ -6,14 +6,16 @@ * See the COPYING-README file. */ -class Test_Filestorage_Archive_Zip extends Test_FileStorage { +namespace Test\Files\Storage; + +class Archive_Zip extends Storage { /** * @var string tmpDir */ private $tmpFile; public function setUp() { - $this->tmpFile=OCP\Files::tmpFile('.zip'); + $this->tmpFile=\OCP\Files::tmpFile('.zip'); $this->instance=new \OC\Files\Storage\Archive(array('archive'=>$this->tmpFile)); } @@ -22,14 +24,14 @@ class Test_Filestorage_Archive_Zip extends Test_FileStorage { } } -class Test_Filestorage_Archive_Tar extends Test_FileStorage { +class Archive_Tar extends Storage { /** * @var string tmpDir */ private $tmpFile; public function setUp() { - $this->tmpFile=OCP\Files::tmpFile('.tar.gz'); + $this->tmpFile=\OCP\Files::tmpFile('.tar.gz'); $this->instance=new \OC\Files\Storage\Archive(array('archive'=>$this->tmpFile)); } |