Skip to content

Commit

Permalink
Add coverage annotation to improve the meaningfulness of the coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Sep 6, 2018
1 parent ab07e3f commit db62509
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/TestCase/Collection/CollectionTest.php
Expand Up @@ -82,7 +82,9 @@ public function count()
}

/**
* CollectionTest
* Collection Test
*
* @coversDefaultClass \Cake\Collection\Collection
*/
class CollectionTest extends TestCase
{
Expand Down Expand Up @@ -2173,6 +2175,7 @@ public function testLastWithTraversableNonIterator()
*
* @dataProvider simpleProvider
* @return void
* @covers ::takeLast
*/
public function testLastN($data)
{
Expand All @@ -2187,6 +2190,7 @@ public function testLastN($data)
*
* @dataProvider simpleProvider
* @return void
* @covers ::takeLast
*/
public function testLasNtWithOverflow($data)
{
Expand All @@ -2201,6 +2205,7 @@ public function testLasNtWithOverflow($data)
*
* @dataProvider simpleProvider
* @return void
* @covers ::takeLast
*/
public function testLasNtWithOddData($data)
{
Expand All @@ -2214,6 +2219,7 @@ public function testLasNtWithOddData($data)
* Tests the takeLast() with countable collection
*
* @return void
* @covers ::takeLast
*/
public function testLasNtWithCountable()
{
Expand All @@ -2231,6 +2237,7 @@ public function testLasNtWithCountable()
*
* @dataProvider simpleProvider
* @return void
* @covers ::takeLast
*/
public function testLasNtWithNegative($data)
{
Expand Down

0 comments on commit db62509

Please sign in to comment.