. * */ namespace Test\Files\Storage; class CommonTest extends Storage { /** * @var string tmpDir */ private $tmpDir; public function setUp() { $this->tmpDir=get_temp_dir().'/filestoragecommon'; if(!file_exists($this->tmpDir)) { mkdir($this->tmpDir); } $this->instance=new \OC\Files\Storage\CommonTest(array('datadir'=>$this->tmpDir)); } public function tearDown() { \OC_Helper::rmdirr($this->tmpDir); } } ?>