fix @covers and comments

This commit is contained in:
Dennis Eichhorn 2019-12-03 22:27:47 +01:00
parent 48f21805cb
commit 5f632dfca0
9 changed files with 25 additions and 25 deletions

View File

@ -25,7 +25,7 @@ class ApplicationAbstractTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox Application values can be set and returned
* @covers phpOMS\ApplicationAbstract
* @covers phpOMS\ApplicationAbstract<extended>
* @group framework
*/
public function testInputOutput() : void
@ -38,7 +38,7 @@ class ApplicationAbstractTest extends \PHPUnit\Framework\TestCase
/**
* @testdox Application values cannot be overwritten
* @covers phpOMS\ApplicationAbstract
* @covers phpOMS\ApplicationAbstract<extended>
* @group framework
*/
public function testInvalidInputOutput() : void

View File

@ -26,7 +26,7 @@ class NullCacheTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox The default cache has the expected default values after initialization
* @covers phpOMS\DataStorage\Cache\Connection\RedisCache
* @covers phpOMS\DataStorage\Cache\Connection\NullCache
* @group framework
*/
public function testCache() : void

View File

@ -17,7 +17,7 @@ namespace phpOMS\tests\Math\Functions;
use phpOMS\Math\Functions\Fibunacci;
/**
* @testdox phpOMS\tests\Math\Function\FibunacciTest: Fibunacci functions
* @testdox phpOMS\tests\Math\Functions\FibunacciTest: Fibunacci functions
*
* @internal
*/
@ -25,7 +25,7 @@ class FibunacciTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox A number can be checked if it is a fibunacci number
* @covers phpOMS\Math\Function\Fibunacci
* @covers phpOMS\Math\Functions\Fibunacci
* @group framework
*/
public function testFibunacci() : void
@ -39,7 +39,7 @@ class FibunacciTest extends \PHPUnit\Framework\TestCase
/**
* @testdox A fibunacci number can be returned by index
* @covers phpOMS\Math\Function\Fibunacci
* @covers phpOMS\Math\Functions\Fibunacci
* @group framework
*/
public function testFibunacciByKey() : void
@ -49,7 +49,7 @@ class FibunacciTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The binet formula returns fibunacci numbers
* @covers phpOMS\Math\Function\Fibunacci
* @covers phpOMS\Math\Functions\Fibunacci
* @group framework
*/
public function testBinet() : void
@ -60,7 +60,7 @@ class FibunacciTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The binet formula and the fibunacci formula return the same results
* @covers phpOMS\Math\Function\Fibunacci
* @covers phpOMS\Math\Functions\Fibunacci
* @group framework
*/
public function testBinetFib() : void

View File

@ -17,7 +17,7 @@ namespace phpOMS\tests\Math\Functions;
use phpOMS\Math\Functions\Functions;
/**
* @testdox phpOMS\tests\Math\Function\FunctionsTest: Various math functions
* @testdox phpOMS\tests\Math\Functions\FunctionsTest: Various math functions
*
* @internal
*/
@ -25,7 +25,7 @@ class FunctionsTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox The factorial of a number can be calculated
* @covers phpOMS\Math\Function\Functions
* @covers phpOMS\Math\Functions\Functions
* @group framework
*/
public function testFactorial() : void
@ -36,7 +36,7 @@ class FunctionsTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The binomial coefficient can be calculated
* @covers phpOMS\Math\Function\Functions
* @covers phpOMS\Math\Functions\Functions
* @group framework
*/
public function testBinomialCoefficient() : void
@ -48,7 +48,7 @@ class FunctionsTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The ackerman function can be calculated
* @covers phpOMS\Math\Function\Functions
* @covers phpOMS\Math\Functions\Functions
* @group framework
*/
public function testAckermann() : void
@ -61,7 +61,7 @@ class FunctionsTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The multiplicative inverse module can be calculated
* @covers phpOMS\Math\Function\Functions
* @covers phpOMS\Math\Functions\Functions
* @group framework
*/
public function testMultiplicativeInverseModulo() : void
@ -73,7 +73,7 @@ class FunctionsTest extends \PHPUnit\Framework\TestCase
/**
* @testdox A number can be checked if it is odd
* @covers phpOMS\Math\Function\Functions
* @covers phpOMS\Math\Functions\Functions
* @group framework
*/
public function testOdd() : void
@ -86,7 +86,7 @@ class FunctionsTest extends \PHPUnit\Framework\TestCase
/**
* @testdox A number can be checked if it is even
* @covers phpOMS\Math\Function\Functions
* @covers phpOMS\Math\Functions\Functions
* @group framework
*/
public function testEven() : void
@ -99,7 +99,7 @@ class FunctionsTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The relative number can be calculated on a circular number system (e.g. month in a diverging business year)
* @covers phpOMS\Math\Function\Functions
* @covers phpOMS\Math\Functions\Functions
* @group framework
*/
public function testCircularPosition() : void

View File

@ -18,7 +18,7 @@ use phpOMS\Math\Functions\Functions;
use phpOMS\Math\Functions\Gamma;
/**
* @testdox phpOMS\tests\Math\Function\GammaTest: Gamma function
* @testdox phpOMS\tests\Math\Functions\GammaTest: Gamma function
*
* @internal
*/
@ -26,7 +26,7 @@ class GammaTest extends \PHPUnit\Framework\TestCase
{
/**
* @testdox The gamma function can be calculated for integers
* @covers phpOMS\Math\Function\Gamma
* @covers phpOMS\Math\Functions\Gamma
* @group framework
*/
public function testFactorial() : void
@ -36,7 +36,7 @@ class GammaTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The gamma function can be approximated with the spouge formula
* @covers phpOMS\Math\Function\Gamma
* @covers phpOMS\Math\Functions\Gamma
* @group framework
*/
public function testApproximationSpouge() : void
@ -56,7 +56,7 @@ class GammaTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The gamma function can be approximated with the stirling formula
* @covers phpOMS\Math\Function\Gamma
* @covers phpOMS\Math\Functions\Gamma
* @group framework
*/
public function testApproximationStirling() : void
@ -76,7 +76,7 @@ class GammaTest extends \PHPUnit\Framework\TestCase
/**
* @testdox The gamma function can be approximated with the lanzos formula
* @covers phpOMS\Math\Function\Gamma
* @covers phpOMS\Math\Functions\Gamma
* @group framework
*/
public function testApproximationLanzos() : void

View File

@ -12,7 +12,7 @@
*/
declare(strict_types=1);
namespace phpOMS\tests\Utils\IO\Gz;
namespace phpOMS\tests\Utils\IO\Zip;
use phpOMS\Utils\IO\Zip\Gz;

View File

@ -12,7 +12,7 @@
*/
declare(strict_types=1);
namespace phpOMS\tests\Utils\IO\TarGz;
namespace phpOMS\tests\Utils\IO\Zip;
use phpOMS\Utils\IO\Zip\TarGz;

View File

@ -12,7 +12,7 @@
*/
declare(strict_types=1);
namespace phpOMS\tests\Utils\IO\Tar;
namespace phpOMS\tests\Utils\IO\Zip;
use phpOMS\Utils\IO\Zip\Tar;

View File

@ -77,7 +77,7 @@ class TaskSchedulerTest extends \PHPUnit\Framework\TestCase
* @covers phpOMS\Utils\TaskSchedule\TaskScheduler<extended>
* @group framework
*/
public function testInvalidCronJobName() : void
public function testInvalidTaskScheduleName() : void
{
$task = new TaskScheduler();
self::assertEquals([], $task->getAllByName('testTaskSchedule', false));