mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
Add tests
This commit is contained in:
parent
9cd84c8752
commit
6b8860a6fb
|
|
@ -77,7 +77,8 @@ return [
|
|||
'phpOMS\tests\Account\AccountTest:testSetAndGetAccountEmail' => ['description' => 'An account can have a valid email address', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\AccountTest:testChangeStatus' => ['description' => 'The default status of the account can be changed to a different valid status', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\AccountTest:testChangeType' => ['description' => 'The default type of the account can be changed to a different valid type', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\AccountTest:testPermissionHandling' => ['description' => 'Account permissions can be added and checked for existence', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\AccountTest:testPermissionAdd' => ['description' => 'Account permissions can be added', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\AccountTest:testPermissionExists' => ['description' => 'Account permissions can be checked for existence', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\AccountTest:testLocalization' => ['description' => 'An account can have it\'s own localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\AccountTest:testLastChange' => ['description' => 'An account \'last activity\' timestamp can be updated and retrieved', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\AccountTest:testEmailException' => ['description' => 'An account can only have a valid email', 'type' => 'framework'],
|
||||
|
|
@ -88,7 +89,9 @@ return [
|
|||
'phpOMS\tests\Account\GroupTest:testAttributes' => ['description' => 'The group has the expected member variables', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\GroupTest:testDefault' => ['description' => 'The group has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\GroupTest:testSetAndGetGroupNameDescription' => ['description' => 'The group name and description can be set and retrieved correctly', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\GroupTest:testPermissionHandling' => ['description' => 'Group permissions can be added and checked for existence', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\GroupTest:testPermissionAdd' => ['description' => 'Group permissions can be added', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\GroupTest:testPermissionExists' => ['description' => 'Group permissions can be checked for existence', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\GroupTest:testPermissionRemove' => ['description' => 'Group permissions can be removed', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\GroupTest:testChangeStatus' => ['description' => 'The default status of the group can be changed to a different valid status', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\GroupTest:testStatusException' => ['description' => 'A group can only have valid group status', 'type' => 'framework'],
|
||||
|
||||
|
|
@ -102,6 +105,7 @@ return [
|
|||
'phpOMS\tests\Account\PermissionAbstractTest:testElementInputOutput' => ['description' => 'The element can be set and returned correctly', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\PermissionAbstractTest:testComponentInputOutput' => ['description' => 'The component can be set and returned correctly', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\PermissionAbstractTest:testPermissionInputOutput' => ['description' => 'The permission can be set and returned correctly', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\PermissionAbstractTest:testEqualPermissions' => ['description' => 'Two permissions can be checked for equality', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\PermissionAbstractTest:testValidPermission' => ['description' => 'Correct permissions are validated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\PermissionAbstractTest:testInvalidPermission' => ['description' => 'Invalid permissions are not validated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Account\PermissionAbstractTest:testValidPermissionFlag' => ['description' => 'Correct permission flags are validated', 'type' => 'framework'],
|
||||
|
|
@ -670,8 +674,12 @@ return [
|
|||
'phpOMS\tests\Localization\L11nManagerTest' => ['description' => 'Localization manager for view templates', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testDefault' => ['description' => 'The localization manager has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testLanguageInputOutput' => ['description' => 'Language data can be loaded and output as plain text or html', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testInvalidModule' => ['description' => 'Loading language for an invalid module throws Exception', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testLanguageFile' => ['description' => 'Language data can be loaded from a file', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testGetNumeric' => ['description' => 'The numeric value can be printed based on the localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testGetPercentage' => ['description' => 'The percentage value can be printed based on the localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testGetCurrency' => ['description' => 'The currency value can be printed based on the localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testGetDateTime' => ['description' => 'The datetime value can be printed based on the localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\L11nManagerTest:testInvalidModule' => ['description' => 'Loading language for an invalid module throws Exception', 'type' => 'framework'],
|
||||
|
||||
'phpOMS\tests\Localization\LocalizationTest' => ['description' => 'Localization for information such as language, currency, location, language specific formatting etc.', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testDefault' => ['description' => 'The localization has the expected default values after initialization', 'type' => 'framework'],
|
||||
|
|
@ -691,11 +699,13 @@ return [
|
|||
'phpOMS\tests\Localization\LocalizationTest:testTemperatureInputOutput' => ['description' => 'The temperature can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testInvalidTemperature' => ['description' => 'Setting a invalid temperature throws InvalidEnumValue', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testWeightInputOutput' => ['description' => 'The weight can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testPrecisionInputOutput' => ['description' => 'The precision can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testLengthInputOutput' => ['description' => 'The length can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testAreaInputOutput' => ['description' => 'The area can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testVolumeInputOutput' => ['description' => 'The volume can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testSpeedInputOutput' => ['description' => 'The speed can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testLocalizationLoading' => ['description' => 'Localization data can be loaded from a locale file', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testLocalizationSerialize' => ['description' => 'Localization data can be serialized and unserialized', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testInvalidCountryLocalizationLoading' => ['description' => 'If no locale file for a specified country exists or a wild card country is used the first match of a locale file based on the defined language is loaded', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testMissingLocalizationLoading' => ['description' => 'By default the english locale file will be loaded if no other locale file can be found', 'type' => 'framework'],
|
||||
'phpOMS\tests\Localization\LocalizationTest:testInvalidLocalizationLoading' => ['description' => 'Loading localization data from a file with invalid language throws InvalidEnumValue', 'type' => 'framework'],
|
||||
|
|
@ -1171,6 +1181,22 @@ return [
|
|||
'phpOMS\tests\Message\Http\RestTest:testDelete' => ['description' => 'A delete request with data successfully returns the expected result', 'type' => 'framework'],
|
||||
'phpOMS\tests\Message\Http\RestTest:testGet' => ['description' => 'A get request with data successfully returns the expected result', 'type' => 'framework'],
|
||||
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest' => ['description' => 'Form element generator'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateTextInput' => ['description' => 'A text input element can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateTextInputWithValue' => ['description' => 'A text input element can be generated with a custom value', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateDateTimeInput' => ['description' => 'A datetime input element can be generated with custom formatting', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateCheckboxInput' => ['description' => 'A checkbox element can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateCheckboxWithLanguageInput' => ['description' => 'A checkbox element can be generated with a localized label element', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateRadioInput' => ['description' => 'A radio element can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateRadioWithLanguageInput' => ['description' => 'A radio element can be generated with a localized label element', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateLabel' => ['description' => 'A label element can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateWithLanguageLabel' => ['description' => 'A localized label element can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateTextarea' => ['description' => 'A textarea element can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateWithValueTextarea' => ['description' => 'A textarea element can be generated with a custom value', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateSelect' => ['description' => 'A select element can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testGenerateWithLanguageSelect' => ['description' => 'A localized select element can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\FormElementGeneratorTest:testInvalidElementType' => ['description' => 'A missing or invalid element type generates a INVALID output', 'type' => 'framework'],
|
||||
|
||||
'phpOMS\tests\Model\Html\HeadTest' => ['description' => 'Html head'],
|
||||
'phpOMS\tests\Model\Html\HeadTest:testDefault' => ['description' => 'The head has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Model\Html\HeadTest:testTitleInputOutput' => ['description' => 'The title can be set and returned', 'type' => 'framework'],
|
||||
|
|
@ -1224,6 +1250,11 @@ return [
|
|||
'phpOMS\tests\Module\ModuleAbstractTest:testInvalidLocalization' => ['description' => 'A invalid language or theme returns in an empty localization/language dataset', 'type' => 'framework'],
|
||||
'phpOMS\tests\Module\ModuleAbstractTest:testFillJson' => ['description' => 'The module can automatically generate a json response based on provided data for the frontend', 'type' => 'framework'],
|
||||
'phpOMS\tests\Module\ModuleAbstractTest:testFillJsonRaw' => ['description' => 'The module can automatically generate a json response based on provided data', 'type' => 'framework'],
|
||||
'phpOMS\tests\Module\ModuleAbstractTest:testModelCreate' => ['description' => 'A model can be created', 'type' => 'framework'],
|
||||
'phpOMS\tests\Module\ModuleAbstractTest:testModelsCreate' => ['description' => 'Multiple models can be generated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Module\ModuleAbstractTest:testModelUpdate' => ['description' => 'A model can be updated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Module\ModuleAbstractTest:testModelDelete' => ['description' => 'A model can be deleted', 'type' => 'framework'],
|
||||
'phpOMS\tests\Module\ModuleAbstractTest:testModelRelation' => ['description' => 'A model relation can be created', 'type' => 'framework'],
|
||||
|
||||
'phpOMS\tests\Module\PackageManagerTest' => ['description' => 'Manager for install/update packages'],
|
||||
'phpOMS\tests\Module\PackageManagerTest:testPackageValidInstall' => ['description' => 'A package can be installed', 'type' => 'framework'],
|
||||
|
|
@ -1304,12 +1335,15 @@ return [
|
|||
'phpOMS\tests\Stdlib\Base\HeapTest' => ['description' => 'Heap'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testHeapify' => ['description' => 'A list of elements can be turned into a heap', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testSize' => ['description' => 'Elements get correctly pushed to the heap', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testInsort' => ['description' => 'A element can be added to a heap at the correct position', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testPushAndPop' => ['description' => 'Heap elements get returned in the correct order', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testPushAndPopCustomComparator' => ['description' => 'Heap elements get returned in the correct order by using a custom comparator', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testArray' => ['description' => 'The heap can be turned into an array', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testReplace' => ['description' => 'Heap elements can be replaced', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testPushPop' => ['description' => 'A heap element can be returned while adding a new one', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testContains' => ['description' => 'The heap can be checked if it contains certain elements', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testContainsItem' => ['description' => 'The heap can be checked if it contains certain custom elements', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testUpdate' => ['description' => 'A heap item can be updated if it exists while maintaining the correct order', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testPeek' => ['description' => 'The first heap element can be returned without removing it', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testNSmallest' => ['description' => 'The n smallest elements can be returned from the heap', 'type' => 'framework'],
|
||||
'phpOMS\tests\Stdlib\Base\HeapTest:testNLargest' => ['description' => 'The n largest elements can be returned from the heap', 'type' => 'framework'],
|
||||
|
|
@ -1703,6 +1737,7 @@ return [
|
|||
'phpOMS\tests\Uri\ArgumentTest:testDefault' => ['description' => 'The argument uri has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Uri\ArgumentTest:testValidator' => ['description' => 'A uri can be validated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Uri\ArgumentTest:testPathInputOutput' => ['description' => 'The path can be parsed correctly from a uri', 'type' => 'framework'],
|
||||
'phpOMS\tests\Uri\ArgumentTest:testPathOffsetInputOutput' => ['description' => ' The path offset can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Uri\ArgumentTest:testRouteInputOutput' => ['description' => 'The route can be parsed correctly from a uri', 'type' => 'framework'],
|
||||
'phpOMS\tests\Uri\ArgumentTest:testQueryInputOutput' => ['description' => 'The query data can be parsed correctly from a uri', 'type' => 'framework'],
|
||||
'phpOMS\tests\Uri\ArgumentTest:testFragmentInputOutput' => ['description' => 'The fragment can be parsed correctly from a uri', 'type' => 'framework'],
|
||||
|
|
@ -1981,8 +2016,9 @@ return [
|
|||
'phpOMS\tests\Utils\ArrayUtilsTest:testArrayFlatten' => ['description' => 'A multi-dimensional array can be flatten to a one-dimensional array', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testArraySum' => ['description' => 'The sum of an array can be calculated', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testArrayAllIn' => ['description' => 'An array can be checked if it contains multiple defined elements', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testArrayAnyIn' => ['description' => 'An array can be checked if it contains any of the defined elements', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testArrayToCsv' => ['description' => 'An array can be checked if it contains multiple defined elements', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testArgHas' => ['description' => 'An array can be checked if it has an element and returns its index', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testArrayAnyIn' => ['description' => 'An array can be turned into a csv string', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testInvalidArgHas' => ['description' => 'A none-existing argument in an array returns a negative value', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testArgGet' => ['description' => 'The argument value in an array can be returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Utils\ArrayUtilsTest:testInvalidArgGet' => ['description' => 'A none-existing argument in an array returns null', 'type' => 'framework'],
|
||||
|
|
@ -2085,6 +2121,10 @@ return [
|
|||
'phpOMS\tests\Views\ViewTest:testDefault' => ['description' => 'The view has the expected default values after initialization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetText' => ['description' => 'The view can output text from the localization manager', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetHtml' => ['description' => 'The view can output html escaped text from the localization manager', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetNumeric' => ['description' => 'The numeric value can be printed based on the localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetPercentage' => ['description' => 'The percentage value can be printed based on the localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetCurrency' => ['description' => 'The currency value can be printed based on the localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testGetDateTime' => ['description' => 'The datetime value can be printed based on the localization', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testDataInputOutput' => ['description' => 'View data can be set and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testDataAdd' => ['description' => 'View data can be added and returned', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testInvalidDataOverwrite' => ['description' => 'View data cannot be added if it already exists', 'type' => 'framework'],
|
||||
|
|
@ -2104,6 +2144,9 @@ return [
|
|||
'phpOMS\tests\Views\ViewTest:testArray' => ['description' => 'A view can be turned into an array containing the rendered templates', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testRenderException' => ['description' => 'Rendering a invalid template throws a PathException', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testSerializeException' => ['description' => 'Serializing a invalid template throws a PathException', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testTextWithoutModuleAndTemplate' => ['description' => 'Getting the text without defining a module throws a InvalidModuleException exception', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testTextFromInvalidTemplatePath' => ['description' => 'Getting the text with an invalid template path throws a InvalidModuleException exception', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\ViewTest:testTextInvalidTemplate' => ['description' => 'Getting the text without defining a template throws a InvalidThemeException exception', 'type' => 'framework'],
|
||||
|
||||
'phpOMS\tests\Views\PaginationViewTest' => ['description' => 'View for pagination', 'type' => 'framework'],
|
||||
'phpOMS\tests\Views\PaginationViewTest:testDefault' => ['description' => 'The pagination view has the expected default values after initialization', 'type' => 'framework'],
|
||||
|
|
@ -2174,10 +2217,84 @@ return [
|
|||
'Modules\tests\Admin\Controller\ApiControllerTest:testApiModuleStatusUpdateInvalidStatus' => ['description' => 'A invalid module status cannot update a module', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Controller\ApiControllerTest:testApiModuleStatusUpdateInvalidModule' => ['description' => 'A invalid module cannot be updated', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Controller\ApiControllerTest:testApiReInit' => ['description' => 'A module can be re-initialized', 'type' => 'module'],
|
||||
// models
|
||||
'Modules\tests\Admin\Models\AccountMapperTest' => ['description' => 'Account database mapper', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountMapperTest:testCR' => ['description' => 'The model can be created and read from the database', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountMapperTest:testEmptyPasswordLogin' => ['description' => 'A empty user password results in a failed login', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountMapperTest:testInvalidPasswordLogin' => ['description' => 'A invalid user password results in a failed login', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountMapperTest:testInvalidUsernameLogin' => ['description' => 'A valid user name and password results in a successful login', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountMapperTest:testValidLogin' => ['description' => 'A invalid user name results in a failed login', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountPermissionTest' => ['description' => 'Account permission', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountPermissionTest:testDefault' => ['description' => 'The account permission has the expected default values after initialization', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountTest' => ['description' => 'Account model', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountTest:testDefault' => ['description' => 'The account has the expected default values after initialization', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\AccountTest:testLoginTriesInputOutput' => ['description' => 'The login tries can be set and returned', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\GroupMapperTest' => ['description' => 'Group mapper', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\GroupMapperTest:testGroupPermissionForModule' => ['description' => 'All groups which have permissions for a module can be returned', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\GroupPermissionTest' => ['description' => 'Group permission', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\GroupPermissionTest:testDefault' => ['description' => 'The group permission has the expected default values after initialization', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\GroupTest' => ['description' => 'Group model', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\GroupTest:testDefault' => ['description' => 'The group has the expected default values after initialization', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\GroupTest:testDescriptionInputOutput' => ['description' => 'The description can be set and returned', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\GroupTest:testCreatorInputOutput' => ['description' => 'The creator can be set and returned', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\LocalizationMapperTest' => ['description' => 'Localization database mapper', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\LocalizationMapperTest:testCR' => ['description' => 'The model can be created and read from the database', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\ModuleTest' => ['description' => 'Module container', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\ModuleTest:testDefault' => ['description' => 'The module has the expected default values after initialization', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\ModuleTest:testNameInputOutput' => ['description' => 'The name can be set and returned', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\ModuleTest:testDescriptionInputOutput' => ['description' => 'The description can be set and returned', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\ModuleTest:testStatusInputOutput' => ['description' => 'The status can be set and returned', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\ModuleTest:testSerializations' => ['description' => 'The module can be serialized', 'type' => 'module'],
|
||||
'Modules\tests\Admin\Models\ModuleTest:testInvalidStatus' => ['description' => 'A invalid status throws a InvalidEnumValue exception', 'type' => 'module'],
|
||||
|
||||
'Modules\tests\Auditor\Controller\ApiControllerTest' => ['description' => 'Auditor api controller', 'type' => 'module'],
|
||||
'Modules\tests\Auditor\Controller\ApiControllerTest:testLogCreate' => ['description' => 'Audit logs for create statements can be created', 'type' => 'module'],
|
||||
'Modules\tests\Auditor\Controller\ApiControllerTest:testLogUpdate' => ['description' => 'Audit logs for update statements can be created', 'type' => 'module'],
|
||||
'Modules\tests\Auditor\Controller\ApiControllerTest:testLogDelete' => ['description' => 'Audit logs for delete statements can be created', 'type' => 'module'],
|
||||
// models
|
||||
'Modules\tests\Auditor\Models\AuditTest' => ['description' => 'Audit model', 'type' => 'module'],
|
||||
'Modules\tests\Auditor\Models\AuditTest:testDefault' => ['description' => 'The model has the expected default values after initialization', 'type' => 'module'],
|
||||
'Modules\tests\Auditor\Models\AuditTest:testConstructorInputOutput' => ['description' => 'The model can be initialized correctly', 'type' => 'module'],
|
||||
|
||||
'Modules\tests\News\Controller\ApiControllerTest' => ['description' => 'News api controller', 'type' => 'module'],
|
||||
'Modules\tests\News\Controller\ApiControllerTest:testApiNewsCreate' => ['description' => 'A news article can be created', 'type' => 'module'],
|
||||
'Modules\tests\News\Controller\ApiControllerTest:testApiNewsGet' => ['description' => 'A news article can be returned', 'type' => 'module'],
|
||||
'Modules\tests\News\Controller\ApiControllerTest:testApiNewsUpdate' => ['description' => 'A news article can be updated', 'type' => 'module'],
|
||||
'Modules\tests\News\Controller\ApiControllerTest:testApiNewsDelete' => ['description' => 'A news article can be deleted', 'type' => 'module'],
|
||||
|
||||
'Modules\tests\News\Controller\ApiControllerTest' => ['description' => 'News api controller', 'type' => 'module'],
|
||||
'Modules\tests\News\Controller\ApiControllerTest:testApiNewsCreate' => ['description' => 'A news article can be created', 'type' => 'module'],
|
||||
|
||||
'Modules\tests\Helper\Models\ReportTest' => ['description' => 'Report model', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testDefault' => ['description' => 'The model has the expected default values after initialization', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testCreatedByInputOutput' => ['description' => 'The creator can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testTitleInputOutput' => ['description' => 'The title can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testStatusInputOutput' => ['description' => 'The status can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testDescriptionInputOutput' => ['description' => 'The description can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testDescriptionRawInputOutput' => ['description' => 'The raw description can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testTemplateInputOutput' => ['description' => 'The template can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testSourceInputOutput' => ['description' => 'The source can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testToArray' => ['description' => 'Report data can be turned into an array', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportTest:testJsonSerialize' => ['description' => 'Report data can be json serialized', 'type' => 'module'],
|
||||
|
||||
'Modules\tests\Helper\Models\ReportMapperTest' => ['description' => 'Report database mapper', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\ReportMapperTest:testCR' => ['description' => 'The model can be created and read from the database', 'type' => 'module'],
|
||||
|
||||
'Modules\tests\Helper\Models\TemplateTest' => ['description' => 'Template model', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testDefault' => ['description' => 'The model has the expected default values after initialization', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testCreatedByInputOutput' => ['description' => 'The creator can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testNameInputOutput' => ['description' => 'The title can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testStatusInputOutput' => ['description' => 'The status can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testStandalonInputOutput' => ['description' => 'The template can be set as standalone and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testDescriptionInputOutput' => ['description' => 'The description can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testDescriptionRawInputOutput' => ['description' => 'The raw description can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testExpectedInputOutput' => ['description' => 'The expected report files can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testSourceInputOutput' => ['description' => 'The source can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testDatatypeInputOutput' => ['description' => 'The data storage type can be set and returned correctly', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testToArray' => ['description' => 'Template data can be turned into an array', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateTest:testJsonSerialize' => ['description' => 'Template data can be json serialized', 'type' => 'module'],
|
||||
|
||||
'Modules\tests\Helper\Models\TemplateMapperTest' => ['description' => 'Template database mapper', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateMapperTest:testCR' => ['description' => 'The model can be created and read from the database', 'type' => 'module'],
|
||||
'Modules\tests\Helper\Models\TemplateMapperTest:testNewest' => ['description' => 'The newest model can be read from the database', 'type' => 'module'],
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user