* later.
* See the COPYING-README file.
*/
+
+/**
+ * Class CustomPropertiesBackend
+ *
+ * @group DB
+ *
+ * @package Tests\Connector\Sabre
+ */
class CustomPropertiesBackend extends \Test\TestCase {
/**
use OC\Files\Filesystem;
use OCP\Lock\ILockingProvider;
+/**
+ * Class File
+ *
+ * @group DB
+ *
+ * @package Test\Connector\Sabre
+ */
class File extends \Test\TestCase {
/**
use \OCA\Files\Service\TagService;
+/**
+ * Class TagServiceTest
+ *
+ * @group DB
+ *
+ * @package OCA\Files
+ */
class TagServiceTest extends \Test\TestCase {
/**
*/
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
/**
* Class Test_Files_Sharing_Api
+ *
+ * @group DB
*/
class Test_Files_Sharing_Api extends 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;
/**
* Class Test_Files_Sharing
+ *
+ * @group DB
*/
class Test_Files_Sharing_Backend extends 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 {
/**
/**
* Class FilesSharingCapabilitiesTest
+ *
+ * @group DB
*/
class FilesSharingCapabilitiesTest extends \Test\TestCase {
use OCA\Files_sharing\Lib\DeleteOrphanedSharesJob;
+/**
+ * Class DeleteOrphanedSharesJobTest
+ *
+ * @group DB
+ *
+ * @package Test\BackgroundJob
+ */
class DeleteOrphanedSharesJobTest extends \Test\TestCase {
/**
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
use OCA\Files_Sharing\ExpireSharesJob;
+/**
+ * Class ExpireSharesJobTest
+ *
+ * @group DB
+ *
+ * @package OCA\Files_Sharing\Tests
+ */
class ExpireSharesJobTest extends \Test\TestCase {
/**
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 {
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;
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 {
/**
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
use OCA\Files_Sharing\Tests\TestCase;
use OCA\Files_Sharing\Migration;
+/**
+ * Class MigrationTest
+ *
+ * @group DB
+ */
class MigrationTest extends TestCase {
/**
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 {
/**
/**
* Class Test_Files_Sharing_Api
+ *
+ * @group DB
*/
class Test_Files_Sharing_S2S_OCS_API extends TestCase {
/**
* Class Test_Files_Sharing
+ *
+ * @group DB
*/
class Test_Files_Sharing extends OCA\Files_sharing\Tests\TestCase {
/**
* Class Test_Files_Sharing_Api
+ *
+ * @group DB
*/
class Test_Files_Sharing_Mount extends OCA\Files_sharing\Tests\TestCase {
/**
* Class Test_Files_Sharing_Api
+ *
+ * @group DB
*/
class Test_Files_Sharing_Storage extends OCA\Files_sharing\Tests\TestCase {
use OC\Files\View;
+/**
+ * Class SizePropagation
+ *
+ * @group DB
+ *
+ * @package OCA\Files_sharing\Tests
+ */
class SizePropagation extends TestCase {
public function testSizePropagationWhenOwnerChangesFile() {
/**
* Class Test_Files_Sharing_Base
*
+ * @group DB
+ *
* Base class for sharing tests.
*/
abstract class TestCase extends \Test\TestCase {
use OCA\Files\Share;
+/**
+ * Class UnshareChildren
+ *
+ * @group DB
+ *
+ * @package OCA\Files_sharing\Tests
+ */
class UnshareChildren extends TestCase {
protected $subsubfolder;
/**
* Class Test_Files_Sharing_Updater
+ *
+ * @group DB
*/
class Test_Files_Sharing_Updater extends OCA\Files_Sharing\Tests\TestCase {
*
*/
+/**
+ * Class Test_Files_Sharing_Watcher
+ *
+ * @group DB
+ */
class Test_Files_Sharing_Watcher extends OCA\Files_sharing\Tests\TestCase {
/**
namespace Test;
+/**
+ * Class TestAllConfig
+ *
+ * @group DB
+ *
+ * @package Test
+ */
class TestAllConfig extends \Test\TestCase {
/** @var \OCP\IDBConnection */
<?php
-
/**
* Copyright (c) 2012 Bernhard Posselt <dev@bernhard-posselt.com>
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com>
* later.
* See the COPYING-README file.
*/
+
+/**
+ * Class Test_App
+ *
+ * @group DB
+ */
class Test_App extends \Test\TestCase {
const TEST_USER1 = 'user1';
use Test\TestCase;
+/**
+ * Class AppConfig
+ *
+ * @group DB
+ *
+ * @package Test\Lib
+ */
class AppConfig extends TestCase {
/** @var \OCP\IAppConfig */
protected $appConfig;
protected function tearDown() {
rrmdir($this->appPath);
+ parent::tearDown();
}
use OC\Avatar;
+/**
+ * Class Test_Avatar
+ *
+ * @group DB
+ */
class Test_Avatar extends \Test\TestCase {
private static $trashBinStatus;
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
*/
namespace Test\Cache;
+/**
+ * Class FileCache
+ *
+ * @group DB
+ *
+ * @package Test\Cache
+ */
class FileCache extends \Test_Cache {
/**
* @var string
* See the COPYING-README file.
*/
+/**
+ * Class Test_DB
+ *
+ * @group DB
+ */
class Test_DB extends \Test\TestCase {
protected $backupGlobals = FALSE;
use Doctrine\DBAL\Platforms\SqlitePlatform;
use OC\DB\MDB2SchemaManager;
+/**
+ * Class Connection
+ *
+ * @group DB
+ *
+ * @package Test\DB
+ */
class Connection extends \Test\TestCase {
/**
* @var \OCP\IDBConnection
use Doctrine\DBAL\Platforms\OraclePlatform;
+/**
+ * Class MDB2SchemaManager
+ *
+ * @group DB
+ *
+ * @package Test\DB
+ */
class MDB2SchemaManager extends \Test\TestCase {
protected function tearDown() {
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
* See the COPYING-README file.
*/
+/**
+ * Class TestMySqlMigration
+ *
+ * @group DB
+ */
class TestMySqlMigration extends \Test\TestCase {
/** @var \Doctrine\DBAL\Connection */
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;
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;
* See the COPYING-README file.
*/
+/**
+ * Class TestSqliteMigration
+ *
+ * @group DB
+ */
class TestSqliteMigration extends \Test\TestCase {
/** @var \Doctrine\DBAL\Connection */
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';
}
}
+/**
+ * Class Cache
+ *
+ * @group DB
+ *
+ * @package Test\Files\Cache
+ */
class Cache extends \Test\TestCase {
/**
* @var \OC\Files\Storage\Temporary $storage ;
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
}
}
+/**
+ * Class HomeCache
+ *
+ * @group DB
+ *
+ * @package Test\Files\Cache
+ */
class HomeCache extends \Test\TestCase {
/**
* @var \OC\Files\Storage\Home $storage
namespace Test\Files\Cache;
+/**
+ * Class Scanner
+ *
+ * @group DB
+ *
+ * @package Test\Files\Cache
+ */
class Scanner extends \Test\TestCase {
/**
* @var \OC\Files\Storage\Storage $storage
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
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
namespace Test\Files\Cache;
+/**
+ * Class Watcher
+ *
+ * @group DB
+ *
+ * @package Test\Files\Cache
+ */
class Watcher extends \Test\TestCase {
/**
use OC\Files\Filesystem;
use OCP\Share;
+/**
+ * Class EtagTest
+ *
+ * @group DB
+ *
+ * @package Test\Files
+ */
class EtagTest extends \Test\TestCase {
private $datadir;
}
}
+/**
+ * Class Filesystem
+ *
+ * @group DB
+ *
+ * @package Test\Files
+ */
class Filesystem extends \Test\TestCase {
const TEST_FILESYSTEM_USER1 = "test-filesystem-user1";
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
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 {
/**
}
}
+/**
+ * Class Scanner
+ *
+ * @group DB
+ *
+ * @package Test\Files\Utils
+ */
class Scanner extends \Test\TestCase {
/**
* @var \Test\Util\User\Dummy
}
}
+/**
+ * Class View
+ *
+ * @group DB
+ *
+ * @package Test\Files
+ */
class View extends \Test\TestCase {
/**
* @var \OC\Files\Storage\Storage[] $storages
*
*/
+/**
+ * Class Test_Group_Backend
+ *
+ * @group DB
+ */
abstract class Test_Group_Backend extends \Test\TestCase {
/**
* @var OC_Group_Backend $backend
*
*/
+/**
+ * Class Test_Group_Database
+ *
+ * @group DB
+ */
class Test_Group_Database extends Test_Group_Backend {
private $groups=array();
*
*/
+/**
+ * Class Test_Group_Dummy
+ *
+ * @group DB
+ */
class Test_Group_Dummy extends Test_Group_Backend {
protected function setUp() {
parent::setUp();
use OCP\Lock\ILockingProvider;
+/**
+ * Class DBLockingProvider
+ *
+ * @group DB
+ *
+ * @package Test\Lock
+ */
class DBLockingProvider extends LockingProvider {
/**
* @var \OC\Lock\DBLockingProvider
/**
* Tests for the cleaning the tags tables
*
+ * @group DB
+ *
* @see \OC\Repair\CleanTags
*/
class CleanTags extends \Test\TestCase {
/**
* Tests for the dropping old tables
*
+ * @group DB
+ *
* @see \OC\Repair\DropOldTables
*/
class DropOldJobs extends \Test\TestCase {
/**
* Tests for the dropping old tables
*
+ * @group DB
+ *
* @see \OC\Repair\DropOldTables
*/
class DropOldTables extends \Test\TestCase {
use OC\Repair\OldGroupMembershipShares;
use OC\Share\Constants;
+/**
+ * Class OldGroupMembershipSharesTest
+ *
+ * @group DB
+ *
+ * @package Test\Repair
+ */
class OldGroupMembershipSharesTest extends \Test\TestCase {
/** @var OldGroupMembershipShares */
use OC\Repair\RemoveGetETagEntries;
use Test\TestCase;
+/**
+ * Class RemoveGetETagEntriesTest
+ *
+ * @group DB
+ *
+ * @package Test\Repair
+ */
class RemoveGetETagEntriesTest extends TestCase {
/** @var \OCP\IDBConnection */
protected $connection;
/**
* Tests for the converting of MySQL tables to InnoDB engine
*
+ * @group DB
+ *
* @see \OC\Repair\RepairMimeTypes
*/
class TestRepairCollation extends \Test\TestCase {
/**
* Tests for the converting of MySQL tables to InnoDB engine
*
+ * @group DB
+ *
* @see \OC\Repair\RepairMimeTypes
*/
class RepairInnoDB extends \Test\TestCase {
/**
* Tests for repairing invalid shares
*
+ * @group DB
+ *
* @see \OC\Repair\RepairInvalidShares
*/
class RepairInvalidSharesTest extends TestCase {
/**
* Tests for the converting of legacy storages to home storages.
*
+ * @group DB
+ *
* @see \OC\Repair\RepairLegacyStorages
*/
class RepairLegacyStorages extends TestCase {
/**
* Tests for the converting of legacy storages to home storages.
*
+ * @group DB
+ *
* @see \OC\Repair\RepairMimeTypes
*/
class RepairMimeTypes extends \Test\TestCase {
/**
* Tests for fixing the SQLite id recycling
+ *
+ * @group DB
*/
class RepairSqliteAutoincrement extends \Test\TestCase {
use \OC\Security\CertificateManager;
+/**
+ * Class CertificateManagerTest
+ *
+ * @group DB
+ */
class CertificateManagerTest extends \Test\TestCase {
/** @var CertificateManager */
use Test\TestCase;
+/**
+ * Class HookTests
+ *
+ * @group DB
+ *
+ * @package OC\Tests\Share
+ */
class HookTests extends TestCase {
protected function setUp() {
* 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;
*
*/
+/**
+ * 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 */
*
*/
+/**
+ * Class Test_User_Database
+ *
+ * @group DB
+ */
class Test_User_Database extends Test_User_Backend {
/** @var array */
private $users;