mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 13:38:41 +00:00
more tests and make classes final
This commit is contained in:
parent
9f8d074e84
commit
2cfcb24742
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AccountManagerTest extends \PHPUnit\Framework\TestCase
|
final class AccountManagerTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $manager = null;
|
protected $manager = null;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Account\AccountStatus;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AccountStatusTest extends \PHPUnit\Framework\TestCase
|
final class AccountStatusTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ require_once __DIR__ . '/../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AccountTest extends \PHPUnit\Framework\TestCase
|
final class AccountTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $l11nManager = null;
|
protected $l11nManager = null;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Account\AccountType;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AccountTypeTest extends \PHPUnit\Framework\TestCase
|
final class AccountTypeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Account\GroupStatus;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class GroupStatusTest extends \PHPUnit\Framework\TestCase
|
final class GroupStatusTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ require_once __DIR__ . '/../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class GroupTest extends \PHPUnit\Framework\TestCase
|
final class GroupTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The group has the expected member variables
|
* @testdox The group has the expected member variables
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use phpOMS\Account\PermissionType;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PermissionAbstractTest extends \PHPUnit\Framework\TestCase
|
final class PermissionAbstractTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The permission has the expected default values after initialization
|
* @testdox The permission has the expected default values after initialization
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Account\PermissionType;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PermissionTypeTest extends \PHPUnit\Framework\TestCase
|
final class PermissionTypeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Ai\Ocr\BasicOcr;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class BasicOcrTest extends \PHPUnit\Framework\TestCase
|
final class BasicOcrTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\Ai\Ocr\BasicOcr
|
* @covers phpOMS\Ai\Ocr\BasicOcr
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\Algorithm\Clustering\Point;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class KmeansTest extends \PHPUnit\Framework\TestCase
|
final class KmeansTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The clustering of points and dynamic check of new points works as expected
|
* @testdox The clustering of points and dynamic check of new points works as expected
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Algorithm\Clustering\Point;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PointTest extends \PHPUnit\Framework\TestCase
|
final class PointTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The point has the expected default values after initialization
|
* @testdox The point has the expected default values after initialization
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MinimumCoinProblemTest extends \PHPUnit\Framework\TestCase
|
final class MinimumCoinProblemTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox A value is matched with the minimum quantity of available coins.
|
* @testdox A value is matched with the minimum quantity of available coins.
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Algorithm\JobScheduling\Job;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class JobTest extends \PHPUnit\Framework\TestCase
|
final class JobTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The job has the expected values after initialization
|
* @testdox The job has the expected values after initialization
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\Algorithm\JobScheduling\Weighted;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class WeightedTest extends \PHPUnit\Framework\TestCase
|
final class WeightedTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The optimal job combination is selected to maximize the value/profit without overlapping jobs
|
* @testdox The optimal job combination is selected to maximize the value/profit without overlapping jobs
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\Algorithm\Knapsack\Item;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class BackpackTest extends \PHPUnit\Framework\TestCase
|
final class BackpackTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The backpack has the expected values after initialization
|
* @testdox The backpack has the expected values after initialization
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\Algorithm\Knapsack\Item;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class BoundedTest extends \PHPUnit\Framework\TestCase
|
final class BoundedTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The optimal item selection in a backpack is calculated in order to optimize the value/profit while considering the available capacity/cost limit
|
* @testdox The optimal item selection in a backpack is calculated in order to optimize the value/profit while considering the available capacity/cost limit
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\Algorithm\Knapsack\Item;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ContinuousTest extends \PHPUnit\Framework\TestCase
|
final class ContinuousTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The optimal item selection in a backpack is calculated in order to optimize the value/profit while considering the available capacity/cost limit [discrete quantities]
|
* @testdox The optimal item selection in a backpack is calculated in order to optimize the value/profit while considering the available capacity/cost limit [discrete quantities]
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Algorithm\Knapsack\Item;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ItemTest extends \PHPUnit\Framework\TestCase
|
final class ItemTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The item has the expected values after initialization
|
* @testdox The item has the expected values after initialization
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MazeGeneratorTest extends \PHPUnit\Framework\TestCase
|
final class MazeGeneratorTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox A random maze can be generated
|
* @testdox A random maze can be generated
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AStarNodeTest extends \PHPUnit\Framework\TestCase
|
final class AStarNodeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $node;
|
protected $node;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AStarTest extends \PHPUnit\Framework\TestCase
|
final class AStarTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
private array $gridArray = [
|
private array $gridArray = [
|
||||||
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,],
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,],
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class GridTest extends \PHPUnit\Framework\TestCase
|
final class GridTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox By default a grid is empty
|
* @testdox By default a grid is empty
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class HeuristicTest extends \PHPUnit\Framework\TestCase
|
final class HeuristicTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The heuristics return the correct metric results
|
* @testdox The heuristics return the correct metric results
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class JumpPointNodeTest extends \PHPUnit\Framework\TestCase
|
final class JumpPointNodeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $node;
|
protected $node;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class JumpPointSearchTest extends \PHPUnit\Framework\TestCase
|
final class JumpPointSearchTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
private array $gridArray = [
|
private array $gridArray = [
|
||||||
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,],
|
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,],
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NodeTest extends \PHPUnit\Framework\TestCase
|
final class NodeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The node has the expected values after initialization
|
* @testdox The node has the expected values after initialization
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PathTest extends \PHPUnit\Framework\TestCase
|
final class PathTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The path has the expected values after initialization
|
* @testdox The path has the expected values after initialization
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class BitonicSortTest extends \PHPUnit\Framework\TestCase
|
final class BitonicSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class BubbleSortTest extends \PHPUnit\Framework\TestCase
|
final class BubbleSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class BucketSortTest extends \PHPUnit\Framework\TestCase
|
final class BucketSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CocktailShakerSortTest extends \PHPUnit\Framework\TestCase
|
final class CocktailShakerSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CombSortTest extends \PHPUnit\Framework\TestCase
|
final class CombSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CycleSortTest extends \PHPUnit\Framework\TestCase
|
final class CycleSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class GnomeSortTest extends \PHPUnit\Framework\TestCase
|
final class GnomeSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class HeapSortTest extends \PHPUnit\Framework\TestCase
|
final class HeapSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class InsertionSortTest extends \PHPUnit\Framework\TestCase
|
final class InsertionSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class IntroSortTest extends \PHPUnit\Framework\TestCase
|
final class IntroSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MergeSortTest extends \PHPUnit\Framework\TestCase
|
final class MergeSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class OddEvenSortTest extends \PHPUnit\Framework\TestCase
|
final class OddEvenSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PancakeSortTest extends \PHPUnit\Framework\TestCase
|
final class PancakeSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class QuickSortTest extends \PHPUnit\Framework\TestCase
|
final class QuickSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class SelectionSortTest extends \PHPUnit\Framework\TestCase
|
final class SelectionSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ShellSortTest extends \PHPUnit\Framework\TestCase
|
final class ShellSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class StoogeSortTest extends \PHPUnit\Framework\TestCase
|
final class StoogeSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ require_once __DIR__ . '/../../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class TimSortTest extends \PHPUnit\Framework\TestCase
|
final class TimSortTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $list = [];
|
protected $list = [];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Application\ApplicationAbstract;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ApplicationAbstractTest extends \PHPUnit\Framework\TestCase
|
final class ApplicationAbstractTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox Application values can be set and returned
|
* @testdox Application values can be set and returned
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\Application\ApplicationInfo;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ApplicationInfoTest extends \PHPUnit\Framework\TestCase
|
final class ApplicationInfoTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox A info file can be correctly loaded
|
* @testdox A info file can be correctly loaded
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ use phpOMS\System\File\Local\Directory;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ApplicationManagerTest extends \PHPUnit\Framework\TestCase
|
final class ApplicationManagerTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected ApplicationManager $appManager;
|
protected ApplicationManager $appManager;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\Application\InstallerAbstract;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class InstallerAbstractTest extends \PHPUnit\Framework\TestCase
|
final class InstallerAbstractTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected InstallerAbstract $installer;
|
protected InstallerAbstract $installer;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\Application\StatusAbstract;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class StatusAbstractTest extends \PHPUnit\Framework\TestCase
|
final class StatusAbstractTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected StatusAbstract $status;
|
protected StatusAbstract $status;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use phpOMS\DataStorage\Database\DatabasePool;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class UninstallerAbstractTest extends \PHPUnit\Framework\TestCase
|
final class UninstallerAbstractTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected UninstallerAbstract $uninstaller;
|
protected UninstallerAbstract $uninstaller;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require_once __DIR__ . '/../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AssetManagerTest extends \PHPUnit\Framework\TestCase
|
final class AssetManagerTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $manager = null;
|
protected $manager = null;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Asset\AssetType;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AssetTypeTest extends \PHPUnit\Framework\TestCase
|
final class AssetTypeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require_once __DIR__ . '/../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AuthTest extends \PHPUnit\Framework\TestCase
|
final class AuthTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The default http session doesn't authenticate an account
|
* @testdox The default http session doesn't authenticate an account
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Auth\LoginReturnType;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class LoginReturnTypeTest extends \PHPUnit\Framework\TestCase
|
final class LoginReturnTypeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\AutoloadException;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AutoloadExceptionTest extends \PHPUnit\Framework\TestCase
|
final class AutoloadExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\AutoloadException
|
* @covers phpOMS\AutoloadException
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Autoloader;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AutoloaderTest extends \PHPUnit\Framework\TestCase
|
final class AutoloaderTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox Classes can be checked for existence
|
* @testdox Classes can be checked for existence
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Finance\Depreciation;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class DepreciationTest extends \PHPUnit\Framework\TestCase
|
final class DepreciationTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The straight line depreciation and reverse value calculations are correct
|
* @testdox The straight line depreciation and reverse value calculations are correct
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Finance\FinanceFormulas;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class FinanceFormulasTest extends \PHPUnit\Framework\TestCase
|
final class FinanceFormulasTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The annual percentage yield (APY) and reverse value calculations are correct
|
* @testdox The annual percentage yield (APY) and reverse value calculations are correct
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Finance\Loan;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class LoanTest extends \PHPUnit\Framework\TestCase
|
final class LoanTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The loan to deposit ratio is correct
|
* @testdox The loan to deposit ratio is correct
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Finance\Lorenzkurve;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class LorenzkurveTest extends \PHPUnit\Framework\TestCase
|
final class LorenzkurveTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The gini coefficient calculation is correct
|
* @testdox The gini coefficient calculation is correct
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Finance\StockBonds;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class StockBondsTest extends \PHPUnit\Framework\TestCase
|
final class StockBondsTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The calculation of various stock/bond related ratios/yields is correct
|
* @testdox The calculation of various stock/bond related ratios/yields is correct
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Marketing\ArticleCorrelationAffinity;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ArticleCorrelationAffinityTest extends \PHPUnit\Framework\TestCase
|
final class ArticleCorrelationAffinityTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The highest affinities between articles purchased are calculated correctly
|
* @testdox The highest affinities between articles purchased are calculated correctly
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Marketing\CustomerValue;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CustomerValueTest extends \PHPUnit\Framework\TestCase
|
final class CustomerValueTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The simple customer life time value is correctly calculated
|
* @testdox The simple customer life time value is correctly calculated
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Marketing\Metrics;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MetricsTest extends \PHPUnit\Framework\TestCase
|
final class MetricsTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox Test the correctness of the customer retention calculation
|
* @testdox Test the correctness of the customer retention calculation
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Marketing\NetPromoterScore;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NetPromoterScoreTest extends \PHPUnit\Framework\TestCase
|
final class NetPromoterScoreTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The net promoter has the expected default values after initialization
|
* @testdox The net promoter has the expected default values after initialization
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Marketing\PageRank;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PageRankTest extends \PHPUnit\Framework\TestCase
|
final class PageRankTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox Test the correctness of the page rank algorithm
|
* @testdox Test the correctness of the page rank algorithm
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Business\Programming\Metrics;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MetricsTest extends \PHPUnit\Framework\TestCase
|
final class MetricsTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox Test correctness of the ABC calculation
|
* @testdox Test correctness of the ABC calculation
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ use phpOMS\Business\Sales\MarketShareEstimation;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MarketShareEstimationTest extends \PHPUnit\Framework\TestCase
|
final class MarketShareEstimationTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The rank calculated with Zipf is correct
|
* @testdox The rank calculated with Zipf is correct
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ require_once __DIR__ . '/../Autoloader.php';
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class OptionsTraitTest extends \PHPUnit\Framework\TestCase
|
final class OptionsTraitTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The option helper has the expected attributes
|
* @testdox The option helper has the expected attributes
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\DataStorage\Cache\Connection\FileCache;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CachePoolTest extends \PHPUnit\Framework\TestCase
|
final class CachePoolTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The pool has the expected default values after initialization
|
* @testdox The pool has the expected default values after initialization
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Cache\CacheStatus;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CacheStatusTest extends \PHPUnit\Framework\TestCase
|
final class CacheStatusTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Cache\CacheType;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CacheTypeTest extends \PHPUnit\Framework\TestCase
|
final class CacheTypeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Cache\Connection\CacheValueType;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CacheValueTypeTest extends \PHPUnit\Framework\TestCase
|
final class CacheValueTypeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\DataStorage\Cache\Connection\ConnectionFactory;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ConnectionFactoryTest extends \PHPUnit\Framework\TestCase
|
final class ConnectionFactoryTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The file cache can be created
|
* @testdox The file cache can be created
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use phpOMS\Utils\TestUtils;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class FileCacheTest extends \PHPUnit\Framework\TestCase
|
final class FileCacheTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected FileCache $cache;
|
protected FileCache $cache;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use phpOMS\Utils\TestUtils;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MemCachedTest extends \PHPUnit\Framework\TestCase
|
final class MemCachedTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected MemCached $cache;
|
protected MemCached $cache;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use phpOMS\Utils\TestUtils;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class RedisCacheTest extends \PHPUnit\Framework\TestCase
|
final class RedisCacheTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected RedisCache $cache;
|
protected RedisCache $cache;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Cache\Exception\InvalidConnectionConfigException;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class InvalidConnectionConfigExceptionTest extends \PHPUnit\Framework\TestCase
|
final class InvalidConnectionConfigExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Cache\Exception\InvalidConnectionConfigException
|
* @covers phpOMS\DataStorage\Cache\Exception\InvalidConnectionConfigException
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\DataStorage\Cookie\CookieJar;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CookieJarTest extends \PHPUnit\Framework\TestCase
|
final class CookieJarTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected CookieJar $jar;
|
protected CookieJar $jar;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use phpOMS\DataStorage\Database\Connection\SqlServerConnection;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ConnectionFactoryTest extends \PHPUnit\Framework\TestCase
|
final class ConnectionFactoryTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The mysql connection can be successfully created
|
* @testdox The mysql connection can be successfully created
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MysqlConnectionTest extends \PHPUnit\Framework\TestCase
|
final class MysqlConnectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected function setUp() : void
|
protected function setUp() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class PostgresConnectionTest extends \PHPUnit\Framework\TestCase
|
final class PostgresConnectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected function setUp() : void
|
protected function setUp() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class SQLiteConnectionTest extends \PHPUnit\Framework\TestCase
|
final class SQLiteConnectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected function setUp() : void
|
protected function setUp() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class SqlServerConnectionTest extends \PHPUnit\Framework\TestCase
|
final class SqlServerConnectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected function setUp() : void
|
protected function setUp() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ use phpOMS\tests\DataStorage\Database\TestModel\NullBaseModel;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
|
final class DataMapperAbstractTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected BaseModel $model;
|
protected BaseModel $model;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\DataStorage\Database\DatabaseStatus;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class DatabasePoolTest extends \PHPUnit\Framework\TestCase
|
final class DatabasePoolTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected DatabasePool $dbPool;
|
protected DatabasePool $dbPool;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\DatabaseStatus;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class DatabaseStatusTest extends \PHPUnit\Framework\TestCase
|
final class DatabaseStatusTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class DatabaseTypeTest extends \PHPUnit\Framework\TestCase
|
final class DatabaseTypeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @group framework
|
* @group framework
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Exception\InvalidConnectionConfigException;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class InvalidConnectionConfigExceptionTest extends \PHPUnit\Framework\TestCase
|
final class InvalidConnectionConfigExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Database\Exception\InvalidConnectionConfigException
|
* @covers phpOMS\DataStorage\Database\Exception\InvalidConnectionConfigException
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Exception\InvalidDatabaseTypeException;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class InvalidDatabaseTypeExceptionTest extends \PHPUnit\Framework\TestCase
|
final class InvalidDatabaseTypeExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Database\Exception\InvalidDatabaseTypeException
|
* @covers phpOMS\DataStorage\Database\Exception\InvalidDatabaseTypeException
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Exception\InvalidMapperException;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class InvalidMapperExceptionTest extends \PHPUnit\Framework\TestCase
|
final class InvalidMapperExceptionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Database\Exception\InvalidMapperException
|
* @covers phpOMS\DataStorage\Database\Exception\InvalidMapperException
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\DataStorage\Database\Query\Parameter;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class BuilderTest extends \PHPUnit\Framework\TestCase
|
final class BuilderTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $con;
|
protected $con;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Column;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ColumnTest extends \PHPUnit\Framework\TestCase
|
final class ColumnTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Database\Query\Column
|
* @covers phpOMS\DataStorage\Database\Query\Column
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Count;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class CountTest extends \PHPUnit\Framework\TestCase
|
final class CountTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Database\Query\Count
|
* @covers phpOMS\DataStorage\Database\Query\Count
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Expression;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ExpressionTest extends \PHPUnit\Framework\TestCase
|
final class ExpressionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Database\Query\Expression
|
* @covers phpOMS\DataStorage\Database\Query\Expression
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\From;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class FromTest extends \PHPUnit\Framework\TestCase
|
final class FromTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Database\Query\From
|
* @covers phpOMS\DataStorage\Database\Query\From
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\DataStorage\Database\Query\Grammar\Grammar;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class GrammarTest extends \PHPUnit\Framework\TestCase
|
final class GrammarTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The grammar has the expected default values after initialization
|
* @testdox The grammar has the expected default values after initialization
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\Utils\TestUtils;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class MysqlGrammarTest extends \PHPUnit\Framework\TestCase
|
final class MysqlGrammarTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The grammar has the expected default values after initialization
|
* @testdox The grammar has the expected default values after initialization
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\DataStorage\Database\Query\Grammar\OracleGrammar;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class OracleGrammarTest extends \PHPUnit\Framework\TestCase
|
final class OracleGrammarTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @covers phpOMS\DataStorage\Database\Query\Grammar\OracleGrammar
|
* @covers phpOMS\DataStorage\Database\Query\Grammar\OracleGrammar
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user