raise failed tests from first commit to size @medium
This commit is contained in:
parent
73fb722a9e
commit
b6f8d2b859
|
@ -140,6 +140,9 @@ class Test_Encryption_Stream extends \PHPUnit_Framework_TestCase {
|
||||||
$view->unlink($filename);
|
$view->unlink($filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @medium
|
||||||
|
*/
|
||||||
function testStreamSetTimeout() {
|
function testStreamSetTimeout() {
|
||||||
$filename = '/tmp-' . time();
|
$filename = '/tmp-' . time();
|
||||||
$view = new \OC\Files\View('/' . $this->userId . '/files');
|
$view = new \OC\Files\View('/' . $this->userId . '/files');
|
||||||
|
|
|
@ -51,6 +51,9 @@ class Test_DB extends PHPUnit_Framework_TestCase {
|
||||||
$this->assertFalse($row);
|
$this->assertFalse($row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @medium
|
||||||
|
*/
|
||||||
public function testNOW() {
|
public function testNOW() {
|
||||||
$query = OC_DB::prepare('INSERT INTO *PREFIX*'.$this->table2.' (`fullname`,`uri`) VALUES (NOW(),?)');
|
$query = OC_DB::prepare('INSERT INTO *PREFIX*'.$this->table2.' (`fullname`,`uri`) VALUES (NOW(),?)');
|
||||||
$result = $query->execute(array('uri_2'));
|
$result = $query->execute(array('uri_2'));
|
||||||
|
|
|
@ -29,6 +29,9 @@ class Watcher extends \PHPUnit_Framework_TestCase {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @medium
|
||||||
|
*/
|
||||||
function testWatcher() {
|
function testWatcher() {
|
||||||
$storage = $this->getTestStorage();
|
$storage = $this->getTestStorage();
|
||||||
$cache = $storage->getCache();
|
$cache = $storage->getCache();
|
||||||
|
|
|
@ -7,6 +7,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Test_Geo extends PHPUnit_Framework_TestCase {
|
class Test_Geo extends PHPUnit_Framework_TestCase {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @medium
|
||||||
|
*/
|
||||||
function testTimezone() {
|
function testTimezone() {
|
||||||
$result = OC_Geo::timezone(3, 3);
|
$result = OC_Geo::timezone(3, 3);
|
||||||
$expected = 'Africa/Porto-Novo';
|
$expected = 'Africa/Porto-Novo';
|
||||||
|
|
Loading…
Reference in New Issue