From f219967d96a52ab904c04415799a84a56ee0af68 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 19 Apr 2019 20:50:23 +0200 Subject: [PATCH] Add test report for Account framework --- Config/reportLang.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Config/reportLang.php b/Config/reportLang.php index 7a6a3c0..fcbcae7 100644 --- a/Config/reportLang.php +++ b/Config/reportLang.php @@ -64,6 +64,30 @@ return [ 'phpOMS\tests\Account\AccountManagerTest:testNoAccountDuplication' => ['description' => 'An account can only be added once to the account manager (no duplication)'], 'phpOMS\tests\Account\AccountManagerTest:testNoAccountDuplication' => ['description' => 'An account can only be added once to the account manager (no duplication)'], 'phpOMS\tests\Account\AccountManagerTest:testRemoveAccount' => ['description' => 'An account can be removed from the account manager'], + 'phpOMS\tests\Account\AccountManagerTest:testRemoveOnlyValidAccount' => ['description' => 'Only a valid account can be removed from the manager'], + + 'phpOMS\tests\Account\AccountTest' => ['description' => 'Base account/user representation'], + 'phpOMS\tests\Account\AccountTest:testAttributes' => ['description' => 'The account has the expected member variables'], + 'phpOMS\tests\Account\AccountTest:testDefault' => ['description' => 'The account has the expected default values after initialization'], + 'phpOMS\tests\Account\AccountTest:testSetAndGetAccountNames' => ['description' => 'The account names can be set and retrieved correctly'], + 'phpOMS\tests\Account\AccountTest:testAddAndGetGroup' => ['description' => 'Groups can be added to an account'], + 'phpOMS\tests\Account\AccountTest:testSetAndGetAccountEmail' => ['description' => 'An account can have a valid email address'], + 'phpOMS\tests\Account\AccountTest:testChangeStatus' => ['description' => 'The default status of the account can be changed to a different valid status'], + 'phpOMS\tests\Account\AccountTest:testChangeType' => ['description' => 'The default type of the account can be changed to a different valid type'], + 'phpOMS\tests\Account\AccountTest:testPermissionHandling' => ['description' => 'Account permissions can be added and checked for existence'], + 'phpOMS\tests\Account\AccountTest:testLocalization' => ['description' => 'An account can have it\'s own localization'], + 'phpOMS\tests\Account\AccountTest:testLastChange' => ['description' => 'An account \'last activity\' timestamp can be updated and retrieved'], + 'phpOMS\tests\Account\AccountTest:testEmailException' => ['description' => 'An account can only have a valid email'], + 'phpOMS\tests\Account\AccountTest:testStatusException' => ['description' => 'An account can only have valid account status'], + 'phpOMS\tests\Account\AccountTest:testTypeException' => ['description' => 'An account can only have valid account types'], + + 'phpOMS\tests\Account\GroupTest' => ['description' => 'Base group representation'], + 'phpOMS\tests\Account\GroupTest:testAttributes' => ['description' => 'The group has the expected member variables'], + 'phpOMS\tests\Account\GroupTest:testDefault' => ['description' => 'The group has the expected default values after initialization'], + 'phpOMS\tests\Account\GroupTest:testSetAndGetGroupNameDescription' => ['description' => 'The group name and description can be set and retrieved correctly'], + 'phpOMS\tests\Account\GroupTest:testPermissionHandling' => ['description' => 'Group permissions can be added and checked for existence'], + 'phpOMS\tests\Account\GroupTest:testChangeStatus' => ['description' => 'The default status of the group can be changed to a different valid status'], + 'phpOMS\tests\Account\GroupTest:testStatusException' => ['description' => 'A group can only have valid group status'], 'phpOMS\tests\Localization\MoneyTest' => ['description' => 'Money datatype for internal representation of money'], 'phpOMS\tests\Localization\MoneyTest:testDefaultMemberVariables' => ['description' => 'The datatype has the expected member variables and default values'],