]> source.dussan.org Git - nextcloud-server.git/commitdiff
raise failed tests from first commit to size @medium
authorJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 10 Jun 2013 08:17:47 +0000 (10:17 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 10 Jun 2013 08:17:47 +0000 (10:17 +0200)
apps/files_encryption/tests/stream.php
tests/lib/db.php
tests/lib/files/cache/watcher.php
tests/lib/geo.php

index 3d9787675428a879371aa481ab6d397c6d38c221..50ac41e4536ff6129f1806fc348c33b3845a1e14 100644 (file)
@@ -140,6 +140,9 @@ class Test_Encryption_Stream extends \PHPUnit_Framework_TestCase {
                $view->unlink($filename);
        }
 
+       /**
+        * @medium
+        */
        function testStreamSetTimeout() {
                $filename = '/tmp-' . time();
                $view = new \OC\Files\View('/' . $this->userId . '/files');
index 440f3fb6bfd5be3ca5a98726834eb6e6509eb0f6..924236604c64319a229bb714da2f6728bca76564 100644 (file)
@@ -51,6 +51,9 @@ class Test_DB extends PHPUnit_Framework_TestCase {
                $this->assertFalse($row);
        }
 
+       /**
+        * @medium
+        */
        public function testNOW() {
                $query = OC_DB::prepare('INSERT INTO *PREFIX*'.$this->table2.' (`fullname`,`uri`) VALUES (NOW(),?)');
                $result = $query->execute(array('uri_2'));
index d9301a903cb007824b18dd5bc6721427269647b5..749b1ab75a301408fd597f4ffe29174038a7015e 100644 (file)
@@ -29,6 +29,9 @@ class Watcher extends \PHPUnit_Framework_TestCase {
                }
        }
 
+       /**
+        * @medium
+        */
        function testWatcher() {
                $storage = $this->getTestStorage();
                $cache = $storage->getCache();
index 82e6160868770c250134f10dbcf78d2da1ce15a0..2c3611c092e022ac97fad556f456b3152a269b5b 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 class Test_Geo extends PHPUnit_Framework_TestCase {
+       
+       /**
+        * @medium
+        */
        function testTimezone() {
                $result = OC_Geo::timezone(3, 3);
                $expected = 'Africa/Porto-Novo';