summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 15:49:15 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 11:23:28 +0100
commit2d8e696c24fef754662ed20f17b5b52091491ac5 (patch)
treea92ed5e6c93c51407526cb7663788784fa96e00f /tests
parentb370fdb1e713f82ce02368ffa6aa4fd926edb8a8 (diff)
downloadnextcloud-server-2d8e696c24fef754662ed20f17b5b52091491ac5.tar.gz
nextcloud-server-2d8e696c24fef754662ed20f17b5b52091491ac5.zip
Add apcu and ffmpeg to have less skipped tests
Also exclude test groups which rely on a service Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Memcache/APCuTest.php4
-rw-r--r--tests/lib/Memcache/ArrayCacheTest.php3
-rw-r--r--tests/lib/Memcache/CasTraitTest.php3
-rw-r--r--tests/lib/Memcache/FactoryTest.php3
-rw-r--r--tests/lib/Memcache/MemcachedTest.php4
-rw-r--r--tests/lib/Memcache/RedisTest.php4
6 files changed, 21 insertions, 0 deletions
diff --git a/tests/lib/Memcache/APCuTest.php b/tests/lib/Memcache/APCuTest.php
index 50e3984ca34..3568b8a4622 100644
--- a/tests/lib/Memcache/APCuTest.php
+++ b/tests/lib/Memcache/APCuTest.php
@@ -9,6 +9,10 @@
namespace Test\Memcache;
+/**
+ * @group Memcache
+ * @group APCu
+ */
class APCuTest extends Cache {
protected function setUp(): void {
parent::setUp();
diff --git a/tests/lib/Memcache/ArrayCacheTest.php b/tests/lib/Memcache/ArrayCacheTest.php
index 4e3623d344d..47a39a82d5d 100644
--- a/tests/lib/Memcache/ArrayCacheTest.php
+++ b/tests/lib/Memcache/ArrayCacheTest.php
@@ -9,6 +9,9 @@
namespace Test\Memcache;
+/**
+ * @group Memcache
+ */
class ArrayCacheTest extends Cache {
protected function setUp(): void {
parent::setUp();
diff --git a/tests/lib/Memcache/CasTraitTest.php b/tests/lib/Memcache/CasTraitTest.php
index 61972153886..f077cf143b3 100644
--- a/tests/lib/Memcache/CasTraitTest.php
+++ b/tests/lib/Memcache/CasTraitTest.php
@@ -23,6 +23,9 @@ namespace Test\Memcache;
use Test\TestCase;
+/**
+ * @group Memcache
+ */
class CasTraitTest extends TestCase {
/**
* @return \OC\Memcache\CasTrait
diff --git a/tests/lib/Memcache/FactoryTest.php b/tests/lib/Memcache/FactoryTest.php
index f16f70eddc2..9cdd7058ffa 100644
--- a/tests/lib/Memcache/FactoryTest.php
+++ b/tests/lib/Memcache/FactoryTest.php
@@ -61,6 +61,9 @@ class Test_Factory_Unavailable_Cache2 extends NullCache {
}
}
+/**
+ * @group Memcache
+ */
class FactoryTest extends \Test\TestCase {
public const AVAILABLE1 = '\\Test\\Memcache\\Test_Factory_Available_Cache1';
public const AVAILABLE2 = '\\Test\\Memcache\\Test_Factory_Available_Cache2';
diff --git a/tests/lib/Memcache/MemcachedTest.php b/tests/lib/Memcache/MemcachedTest.php
index caebf50cd6b..24cf0ba7af3 100644
--- a/tests/lib/Memcache/MemcachedTest.php
+++ b/tests/lib/Memcache/MemcachedTest.php
@@ -9,6 +9,10 @@
namespace Test\Memcache;
+/**
+ * @group Memcache
+ * @group Memcached
+ */
class MemcachedTest extends Cache {
public static function setUpBeforeClass(): void {
parent::setUpBeforeClass();
diff --git a/tests/lib/Memcache/RedisTest.php b/tests/lib/Memcache/RedisTest.php
index e7bb9c29d36..276dbf3a550 100644
--- a/tests/lib/Memcache/RedisTest.php
+++ b/tests/lib/Memcache/RedisTest.php
@@ -9,6 +9,10 @@
namespace Test\Memcache;
+/**
+ * @group Memcache
+ * @group Redis
+ */
class RedisTest extends Cache {
public static function setUpBeforeClass(): void {
parent::setUpBeforeClass();