From 64ee38f4c74a25972695f878b15cc7bd698ffe26 Mon Sep 17 00:00:00 2001 From: Gaurav Malhotra Date: Tue, 3 Nov 2015 23:11:08 +0000 Subject: [PATCH] Added covers to the unit tests --- test/Adapter/ArrayTest.php | 1 + test/Adapter/CallbackTest.php | 1 + test/Adapter/DbSelectTest.php | 1 + test/Adapter/DbTableGatewayTest.php | 1 + test/Adapter/IteratorTest.php | 1 + test/Adapter/NullFillTest.php | 1 + test/AdapterPluginManagerTest.php | 1 + test/FactoryTest.php | 1 + test/PaginatorTest.php | 1 + test/ScrollingStyle/AllTest.php | 1 + test/ScrollingStyle/ElasticTest.php | 1 + test/ScrollingStyle/JumpingTest.php | 1 + test/ScrollingStyle/SlidingTest.php | 1 + 13 files changed, 13 insertions(+) diff --git a/test/Adapter/ArrayTest.php b/test/Adapter/ArrayTest.php index 7f794d5..3c36dc5 100644 --- a/test/Adapter/ArrayTest.php +++ b/test/Adapter/ArrayTest.php @@ -13,6 +13,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\Adapter\ArrayAdapter */ class ArrayTest extends \PHPUnit_Framework_TestCase { diff --git a/test/Adapter/CallbackTest.php b/test/Adapter/CallbackTest.php index 650d90b..1b84c40 100644 --- a/test/Adapter/CallbackTest.php +++ b/test/Adapter/CallbackTest.php @@ -14,6 +14,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\Adapter\Callback */ class CallbackTest extends \PHPUnit_Framework_TestCase { diff --git a/test/Adapter/DbSelectTest.php b/test/Adapter/DbSelectTest.php index d9a3eb3..f7e9135 100644 --- a/test/Adapter/DbSelectTest.php +++ b/test/Adapter/DbSelectTest.php @@ -13,6 +13,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\Adapter\DbSelect */ class DbSelectTest extends \PHPUnit_Framework_TestCase { diff --git a/test/Adapter/DbTableGatewayTest.php b/test/Adapter/DbTableGatewayTest.php index a52e352..1998197 100644 --- a/test/Adapter/DbTableGatewayTest.php +++ b/test/Adapter/DbTableGatewayTest.php @@ -15,6 +15,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\Adapter\DbTableGateway */ class DbTableGatewayTest extends \PHPUnit_Framework_TestCase { diff --git a/test/Adapter/IteratorTest.php b/test/Adapter/IteratorTest.php index 5a5b3c3..599cf52 100644 --- a/test/Adapter/IteratorTest.php +++ b/test/Adapter/IteratorTest.php @@ -14,6 +14,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\Adapter\Iterator */ class IteratorTest extends \PHPUnit_Framework_TestCase { diff --git a/test/Adapter/NullFillTest.php b/test/Adapter/NullFillTest.php index 9a42156..2928e4c 100644 --- a/test/Adapter/NullFillTest.php +++ b/test/Adapter/NullFillTest.php @@ -14,6 +14,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\Adapter\NullFill */ class NullFillTest extends \PHPUnit_Framework_TestCase { diff --git a/test/AdapterPluginManagerTest.php b/test/AdapterPluginManagerTest.php index 739a867..ff402f7 100644 --- a/test/AdapterPluginManagerTest.php +++ b/test/AdapterPluginManagerTest.php @@ -17,6 +17,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\AdapterPluginManager */ class AdapterPluginManagerTest extends \PHPUnit_Framework_TestCase { diff --git a/test/FactoryTest.php b/test/FactoryTest.php index 1260618..0f79dbe 100644 --- a/test/FactoryTest.php +++ b/test/FactoryTest.php @@ -15,6 +15,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\Factory */ class FactoryTest extends \PHPUnit_Framework_TestCase { diff --git a/test/PaginatorTest.php b/test/PaginatorTest.php index be3dc28..ff5a5d4 100644 --- a/test/PaginatorTest.php +++ b/test/PaginatorTest.php @@ -30,6 +30,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\Paginator */ class PaginatorTest extends \PHPUnit_Framework_TestCase { diff --git a/test/ScrollingStyle/AllTest.php b/test/ScrollingStyle/AllTest.php index 43875c9..531bd93 100644 --- a/test/ScrollingStyle/AllTest.php +++ b/test/ScrollingStyle/AllTest.php @@ -14,6 +14,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\ScrollingStyle\All */ class AllTest extends \PHPUnit_Framework_TestCase { diff --git a/test/ScrollingStyle/ElasticTest.php b/test/ScrollingStyle/ElasticTest.php index 114a169..30c3e0f 100644 --- a/test/ScrollingStyle/ElasticTest.php +++ b/test/ScrollingStyle/ElasticTest.php @@ -14,6 +14,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\ScrollingStyle\Elastic */ class ElasticTest extends \PHPUnit_Framework_TestCase { diff --git a/test/ScrollingStyle/JumpingTest.php b/test/ScrollingStyle/JumpingTest.php index e06e38a..d7041b0 100644 --- a/test/ScrollingStyle/JumpingTest.php +++ b/test/ScrollingStyle/JumpingTest.php @@ -14,6 +14,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\ScrollingStyle\Jumping */ class JumpingTest extends \PHPUnit_Framework_TestCase { diff --git a/test/ScrollingStyle/SlidingTest.php b/test/ScrollingStyle/SlidingTest.php index 75092f9..85e663a 100644 --- a/test/ScrollingStyle/SlidingTest.php +++ b/test/ScrollingStyle/SlidingTest.php @@ -14,6 +14,7 @@ /** * @group Zend_Paginator + * @covers Zend\Paginator\ScrollingStyle\Sliding */ class SlidingTest extends \PHPUnit_Framework_TestCase {