summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-03 01:52:41 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-30 10:55:05 +0100
commit3bb6dcea6438e2be46d860e41c27c4314bbdd283 (patch)
tree447b0e5879480dc6afb9702346bb8e5925047b90 /tests
parent678fe1b8f4c2e0557955e4552621074574970a62 (diff)
downloadnextcloud-server-3bb6dcea6438e2be46d860e41c27c4314bbdd283.tar.gz
nextcloud-server-3bb6dcea6438e2be46d860e41c27c4314bbdd283.zip
Apply DB group annotation ...
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/allconfig.php7
-rw-r--r--tests/lib/app.php7
-rw-r--r--tests/lib/appconfig.php7
-rw-r--r--tests/lib/appframework/AppTest.php1
-rw-r--r--tests/lib/avatar.php5
-rw-r--r--tests/lib/backgroundjob/joblist.php10
-rw-r--r--tests/lib/cache/file.php7
-rw-r--r--tests/lib/db.php5
-rw-r--r--tests/lib/db/connection.php7
-rw-r--r--tests/lib/db/mdb2schemamanager.php7
-rw-r--r--tests/lib/db/migrator.php7
-rw-r--r--tests/lib/db/mysqlmigration.php5
-rw-r--r--tests/lib/db/querybuilder/expressionbuildertest.php7
-rw-r--r--tests/lib/db/querybuilder/querybuildertest.php7
-rw-r--r--tests/lib/db/sqlitemigration.php5
-rw-r--r--tests/lib/dbschema.php5
-rw-r--r--tests/lib/files/cache/cache.php7
-rw-r--r--tests/lib/files/cache/changepropagator.php7
-rw-r--r--tests/lib/files/cache/homecache.php7
-rw-r--r--tests/lib/files/cache/scanner.php7
-rw-r--r--tests/lib/files/cache/updater.php7
-rw-r--r--tests/lib/files/cache/updaterlegacy.php7
-rw-r--r--tests/lib/files/cache/watcher.php7
-rw-r--r--tests/lib/files/etagtest.php7
-rw-r--r--tests/lib/files/filesystem.php7
-rw-r--r--tests/lib/files/node/integration.php7
-rw-r--r--tests/lib/files/objectstore/swift.php7
-rw-r--r--tests/lib/files/utils/scanner.php7
-rw-r--r--tests/lib/files/view.php7
-rw-r--r--tests/lib/group/backend.php5
-rw-r--r--tests/lib/group/database.php5
-rw-r--r--tests/lib/group/dummy.php5
-rw-r--r--tests/lib/lock/dblockingprovider.php7
-rw-r--r--tests/lib/repair/cleantags.php2
-rw-r--r--tests/lib/repair/dropoldjobs.php2
-rw-r--r--tests/lib/repair/dropoldtables.php2
-rw-r--r--tests/lib/repair/oldgroupmembershipsharestest.php7
-rw-r--r--tests/lib/repair/removegetetagentriestest.php7
-rw-r--r--tests/lib/repair/repaircollation.php2
-rw-r--r--tests/lib/repair/repairinnodb.php2
-rw-r--r--tests/lib/repair/repairinvalidsharestest.php2
-rw-r--r--tests/lib/repair/repairlegacystorage.php2
-rw-r--r--tests/lib/repair/repairmimetypes.php2
-rw-r--r--tests/lib/repair/repairsqliteautoincrement.php2
-rw-r--r--tests/lib/security/certificatemanager.php5
-rw-r--r--tests/lib/share/hooktests.php7
-rw-r--r--tests/lib/share/share.php5
-rw-r--r--tests/lib/tags.php9
-rw-r--r--tests/lib/user/database.php5
49 files changed, 271 insertions, 4 deletions
diff --git a/tests/lib/allconfig.php b/tests/lib/allconfig.php
index 7f8ad5ec221..ca3dce12eaf 100644
--- a/tests/lib/allconfig.php
+++ b/tests/lib/allconfig.php
@@ -8,6 +8,13 @@
namespace Test;
+/**
+ * Class TestAllConfig
+ *
+ * @group DB
+ *
+ * @package Test
+ */
class TestAllConfig extends \Test\TestCase {
/** @var \OCP\IDBConnection */
diff --git a/tests/lib/app.php b/tests/lib/app.php
index bb972e7cf9a..1c38a1c161f 100644
--- a/tests/lib/app.php
+++ b/tests/lib/app.php
@@ -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';
diff --git a/tests/lib/appconfig.php b/tests/lib/appconfig.php
index 98420abe7bc..64f0f80e045 100644
--- a/tests/lib/appconfig.php
+++ b/tests/lib/appconfig.php
@@ -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;
diff --git a/tests/lib/appframework/AppTest.php b/tests/lib/appframework/AppTest.php
index 05190ca09b5..7cba0e6db6b 100644
--- a/tests/lib/appframework/AppTest.php
+++ b/tests/lib/appframework/AppTest.php
@@ -128,6 +128,7 @@ class AppTest extends \Test\TestCase {
protected function tearDown() {
rrmdir($this->appPath);
+ parent::tearDown();
}
diff --git a/tests/lib/avatar.php b/tests/lib/avatar.php
index badee9f34d1..3fa7dc64547 100644
--- a/tests/lib/avatar.php
+++ b/tests/lib/avatar.php
@@ -9,6 +9,11 @@
use OC\Avatar;
+/**
+ * Class Test_Avatar
+ *
+ * @group DB
+ */
class Test_Avatar extends \Test\TestCase {
private static $trashBinStatus;
diff --git a/tests/lib/backgroundjob/joblist.php b/tests/lib/backgroundjob/joblist.php
index b329c83009b..73b3255c079 100644
--- a/tests/lib/backgroundjob/joblist.php
+++ b/tests/lib/backgroundjob/joblist.php
@@ -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
*/
diff --git a/tests/lib/cache/file.php b/tests/lib/cache/file.php
index b5f186c5416..6db5acdf13f 100644
--- a/tests/lib/cache/file.php
+++ b/tests/lib/cache/file.php
@@ -22,6 +22,13 @@
namespace Test\Cache;
+/**
+ * Class FileCache
+ *
+ * @group DB
+ *
+ * @package Test\Cache
+ */
class FileCache extends \Test_Cache {
/**
* @var string
diff --git a/tests/lib/db.php b/tests/lib/db.php
index 5c25bfb9a5c..95eca4774b7 100644
--- a/tests/lib/db.php
+++ b/tests/lib/db.php
@@ -6,6 +6,11 @@
* See the COPYING-README file.
*/
+/**
+ * Class Test_DB
+ *
+ * @group DB
+ */
class Test_DB extends \Test\TestCase {
protected $backupGlobals = FALSE;
diff --git a/tests/lib/db/connection.php b/tests/lib/db/connection.php
index 720b448d0fb..ab3b48b259f 100644
--- a/tests/lib/db/connection.php
+++ b/tests/lib/db/connection.php
@@ -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
diff --git a/tests/lib/db/mdb2schemamanager.php b/tests/lib/db/mdb2schemamanager.php
index 8ce6febf3ac..e194e701d84 100644
--- a/tests/lib/db/mdb2schemamanager.php
+++ b/tests/lib/db/mdb2schemamanager.php
@@ -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() {
diff --git a/tests/lib/db/migrator.php b/tests/lib/db/migrator.php
index 4d558909743..a50c5f1b864 100644
--- a/tests/lib/db/migrator.php
+++ b/tests/lib/db/migrator.php
@@ -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
diff --git a/tests/lib/db/mysqlmigration.php b/tests/lib/db/mysqlmigration.php
index 6c283e6c59c..50b9d91d4ee 100644
--- a/tests/lib/db/mysqlmigration.php
+++ b/tests/lib/db/mysqlmigration.php
@@ -6,6 +6,11 @@
* See the COPYING-README file.
*/
+/**
+ * Class TestMySqlMigration
+ *
+ * @group DB
+ */
class TestMySqlMigration extends \Test\TestCase {
/** @var \Doctrine\DBAL\Connection */
diff --git a/tests/lib/db/querybuilder/expressionbuildertest.php b/tests/lib/db/querybuilder/expressionbuildertest.php
index f041df01019..0563ff92334 100644
--- a/tests/lib/db/querybuilder/expressionbuildertest.php
+++ b/tests/lib/db/querybuilder/expressionbuildertest.php
@@ -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;
diff --git a/tests/lib/db/querybuilder/querybuildertest.php b/tests/lib/db/querybuilder/querybuildertest.php
index bbc45fc64f3..ca3901ad049 100644
--- a/tests/lib/db/querybuilder/querybuildertest.php
+++ b/tests/lib/db/querybuilder/querybuildertest.php
@@ -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;
diff --git a/tests/lib/db/sqlitemigration.php b/tests/lib/db/sqlitemigration.php
index 9206381ff71..3674d452bae 100644
--- a/tests/lib/db/sqlitemigration.php
+++ b/tests/lib/db/sqlitemigration.php
@@ -6,6 +6,11 @@
* See the COPYING-README file.
*/
+/**
+ * Class TestSqliteMigration
+ *
+ * @group DB
+ */
class TestSqliteMigration extends \Test\TestCase {
/** @var \Doctrine\DBAL\Connection */
diff --git a/tests/lib/dbschema.php b/tests/lib/dbschema.php
index 97307664b6a..46d7559acc2 100644
--- a/tests/lib/dbschema.php
+++ b/tests/lib/dbschema.php
@@ -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';
diff --git a/tests/lib/files/cache/cache.php b/tests/lib/files/cache/cache.php
index c5395a97fd4..503d25597cd 100644
--- a/tests/lib/files/cache/cache.php
+++ b/tests/lib/files/cache/cache.php
@@ -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 ;
diff --git a/tests/lib/files/cache/changepropagator.php b/tests/lib/files/cache/changepropagator.php
index 9108330eb9b..6e9d9bfae75 100644
--- a/tests/lib/files/cache/changepropagator.php
+++ b/tests/lib/files/cache/changepropagator.php
@@ -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
diff --git a/tests/lib/files/cache/homecache.php b/tests/lib/files/cache/homecache.php
index 7ebb053bcfa..3adb25fa9d4 100644
--- a/tests/lib/files/cache/homecache.php
+++ b/tests/lib/files/cache/homecache.php
@@ -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
diff --git a/tests/lib/files/cache/scanner.php b/tests/lib/files/cache/scanner.php
index 871b12bac3a..8186fe29493 100644
--- a/tests/lib/files/cache/scanner.php
+++ b/tests/lib/files/cache/scanner.php
@@ -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
diff --git a/tests/lib/files/cache/updater.php b/tests/lib/files/cache/updater.php
index 807dcd596fb..cdffac464dc 100644
--- a/tests/lib/files/cache/updater.php
+++ b/tests/lib/files/cache/updater.php
@@ -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
diff --git a/tests/lib/files/cache/updaterlegacy.php b/tests/lib/files/cache/updaterlegacy.php
index c1a0d3d8230..1946913bba4 100644
--- a/tests/lib/files/cache/updaterlegacy.php
+++ b/tests/lib/files/cache/updaterlegacy.php
@@ -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
diff --git a/tests/lib/files/cache/watcher.php b/tests/lib/files/cache/watcher.php
index acc03cc4c77..cb90e92b477 100644
--- a/tests/lib/files/cache/watcher.php
+++ b/tests/lib/files/cache/watcher.php
@@ -8,6 +8,13 @@
namespace Test\Files\Cache;
+/**
+ * Class Watcher
+ *
+ * @group DB
+ *
+ * @package Test\Files\Cache
+ */
class Watcher extends \Test\TestCase {
/**
diff --git a/tests/lib/files/etagtest.php b/tests/lib/files/etagtest.php
index 1b51030d4a3..7fbeae88820 100644
--- a/tests/lib/files/etagtest.php
+++ b/tests/lib/files/etagtest.php
@@ -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;
diff --git a/tests/lib/files/filesystem.php b/tests/lib/files/filesystem.php
index 15a7c235405..7829eb9d706 100644
--- a/tests/lib/files/filesystem.php
+++ b/tests/lib/files/filesystem.php
@@ -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";
diff --git a/tests/lib/files/node/integration.php b/tests/lib/files/node/integration.php
index 5580b40a126..addc7e98f48 100644
--- a/tests/lib/files/node/integration.php
+++ b/tests/lib/files/node/integration.php
@@ -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
diff --git a/tests/lib/files/objectstore/swift.php b/tests/lib/files/objectstore/swift.php
index 6d59078aa7c..63332af68da 100644
--- a/tests/lib/files/objectstore/swift.php
+++ b/tests/lib/files/objectstore/swift.php
@@ -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 {
/**
diff --git a/tests/lib/files/utils/scanner.php b/tests/lib/files/utils/scanner.php
index b731c6992e8..2a50c2a6222 100644
--- a/tests/lib/files/utils/scanner.php
+++ b/tests/lib/files/utils/scanner.php
@@ -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
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php
index f0bad5abd18..186cf28d7c3 100644
--- a/tests/lib/files/view.php
+++ b/tests/lib/files/view.php
@@ -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
diff --git a/tests/lib/group/backend.php b/tests/lib/group/backend.php
index 62c189489d7..ce41a6c6359 100644
--- a/tests/lib/group/backend.php
+++ b/tests/lib/group/backend.php
@@ -20,6 +20,11 @@
*
*/
+/**
+ * Class Test_Group_Backend
+ *
+ * @group DB
+ */
abstract class Test_Group_Backend extends \Test\TestCase {
/**
* @var OC_Group_Backend $backend
diff --git a/tests/lib/group/database.php b/tests/lib/group/database.php
index 10958a6ccdc..3997ff8bba5 100644
--- a/tests/lib/group/database.php
+++ b/tests/lib/group/database.php
@@ -20,6 +20,11 @@
*
*/
+/**
+ * Class Test_Group_Database
+ *
+ * @group DB
+ */
class Test_Group_Database extends Test_Group_Backend {
private $groups=array();
diff --git a/tests/lib/group/dummy.php b/tests/lib/group/dummy.php
index b4456c8f7e1..6836f89d3fe 100644
--- a/tests/lib/group/dummy.php
+++ b/tests/lib/group/dummy.php
@@ -20,6 +20,11 @@
*
*/
+/**
+ * Class Test_Group_Dummy
+ *
+ * @group DB
+ */
class Test_Group_Dummy extends Test_Group_Backend {
protected function setUp() {
parent::setUp();
diff --git a/tests/lib/lock/dblockingprovider.php b/tests/lib/lock/dblockingprovider.php
index 2360052b4a0..d679b1ea677 100644
--- a/tests/lib/lock/dblockingprovider.php
+++ b/tests/lib/lock/dblockingprovider.php
@@ -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
diff --git a/tests/lib/repair/cleantags.php b/tests/lib/repair/cleantags.php
index 896dd333cc2..9773a591777 100644
--- a/tests/lib/repair/cleantags.php
+++ b/tests/lib/repair/cleantags.php
@@ -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 {
diff --git a/tests/lib/repair/dropoldjobs.php b/tests/lib/repair/dropoldjobs.php
index 27d7860c63d..a85c6506dbb 100644
--- a/tests/lib/repair/dropoldjobs.php
+++ b/tests/lib/repair/dropoldjobs.php
@@ -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 {
diff --git a/tests/lib/repair/dropoldtables.php b/tests/lib/repair/dropoldtables.php
index 244d8837949..6ece8cf04d5 100644
--- a/tests/lib/repair/dropoldtables.php
+++ b/tests/lib/repair/dropoldtables.php
@@ -11,6 +11,8 @@ namespace Test\Repair;
/**
* Tests for the dropping old tables
*
+ * @group DB
+ *
* @see \OC\Repair\DropOldTables
*/
class DropOldTables extends \Test\TestCase {
diff --git a/tests/lib/repair/oldgroupmembershipsharestest.php b/tests/lib/repair/oldgroupmembershipsharestest.php
index 272e1ef09c4..f02babab21d 100644
--- a/tests/lib/repair/oldgroupmembershipsharestest.php
+++ b/tests/lib/repair/oldgroupmembershipsharestest.php
@@ -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 */
diff --git a/tests/lib/repair/removegetetagentriestest.php b/tests/lib/repair/removegetetagentriestest.php
index 43b7bf323c0..12f0ae8a8d6 100644
--- a/tests/lib/repair/removegetetagentriestest.php
+++ b/tests/lib/repair/removegetetagentriestest.php
@@ -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;
diff --git a/tests/lib/repair/repaircollation.php b/tests/lib/repair/repaircollation.php
index 29dad190008..f9d921e88a4 100644
--- a/tests/lib/repair/repaircollation.php
+++ b/tests/lib/repair/repaircollation.php
@@ -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 {
diff --git a/tests/lib/repair/repairinnodb.php b/tests/lib/repair/repairinnodb.php
index 33f7a0e2136..e7d2b83c224 100644
--- a/tests/lib/repair/repairinnodb.php
+++ b/tests/lib/repair/repairinnodb.php
@@ -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 {
diff --git a/tests/lib/repair/repairinvalidsharestest.php b/tests/lib/repair/repairinvalidsharestest.php
index e8dcaa4da97..9655e0eacbc 100644
--- a/tests/lib/repair/repairinvalidsharestest.php
+++ b/tests/lib/repair/repairinvalidsharestest.php
@@ -16,6 +16,8 @@ use Test\TestCase;
/**
* Tests for repairing invalid shares
*
+ * @group DB
+ *
* @see \OC\Repair\RepairInvalidShares
*/
class RepairInvalidSharesTest extends TestCase {
diff --git a/tests/lib/repair/repairlegacystorage.php b/tests/lib/repair/repairlegacystorage.php
index e1edf704424..44afd6125ab 100644
--- a/tests/lib/repair/repairlegacystorage.php
+++ b/tests/lib/repair/repairlegacystorage.php
@@ -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 {
diff --git a/tests/lib/repair/repairmimetypes.php b/tests/lib/repair/repairmimetypes.php
index a0697776e73..1bdaa9a2dbf 100644
--- a/tests/lib/repair/repairmimetypes.php
+++ b/tests/lib/repair/repairmimetypes.php
@@ -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 {
diff --git a/tests/lib/repair/repairsqliteautoincrement.php b/tests/lib/repair/repairsqliteautoincrement.php
index 375319bb64a..e3bb110191b 100644
--- a/tests/lib/repair/repairsqliteautoincrement.php
+++ b/tests/lib/repair/repairsqliteautoincrement.php
@@ -10,6 +10,8 @@ namespace Test\Repair;
/**
* Tests for fixing the SQLite id recycling
+ *
+ * @group DB
*/
class RepairSqliteAutoincrement extends \Test\TestCase {
diff --git a/tests/lib/security/certificatemanager.php b/tests/lib/security/certificatemanager.php
index 092f9efdd18..43b2f1cf980 100644
--- a/tests/lib/security/certificatemanager.php
+++ b/tests/lib/security/certificatemanager.php
@@ -8,6 +8,11 @@
use \OC\Security\CertificateManager;
+/**
+ * Class CertificateManagerTest
+ *
+ * @group DB
+ */
class CertificateManagerTest extends \Test\TestCase {
/** @var CertificateManager */
diff --git a/tests/lib/share/hooktests.php b/tests/lib/share/hooktests.php
index f980baf3574..7e6aaa259f2 100644
--- a/tests/lib/share/hooktests.php
+++ b/tests/lib/share/hooktests.php
@@ -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() {
diff --git a/tests/lib/share/share.php b/tests/lib/share/share.php
index e8127aefe8e..fa19577cb72 100644
--- a/tests/lib/share/share.php
+++ b/tests/lib/share/share.php
@@ -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;
diff --git a/tests/lib/tags.php b/tests/lib/tags.php
index 1a13d64679d..a8f59ff16e4 100644
--- a/tests/lib/tags.php
+++ b/tests/lib/tags.php
@@ -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 */
diff --git a/tests/lib/user/database.php b/tests/lib/user/database.php
index 3a6be1ceee5..ba44d333a8c 100644
--- a/tests/lib/user/database.php
+++ b/tests/lib/user/database.php
@@ -20,6 +20,11 @@
*
*/
+/**
+ * Class Test_User_Database
+ *
+ * @group DB
+ */
class Test_User_Database extends Test_User_Backend {
/** @var array */
private $users;