Apply DB group annotation ...
This commit is contained in:
parent
678fe1b8f4
commit
3bb6dcea64
|
@ -8,6 +8,14 @@ namespace OCA\DAV\Tests\Unit\Connector\Sabre;
|
|||
* later.
|
||||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class CustomPropertiesBackend
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Tests\Connector\Sabre
|
||||
*/
|
||||
class CustomPropertiesBackend extends \Test\TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -14,6 +14,13 @@ use Test\HookHelper;
|
|||
use OC\Files\Filesystem;
|
||||
use OCP\Lock\ILockingProvider;
|
||||
|
||||
/**
|
||||
* Class File
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Connector\Sabre
|
||||
*/
|
||||
class File extends \Test\TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -22,6 +22,13 @@ namespace OCA\Files;
|
|||
|
||||
use \OCA\Files\Service\TagService;
|
||||
|
||||
/**
|
||||
* Class TagServiceTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files
|
||||
*/
|
||||
class TagServiceTest extends \Test\TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -22,10 +22,15 @@
|
|||
*/
|
||||
|
||||
namespace OCA\Files_sharing\Tests;
|
||||
use OCA\Files_sharing\Tests\TestCase;
|
||||
|
||||
|
||||
class Activity extends \OCA\Files_Sharing\Tests\TestCase{
|
||||
/**
|
||||
* Class Activity
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_sharing\Tests
|
||||
*/
|
||||
class Activity extends \OCA\Files_Sharing\Tests\TestCase {
|
||||
|
||||
/**
|
||||
* @var \OCA\Files_Sharing\Activity
|
||||
|
|
|
@ -31,6 +31,8 @@ use OCA\Files_sharing\Tests\TestCase;
|
|||
|
||||
/**
|
||||
* Class Test_Files_Sharing_Api
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_Api extends TestCase {
|
||||
|
||||
|
|
|
@ -27,6 +27,13 @@ use OCA\Files_sharing\Tests\TestCase;
|
|||
use OCP\AppFramework\Http;
|
||||
use OCP\Share;
|
||||
|
||||
/**
|
||||
* Class ShareesTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_Sharing\Tests\API
|
||||
*/
|
||||
class ShareesTest extends TestCase {
|
||||
/** @var Sharees */
|
||||
protected $sharees;
|
||||
|
|
|
@ -27,6 +27,8 @@ use OCA\Files_sharing\Tests\TestCase;
|
|||
|
||||
/**
|
||||
* Class Test_Files_Sharing
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_Backend extends TestCase {
|
||||
|
||||
|
|
|
@ -47,6 +47,12 @@ use OCA\Files_sharing\Tests\TestCase;
|
|||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_Files_Sharing_Cache
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_Cache extends TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,6 +26,8 @@ use OCA\Files_Sharing\Tests\TestCase;
|
|||
|
||||
/**
|
||||
* Class FilesSharingCapabilitiesTest
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class FilesSharingCapabilitiesTest extends \Test\TestCase {
|
||||
|
||||
|
|
|
@ -23,6 +23,13 @@ namespace Test\BackgroundJob;
|
|||
|
||||
use OCA\Files_sharing\Lib\DeleteOrphanedSharesJob;
|
||||
|
||||
/**
|
||||
* Class DeleteOrphanedSharesJobTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\BackgroundJob
|
||||
*/
|
||||
class DeleteOrphanedSharesJobTest extends \Test\TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -27,6 +27,13 @@ namespace OCA\Files_sharing\Tests;
|
|||
use OC\Files\Filesystem;
|
||||
use OC\Files\View;
|
||||
|
||||
/**
|
||||
* Class EtagPropagation
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_sharing\Tests
|
||||
*/
|
||||
class EtagPropagation extends TestCase {
|
||||
/**
|
||||
* @var \OC\Files\View
|
||||
|
|
|
@ -23,6 +23,13 @@ namespace OCA\Files_Sharing\Tests;
|
|||
|
||||
use OCA\Files_Sharing\ExpireSharesJob;
|
||||
|
||||
/**
|
||||
* Class ExpireSharesJobTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_Sharing\Tests
|
||||
*/
|
||||
class ExpireSharesJobTest extends \Test\TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,24 +23,11 @@ namespace OCA\Files_sharing\Tests\External;
|
|||
use OCA\Files_sharing\Tests\TestCase;
|
||||
|
||||
/**
|
||||
* ownCloud
|
||||
* Class Cache
|
||||
*
|
||||
* @author Vincent Petry
|
||||
* @copyright 2015 Vincent Petry <pvince81@owncloud.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public
|
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_sharing\Tests\External
|
||||
*/
|
||||
class Cache extends TestCase {
|
||||
|
||||
|
|
|
@ -28,6 +28,13 @@ use OCA\Files_Sharing\External\MountProvider;
|
|||
use OCA\Files_Sharing\Tests\TestCase;
|
||||
use Test\Traits\UserTrait;
|
||||
|
||||
/**
|
||||
* Class ManagerTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_Sharing\Tests\External
|
||||
*/
|
||||
class ManagerTest extends TestCase {
|
||||
use UserTrait;
|
||||
|
||||
|
|
|
@ -24,26 +24,10 @@
|
|||
use OCA\Files_sharing\Tests\TestCase;
|
||||
|
||||
/**
|
||||
* ownCloud
|
||||
*
|
||||
* @author Bjoern Schiessle
|
||||
* @copyright 2014 Bjoern Schiessle <schiessle@owncloud.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public
|
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
* Class Test_Files_Sharing_Helper
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
|
||||
class Test_Files_Sharing_Helper extends TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -27,6 +27,13 @@ use OC\Files\View;
|
|||
use OC\Lock\MemcacheLockingProvider;
|
||||
use OCP\Lock\ILockingProvider;
|
||||
|
||||
/**
|
||||
* Class Locking
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_sharing\Tests
|
||||
*/
|
||||
class Locking extends TestCase {
|
||||
/**
|
||||
* @var \Test\Util\User\Dummy
|
||||
|
|
|
@ -24,6 +24,11 @@
|
|||
use OCA\Files_Sharing\Tests\TestCase;
|
||||
use OCA\Files_Sharing\Migration;
|
||||
|
||||
/**
|
||||
* Class MigrationTest
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class MigrationTest extends TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,7 +26,11 @@ use OC\Files\Cache\Cache;
|
|||
use OC\Files\Storage\Storage;
|
||||
use OC\Files\View;
|
||||
|
||||
|
||||
/**
|
||||
* Class Test_Files_Sharing_Permissions
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_Permissions extends OCA\Files_sharing\Tests\TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,6 +26,8 @@ use OCA\Files_Sharing\Tests\TestCase;
|
|||
|
||||
/**
|
||||
* Class Test_Files_Sharing_Api
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_S2S_OCS_API extends TestCase {
|
||||
|
||||
|
|
|
@ -27,6 +27,8 @@ use OCA\Files\Share;
|
|||
|
||||
/**
|
||||
* Class Test_Files_Sharing
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing extends OCA\Files_sharing\Tests\TestCase {
|
||||
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
/**
|
||||
* Class Test_Files_Sharing_Api
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_Mount extends OCA\Files_sharing\Tests\TestCase {
|
||||
|
||||
|
|
|
@ -28,6 +28,8 @@ use OCA\Files\Share;
|
|||
|
||||
/**
|
||||
* Class Test_Files_Sharing_Api
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_Storage extends OCA\Files_sharing\Tests\TestCase {
|
||||
|
||||
|
|
|
@ -24,6 +24,13 @@ namespace OCA\Files_sharing\Tests;
|
|||
|
||||
use OC\Files\View;
|
||||
|
||||
/**
|
||||
* Class SizePropagation
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_sharing\Tests
|
||||
*/
|
||||
class SizePropagation extends TestCase {
|
||||
|
||||
public function testSizePropagationWhenOwnerChangesFile() {
|
||||
|
|
|
@ -36,6 +36,8 @@ use OCA\Files_Sharing\Appinfo\Application;
|
|||
/**
|
||||
* Class Test_Files_Sharing_Base
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* Base class for sharing tests.
|
||||
*/
|
||||
abstract class TestCase extends \Test\TestCase {
|
||||
|
|
|
@ -26,6 +26,13 @@ namespace OCA\Files_sharing\Tests;
|
|||
|
||||
use OCA\Files\Share;
|
||||
|
||||
/**
|
||||
* Class UnshareChildren
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\Files_sharing\Tests
|
||||
*/
|
||||
class UnshareChildren extends TestCase {
|
||||
|
||||
protected $subsubfolder;
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
/**
|
||||
* Class Test_Files_Sharing_Updater
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_Updater extends OCA\Files_Sharing\Tests\TestCase {
|
||||
|
||||
|
|
|
@ -25,6 +25,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_Files_Sharing_Watcher
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Files_Sharing_Watcher extends OCA\Files_sharing\Tests\TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -8,6 +8,13 @@
|
|||
|
||||
namespace Test;
|
||||
|
||||
/**
|
||||
* Class TestAllConfig
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test
|
||||
*/
|
||||
class TestAllConfig extends \Test\TestCase {
|
||||
|
||||
/** @var \OCP\IDBConnection */
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (c) 2012 Bernhard Posselt <dev@bernhard-posselt.com>
|
||||
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com>
|
||||
|
@ -7,6 +6,12 @@
|
|||
* later.
|
||||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_App
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_App extends \Test\TestCase {
|
||||
|
||||
const TEST_USER1 = 'user1';
|
||||
|
|
|
@ -11,6 +11,13 @@ namespace Test\Lib;
|
|||
|
||||
use Test\TestCase;
|
||||
|
||||
/**
|
||||
* Class AppConfig
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Lib
|
||||
*/
|
||||
class AppConfig extends TestCase {
|
||||
/** @var \OCP\IAppConfig */
|
||||
protected $appConfig;
|
||||
|
|
|
@ -128,6 +128,7 @@ class AppTest extends \Test\TestCase {
|
|||
|
||||
protected function tearDown() {
|
||||
rrmdir($this->appPath);
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
|
||||
use OC\Avatar;
|
||||
|
||||
/**
|
||||
* Class Test_Avatar
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Avatar extends \Test\TestCase {
|
||||
private static $trashBinStatus;
|
||||
|
||||
|
|
|
@ -9,8 +9,16 @@
|
|||
namespace Test\BackgroundJob;
|
||||
|
||||
use OCP\BackgroundJob\IJob;
|
||||
use Test\TestCase;
|
||||
|
||||
class JobList extends \Test\TestCase {
|
||||
/**
|
||||
* Class JobList
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\BackgroundJob
|
||||
*/
|
||||
class JobList extends TestCase {
|
||||
/**
|
||||
* @var \OC\BackgroundJob\JobList
|
||||
*/
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
|
||||
namespace Test\Cache;
|
||||
|
||||
/**
|
||||
* Class FileCache
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Cache
|
||||
*/
|
||||
class FileCache extends \Test_Cache {
|
||||
/**
|
||||
* @var string
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_DB
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_DB extends \Test\TestCase {
|
||||
protected $backupGlobals = FALSE;
|
||||
|
||||
|
|
|
@ -12,6 +12,13 @@ namespace Test\DB;
|
|||
use Doctrine\DBAL\Platforms\SqlitePlatform;
|
||||
use OC\DB\MDB2SchemaManager;
|
||||
|
||||
/**
|
||||
* Class Connection
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\DB
|
||||
*/
|
||||
class Connection extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OCP\IDBConnection
|
||||
|
|
|
@ -11,6 +11,13 @@ namespace Test\DB;
|
|||
|
||||
use Doctrine\DBAL\Platforms\OraclePlatform;
|
||||
|
||||
/**
|
||||
* Class MDB2SchemaManager
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\DB
|
||||
*/
|
||||
class MDB2SchemaManager extends \Test\TestCase {
|
||||
|
||||
protected function tearDown() {
|
||||
|
|
|
@ -15,6 +15,13 @@ use \Doctrine\DBAL\Schema\Schema;
|
|||
use \Doctrine\DBAL\Schema\SchemaConfig;
|
||||
use OCP\IConfig;
|
||||
|
||||
/**
|
||||
* Class Migrator
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\DB
|
||||
*/
|
||||
class Migrator extends \Test\TestCase {
|
||||
/**
|
||||
* @var \Doctrine\DBAL\Connection $connection
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class TestMySqlMigration
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class TestMySqlMigration extends \Test\TestCase {
|
||||
|
||||
/** @var \Doctrine\DBAL\Connection */
|
||||
|
|
|
@ -24,6 +24,13 @@ namespace Test\DB\QueryBuilder;
|
|||
use Doctrine\DBAL\Query\Expression\ExpressionBuilder as DoctrineExpressionBuilder;
|
||||
use OC\DB\QueryBuilder\ExpressionBuilder;
|
||||
|
||||
/**
|
||||
* Class ExpressionBuilderTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\DB\QueryBuilder
|
||||
*/
|
||||
class ExpressionBuilderTest extends \Test\TestCase {
|
||||
/** @var ExpressionBuilder */
|
||||
protected $expressionBuilder;
|
||||
|
|
|
@ -27,6 +27,13 @@ use OC\DB\QueryBuilder\Parameter;
|
|||
use OC\DB\QueryBuilder\QueryBuilder;
|
||||
use OCP\IDBConnection;
|
||||
|
||||
/**
|
||||
* Class QueryBuilderTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\DB\QueryBuilder
|
||||
*/
|
||||
class QueryBuilderTest extends \Test\TestCase {
|
||||
/** @var QueryBuilder */
|
||||
protected $queryBuilder;
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class TestSqliteMigration
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class TestSqliteMigration extends \Test\TestCase {
|
||||
|
||||
/** @var \Doctrine\DBAL\Connection */
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
|
||||
use OCP\Security\ISecureRandom;
|
||||
|
||||
/**
|
||||
* Class Test_DBSchema
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_DBSchema extends \Test\TestCase {
|
||||
protected $schema_file = 'static://test_db_scheme';
|
||||
protected $schema_file2 = 'static://test_db_scheme2';
|
||||
|
|
|
@ -16,6 +16,13 @@ class LongId extends \OC\Files\Storage\Temporary {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Class Cache
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Cache
|
||||
*/
|
||||
class Cache extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OC\Files\Storage\Temporary $storage ;
|
||||
|
|
|
@ -12,6 +12,13 @@ use OC\Files\Filesystem;
|
|||
use OC\Files\Storage\Temporary;
|
||||
use OC\Files\View;
|
||||
|
||||
/**
|
||||
* Class ChangePropagator
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Cache
|
||||
*/
|
||||
class ChangePropagator extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OC\Files\Cache\ChangePropagator
|
||||
|
|
|
@ -43,6 +43,13 @@ class DummyUser extends \OC\User\User {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Class HomeCache
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Cache
|
||||
*/
|
||||
class HomeCache extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OC\Files\Storage\Home $storage
|
||||
|
|
|
@ -8,6 +8,13 @@
|
|||
|
||||
namespace Test\Files\Cache;
|
||||
|
||||
/**
|
||||
* Class Scanner
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Cache
|
||||
*/
|
||||
class Scanner extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OC\Files\Storage\Storage $storage
|
||||
|
|
|
@ -12,6 +12,13 @@ use OC\Files\Filesystem;
|
|||
use OC\Files\Storage\Temporary;
|
||||
use OC\Files\View;
|
||||
|
||||
/**
|
||||
* Class Updater
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Cache
|
||||
*/
|
||||
class Updater extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OC\Files\Storage\Storage
|
||||
|
|
|
@ -12,6 +12,13 @@ use \OC\Files\Filesystem as Filesystem;
|
|||
use OC\Files\Storage\Temporary;
|
||||
use OC\Files\View;
|
||||
|
||||
/**
|
||||
* Class UpdaterLegacy
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Cache
|
||||
*/
|
||||
class UpdaterLegacy extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OC\Files\Storage\Storage $storage
|
||||
|
|
|
@ -8,6 +8,13 @@
|
|||
|
||||
namespace Test\Files\Cache;
|
||||
|
||||
/**
|
||||
* Class Watcher
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Cache
|
||||
*/
|
||||
class Watcher extends \Test\TestCase {
|
||||
|
||||
/**
|
||||
|
|
|
@ -11,6 +11,13 @@ namespace Test\Files;
|
|||
use OC\Files\Filesystem;
|
||||
use OCP\Share;
|
||||
|
||||
/**
|
||||
* Class EtagTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files
|
||||
*/
|
||||
class EtagTest extends \Test\TestCase {
|
||||
private $datadir;
|
||||
|
||||
|
|
|
@ -51,6 +51,13 @@ class DummyMountProvider implements IMountProvider {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Class Filesystem
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files
|
||||
*/
|
||||
class Filesystem extends \Test\TestCase {
|
||||
|
||||
const TEST_FILESYSTEM_USER1 = "test-filesystem-user1";
|
||||
|
|
|
@ -13,6 +13,13 @@ use OC\Files\Storage\Temporary;
|
|||
use OC\Files\View;
|
||||
use OC\User\User;
|
||||
|
||||
/**
|
||||
* Class IntegrationTests
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Node
|
||||
*/
|
||||
class IntegrationTests extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OC\Files\Node\Root $root
|
||||
|
|
|
@ -23,6 +23,13 @@ namespace OCA\ObjectStore\Tests\Unit;
|
|||
use OC\Files\ObjectStore\ObjectStoreStorage;
|
||||
use OC\Files\ObjectStore\Swift as ObjectStoreToTest;
|
||||
|
||||
/**
|
||||
* Class Swift
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OCA\ObjectStore\Tests\Unit
|
||||
*/
|
||||
class Swift extends \Test\Files\Storage\Storage {
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,6 +40,13 @@ class TestScanner extends \OC\Files\Utils\Scanner {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Class Scanner
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files\Utils
|
||||
*/
|
||||
class Scanner extends \Test\TestCase {
|
||||
/**
|
||||
* @var \Test\Util\User\Dummy
|
||||
|
|
|
@ -40,6 +40,13 @@ class TemporaryNoLocal extends \OC\Files\Storage\Temporary {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Class View
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Files
|
||||
*/
|
||||
class View extends \Test\TestCase {
|
||||
/**
|
||||
* @var \OC\Files\Storage\Storage[] $storages
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_Group_Backend
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
abstract class Test_Group_Backend extends \Test\TestCase {
|
||||
/**
|
||||
* @var OC_Group_Backend $backend
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_Group_Database
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Group_Database extends Test_Group_Backend {
|
||||
private $groups=array();
|
||||
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_Group_Dummy
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Group_Dummy extends Test_Group_Backend {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
|
|
@ -23,6 +23,13 @@ namespace Test\Lock;
|
|||
|
||||
use OCP\Lock\ILockingProvider;
|
||||
|
||||
/**
|
||||
* Class DBLockingProvider
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Lock
|
||||
*/
|
||||
class DBLockingProvider extends LockingProvider {
|
||||
/**
|
||||
* @var \OC\Lock\DBLockingProvider
|
||||
|
|
|
@ -11,6 +11,8 @@ namespace Test\Repair;
|
|||
/**
|
||||
* Tests for the cleaning the tags tables
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @see \OC\Repair\CleanTags
|
||||
*/
|
||||
class CleanTags extends \Test\TestCase {
|
||||
|
|
|
@ -13,6 +13,8 @@ use OCP\BackgroundJob\IJobList;
|
|||
/**
|
||||
* Tests for the dropping old tables
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @see \OC\Repair\DropOldTables
|
||||
*/
|
||||
class DropOldJobs extends \Test\TestCase {
|
||||
|
|
|
@ -11,6 +11,8 @@ namespace Test\Repair;
|
|||
/**
|
||||
* Tests for the dropping old tables
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @see \OC\Repair\DropOldTables
|
||||
*/
|
||||
class DropOldTables extends \Test\TestCase {
|
||||
|
|
|
@ -11,6 +11,13 @@ namespace Test\Repair;
|
|||
use OC\Repair\OldGroupMembershipShares;
|
||||
use OC\Share\Constants;
|
||||
|
||||
/**
|
||||
* Class OldGroupMembershipSharesTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Repair
|
||||
*/
|
||||
class OldGroupMembershipSharesTest extends \Test\TestCase {
|
||||
|
||||
/** @var OldGroupMembershipShares */
|
||||
|
|
|
@ -24,6 +24,13 @@ namespace Test\Repair;
|
|||
use OC\Repair\RemoveGetETagEntries;
|
||||
use Test\TestCase;
|
||||
|
||||
/**
|
||||
* Class RemoveGetETagEntriesTest
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package Test\Repair
|
||||
*/
|
||||
class RemoveGetETagEntriesTest extends TestCase {
|
||||
/** @var \OCP\IDBConnection */
|
||||
protected $connection;
|
||||
|
|
|
@ -19,6 +19,8 @@ class TestCollationRepair extends \OC\Repair\Collation {
|
|||
/**
|
||||
* Tests for the converting of MySQL tables to InnoDB engine
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @see \OC\Repair\RepairMimeTypes
|
||||
*/
|
||||
class TestRepairCollation extends \Test\TestCase {
|
||||
|
|
|
@ -10,6 +10,8 @@ namespace Test\Repair;
|
|||
/**
|
||||
* Tests for the converting of MySQL tables to InnoDB engine
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @see \OC\Repair\RepairMimeTypes
|
||||
*/
|
||||
class RepairInnoDB extends \Test\TestCase {
|
||||
|
|
|
@ -16,6 +16,8 @@ use Test\TestCase;
|
|||
/**
|
||||
* Tests for repairing invalid shares
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @see \OC\Repair\RepairInvalidShares
|
||||
*/
|
||||
class RepairInvalidSharesTest extends TestCase {
|
||||
|
|
|
@ -15,6 +15,8 @@ use Test\TestCase;
|
|||
/**
|
||||
* Tests for the converting of legacy storages to home storages.
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @see \OC\Repair\RepairLegacyStorages
|
||||
*/
|
||||
class RepairLegacyStorages extends TestCase {
|
||||
|
|
|
@ -11,6 +11,8 @@ namespace Test\Repair;
|
|||
/**
|
||||
* Tests for the converting of legacy storages to home storages.
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @see \OC\Repair\RepairMimeTypes
|
||||
*/
|
||||
class RepairMimeTypes extends \Test\TestCase {
|
||||
|
|
|
@ -10,6 +10,8 @@ namespace Test\Repair;
|
|||
|
||||
/**
|
||||
* Tests for fixing the SQLite id recycling
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class RepairSqliteAutoincrement extends \Test\TestCase {
|
||||
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
|
||||
use \OC\Security\CertificateManager;
|
||||
|
||||
/**
|
||||
* Class CertificateManagerTest
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class CertificateManagerTest extends \Test\TestCase {
|
||||
|
||||
/** @var CertificateManager */
|
||||
|
|
|
@ -25,6 +25,13 @@ namespace OC\Tests\Share;
|
|||
|
||||
use Test\TestCase;
|
||||
|
||||
/**
|
||||
* Class HookTests
|
||||
*
|
||||
* @group DB
|
||||
*
|
||||
* @package OC\Tests\Share
|
||||
*/
|
||||
class HookTests extends TestCase {
|
||||
|
||||
protected function setUp() {
|
||||
|
|
|
@ -19,6 +19,11 @@
|
|||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_Share
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Share extends \Test\TestCase {
|
||||
|
||||
protected $itemType;
|
||||
|
|
|
@ -20,12 +20,17 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_Tags
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_Tags extends \Test\TestCase {
|
||||
|
||||
protected $objectType;
|
||||
/** @var \OC\IUser */
|
||||
/** @var \OCP\IUser */
|
||||
protected $user;
|
||||
/** @var \OC\IUserSession */
|
||||
/** @var \OCP\IUserSession */
|
||||
protected $userSession;
|
||||
protected $backupGlobals = FALSE;
|
||||
/** @var \OC\Tagging\TagMapper */
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_User_Database
|
||||
*
|
||||
* @group DB
|
||||
*/
|
||||
class Test_User_Database extends Test_User_Backend {
|
||||
/** @var array */
|
||||
private $users;
|
||||
|
|
Loading…
Reference in New Issue