. */ namespace Test\Files\Storage; $config=include('apps/files_external/tests/config.php'); if(!is_array($config) or !isset($config['google']) or !$config['google']['run']) { abstract class Google extends Storage{} return; }else{ class Google extends Storage { private $config; 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\Files\Storage\Google($this->config['google']); } public function tearDown() { $this->instance->rmdir('/'); } } }