summaryrefslogtreecommitdiffstats
path: root/apps/files_archive/tests
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-08-26 17:30:07 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-08-26 17:30:07 +0200
commit72e9a2ce57ee88503db83614cec5ccda71f0b58e (patch)
tree8bc301ca22d9ca08ea54426bcb61f62bd1c1cb75 /apps/files_archive/tests
parent32bad688bdb4fea55eba9d4255fc55f1c60a0aca (diff)
downloadnextcloud-server-72e9a2ce57ee88503db83614cec5ccda71f0b58e.tar.gz
nextcloud-server-72e9a2ce57ee88503db83614cec5ccda71f0b58e.zip
moved to apps repository
Diffstat (limited to 'apps/files_archive/tests')
-rw-r--r--apps/files_archive/tests/data/data.tar.gzbin4195 -> 0 bytes
-rw-r--r--apps/files_archive/tests/data/data.zipbin4705 -> 0 bytes
-rw-r--r--apps/files_archive/tests/data/lorem.txt4
-rw-r--r--apps/files_archive/tests/storage.php39
4 files changed, 0 insertions, 43 deletions
diff --git a/apps/files_archive/tests/data/data.tar.gz b/apps/files_archive/tests/data/data.tar.gz
deleted file mode 100644
index 39f2cdada02..00000000000
--- a/apps/files_archive/tests/data/data.tar.gz
+++ /dev/null
Binary files differ
diff --git a/apps/files_archive/tests/data/data.zip b/apps/files_archive/tests/data/data.zip
deleted file mode 100644
index eccef53eb4e..00000000000
--- a/apps/files_archive/tests/data/data.zip
+++ /dev/null
Binary files differ
diff --git a/apps/files_archive/tests/data/lorem.txt b/apps/files_archive/tests/data/lorem.txt
deleted file mode 100644
index b62c3fb2ffd..00000000000
--- a/apps/files_archive/tests/data/lorem.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
-Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file
diff --git a/apps/files_archive/tests/storage.php b/apps/files_archive/tests/storage.php
deleted file mode 100644
index 74ddf22870c..00000000000
--- a/apps/files_archive/tests/storage.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/**
- * Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
- */
-
-class Test_Filestorage_Archive_Zip extends Test_FileStorage {
- /**
- * @var string tmpDir
- */
- private $tmpFile;
-
- public function setUp(){
- $this->tmpFile=OCP\Files::tmpFile('.zip');
- $this->instance=new OC_Filestorage_Archive(array('archive'=>$this->tmpFile));
- }
-
- public function tearDown(){
- unlink($this->tmpFile);
- }
-}
-
-class Test_Filestorage_Archive_Tar extends Test_FileStorage {
- /**
- * @var string tmpDir
- */
- private $tmpFile;
-
- public function setUp(){
- $this->tmpFile=OCP\Files::tmpFile('.tar.gz');
- $this->instance=new OC_Filestorage_Archive(array('archive'=>$this->tmpFile));
- }
-
- public function tearDown(){
- unlink($this->tmpFile);
- }
-}