From c74f774ea94f30ab2de5c402ece05cf14c9deac3 Mon Sep 17 00:00:00 2001 From: Maksim Kotlyar Date: Tue, 27 Jun 2017 18:49:04 +0300 Subject: [PATCH] [gearman] Run all tests as func, because it's hard to install php gearman ext on travis. --- Tests/GearmanConnectionFactoryConfigTest.php | 2 ++ Tests/GearmanContextTest.php | 3 +++ Tests/GearmanDestinationTest.php | 3 +++ Tests/GearmanMessageTest.php | 3 +++ Tests/GearmanProducerTest.php | 3 +++ Tests/Spec/GearmanConnectionFactoryTest.php | 3 +++ Tests/Spec/GearmanMessageTest.php | 3 +++ Tests/Spec/GearmanQueueTest.php | 3 +++ Tests/Spec/GearmanTopicTest.php | 3 +++ 9 files changed, 26 insertions(+) diff --git a/Tests/GearmanConnectionFactoryConfigTest.php b/Tests/GearmanConnectionFactoryConfigTest.php index 0fc7f72..672b63a 100644 --- a/Tests/GearmanConnectionFactoryConfigTest.php +++ b/Tests/GearmanConnectionFactoryConfigTest.php @@ -8,6 +8,8 @@ /** * The class contains the factory tests dedicated to configuration. + * + * @group functional */ class GearmanConnectionFactoryConfigTest extends TestCase { diff --git a/Tests/GearmanContextTest.php b/Tests/GearmanContextTest.php index ae77879..d7f41a7 100644 --- a/Tests/GearmanContextTest.php +++ b/Tests/GearmanContextTest.php @@ -9,6 +9,9 @@ use Enqueue\Test\ClassExtensionTrait; use PHPUnit\Framework\TestCase; +/** + * @group functional + */ class GearmanContextTest extends TestCase { use ClassExtensionTrait; diff --git a/Tests/GearmanDestinationTest.php b/Tests/GearmanDestinationTest.php index 00a75e7..c31951e 100644 --- a/Tests/GearmanDestinationTest.php +++ b/Tests/GearmanDestinationTest.php @@ -8,6 +8,9 @@ use Enqueue\Test\ClassExtensionTrait; use PHPUnit\Framework\TestCase; +/** + * @group functional + */ class GearmanDestinationTest extends TestCase { use ClassExtensionTrait; diff --git a/Tests/GearmanMessageTest.php b/Tests/GearmanMessageTest.php index d1a6b8f..ac669d5 100644 --- a/Tests/GearmanMessageTest.php +++ b/Tests/GearmanMessageTest.php @@ -6,6 +6,9 @@ use Enqueue\Test\ClassExtensionTrait; use PHPUnit\Framework\TestCase; +/** + * @group functional + */ class GearmanMessageTest extends TestCase { use ClassExtensionTrait; diff --git a/Tests/GearmanProducerTest.php b/Tests/GearmanProducerTest.php index 4b6cf95..6e0c59f 100644 --- a/Tests/GearmanProducerTest.php +++ b/Tests/GearmanProducerTest.php @@ -12,6 +12,9 @@ use Enqueue\Test\ClassExtensionTrait; use PHPUnit\Framework\TestCase; +/** + * @group functional + */ class GearmanProducerTest extends TestCase { use ClassExtensionTrait; diff --git a/Tests/Spec/GearmanConnectionFactoryTest.php b/Tests/Spec/GearmanConnectionFactoryTest.php index fdfc1b9..b3a3d16 100644 --- a/Tests/Spec/GearmanConnectionFactoryTest.php +++ b/Tests/Spec/GearmanConnectionFactoryTest.php @@ -5,6 +5,9 @@ use Enqueue\Gearman\GearmanConnectionFactory; use Enqueue\Psr\Spec\PsrConnectionFactorySpec; +/** + * @group functional + */ class GearmanConnectionFactoryTest extends PsrConnectionFactorySpec { /** diff --git a/Tests/Spec/GearmanMessageTest.php b/Tests/Spec/GearmanMessageTest.php index 7149faa..155e395 100644 --- a/Tests/Spec/GearmanMessageTest.php +++ b/Tests/Spec/GearmanMessageTest.php @@ -5,6 +5,9 @@ use Enqueue\Gearman\GearmanMessage; use Enqueue\Psr\Spec\PsrMessageSpec; +/** + * @group functional + */ class GearmanMessageTest extends PsrMessageSpec { /** diff --git a/Tests/Spec/GearmanQueueTest.php b/Tests/Spec/GearmanQueueTest.php index 48517d0..aa1dbf0 100644 --- a/Tests/Spec/GearmanQueueTest.php +++ b/Tests/Spec/GearmanQueueTest.php @@ -5,6 +5,9 @@ use Enqueue\Gearman\GearmanDestination; use Enqueue\Psr\Spec\PsrQueueSpec; +/** + * @group functional + */ class GearmanQueueTest extends PsrQueueSpec { /** diff --git a/Tests/Spec/GearmanTopicTest.php b/Tests/Spec/GearmanTopicTest.php index 21c7c68..523483d 100644 --- a/Tests/Spec/GearmanTopicTest.php +++ b/Tests/Spec/GearmanTopicTest.php @@ -5,6 +5,9 @@ use Enqueue\Gearman\GearmanDestination; use Enqueue\Psr\Spec\PsrTopicSpec; +/** + * @group functional + */ class GearmanTopicTest extends PsrTopicSpec { /**