Skip to content

Commit

Permalink
Merge pull request #70 from UFOMelkor/feature/coverage
Browse files Browse the repository at this point in the history
Add missing covers annotations
  • Loading branch information
codeliner authored Mar 23, 2018
2 parents 2f7092c + 72e69c0 commit efb6822
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions test/BundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;

/** @covers \Prooph\Bundle\ServiceBus\ProophServiceBusBundle */
class BundleTest extends TestCase
{
/**
Expand Down
7 changes: 7 additions & 0 deletions test/DependencyInjection/XmlServiceBusExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
use Symfony\Component\DependencyInjection\ContainerBuilder as SymfonyContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;

/**
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Configuration
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\ProophServiceBusExtension
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\PluginsPass
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\RoutePass
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\StopwatchPass
*/
class XmlServiceBusExtensionTest extends AbstractServiceBusExtensionTestCase
{
protected function buildContainer(): ContainerBuilder
Expand Down
7 changes: 7 additions & 0 deletions test/DependencyInjection/YamlServiceBusExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
use Symfony\Component\DependencyInjection\ContainerBuilder as SymfonyContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;

/**
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Configuration
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\ProophServiceBusExtension
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\PluginsPass
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\RoutePass
* @covers \Prooph\Bundle\ServiceBus\DependencyInjection\Compiler\StopwatchPass
*/
class YamlServiceBusExtensionTest extends AbstractServiceBusExtensionTestCase
{
protected function buildContainer(): ContainerBuilder
Expand Down
4 changes: 1 addition & 3 deletions test/Plugin/DataCollectorPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
use Prooph\ServiceBus\QueryBus;
use ProophTest\Bundle\ServiceBus\DependencyInjection\Fixture\Model\AcmeRegisterUserCommand;

/**
* @covers \Prooph\Bundle\ServiceBus\Plugin\DataCollectorPlugin
*/
/** @covers \Prooph\Bundle\ServiceBus\Plugin\DataCollectorPlugin */
class DataCollectorPluginTest extends TestCase
{
/** @test */
Expand Down
4 changes: 1 addition & 3 deletions test/Plugin/DataCollectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

/**
* @covers \Prooph\Bundle\ServiceBus\Plugin\DataCollector
*/
/** @covers \Prooph\Bundle\ServiceBus\Plugin\DataCollector */
class DataCollectorTest extends TestCase
{
/** @test */
Expand Down
1 change: 1 addition & 0 deletions test/Plugin/StopwatchPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Prooph\ServiceBus\MessageBus;
use Symfony\Component\Stopwatch\Stopwatch;

/** @covers \Prooph\Bundle\ServiceBus\Plugin\StopwatchPlugin */
class StopwatchPluginTest extends TestCase
{
/** @test */
Expand Down

0 comments on commit efb6822

Please sign in to comment.