FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
testDataFormatV1 () | |
testDataFormatV2 () | |
testGetPerm () | |
testSetPerm () | |
testGetGroupPk () | |
testSetGroupPk () | |
testGetGroupName () | |
testSetGroupName () | |
Private Member Functions | |
getGroupPermissionInfo ($version=ApiVersion::V2) | |
testDataFormat ($version) | |
Definition at line 18 of file GroupPermissionsTest.php.
|
private |
Provides test data and an instance of the GroupPermission class.
expectedArray
: The expected array structure.obj
: The instance of Group being tested. Definition at line 27 of file GroupPermissionsTest.php.
|
private |
Definition at line 71 of file GroupPermissionsTest.php.
Fossology\UI\Api\Test\Models\GroupPermissionsTest::testDataFormatV1 | ( | ) |
Definition at line 54 of file GroupPermissionsTest.php.
Fossology\UI\Api\Test\Models\GroupPermissionsTest::testDataFormatV2 | ( | ) |
Definition at line 63 of file GroupPermissionsTest.php.
Fossology\UI\Api\Test\Models\GroupPermissionsTest::testGetGroupName | ( | ) |
Tests GroupPermission::getGroupName() method.
This method validates that the getGroupName
method returns the correct group name value.
Definition at line 129 of file GroupPermissionsTest.php.
Fossology\UI\Api\Test\Models\GroupPermissionsTest::testGetGroupPk | ( | ) |
Tests GroupPermission::getGroupPk() method.
This method validates that the getGroupPk
method returns the correct group ID value.
Definition at line 106 of file GroupPermissionsTest.php.
Fossology\UI\Api\Test\Models\GroupPermissionsTest::testGetPerm | ( | ) |
Tests GroupPermission::getPerm() method.
This method validates that the getPerm
method returns the correct permission value.
Definition at line 83 of file GroupPermissionsTest.php.
Fossology\UI\Api\Test\Models\GroupPermissionsTest::testSetGroupName | ( | ) |
Tests GroupPermission::setGroupName() method.
This method validates that the setGroupName
method correctly updates the group name value.
Definition at line 140 of file GroupPermissionsTest.php.
Fossology\UI\Api\Test\Models\GroupPermissionsTest::testSetGroupPk | ( | ) |
Tests GroupPermission::setGroupPk() method.
This method validates that the setGroupPk
method correctly updates the group ID value.
Definition at line 117 of file GroupPermissionsTest.php.
Fossology\UI\Api\Test\Models\GroupPermissionsTest::testSetPerm | ( | ) |
Tests GroupPermission::setPerm() method.
This method validates that the setPerm
method correctly updates the permission value.
Definition at line 94 of file GroupPermissionsTest.php.