diff options
author | Jan-Christoph Borchardt <jan@unhosted.org> | 2012-03-30 18:10:16 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <jan@unhosted.org> | 2012-03-30 18:18:37 +0200 |
commit | 011132feb33b4f7954eb5df5e2283e9c8f8ae944 (patch) | |
tree | a505c04abd1f84dadeaae7100ce571006d31cd89 /apps/files_external/tests/google.php | |
parent | 7552390031ee10ed5006ef927fa1f55cdd148554 (diff) | |
download | nextcloud-server-011132feb33b4f7954eb5df5e2283e9c8f8ae944.tar.gz nextcloud-server-011132feb33b4f7954eb5df5e2283e9c8f8ae944.zip |
renaming remote storage support to External storage support to clear up naming conflict
Diffstat (limited to 'apps/files_external/tests/google.php')
-rw-r--r-- | apps/files_external/tests/google.php | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/apps/files_external/tests/google.php b/apps/files_external/tests/google.php new file mode 100644 index 00000000000..1c028945228 --- /dev/null +++ b/apps/files_external/tests/google.php @@ -0,0 +1,38 @@ +<?php + +/** +* ownCloud +* +* @author Michael Gapczynski +* @copyright 2012 Michael Gapczynski mtgap@owncloud.com +* +* This library is free software; you can redistribute it and/or +* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE +* License as published by the Free Software Foundation; either +* version 3 of the License, or any later version. +* +* This library is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU AFFERO GENERAL PUBLIC LICENSE for more details. +* +* You should have received a copy of the GNU Affero General Public +* License along with this library. If not, see <http://www.gnu.org/licenses/>. +*/ + +class Test_Filestorage_Google extends Test_FileStorage { + + private $config; + private $id; + + public function setUp(){ + $id=uniqid(); + $this->config=include('apps/files_external/tests/config.php'); + $this->config['google']['root'].='/'.$id;//make sure we have an new empty folder to work in + $this->instance=new OC_Filestorage_Google($this->config['google']); + } + + public function tearDown(){ + $this->instance->rmdir('/'); + } +} |