FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
testDataFormat () | |
testSetAndGetBulkId () | |
testSetAndGetClearingEventId () | |
testSetAndGetText () | |
testSetAndGetMatched () | |
testSetAndGetTried () | |
testSetAndGetAddedLicenses () | |
testSetAndGetRemovedLicenses () | |
Private Member Functions | |
getBulkHistoryInfo () | |
Definition at line 17 of file BulkHistoryTest.php.
|
private |
Provides test data and an instance of the BulkHistory class.
expectedArray
: The expected array structure.obj
: The instance of BulkHistory being tested. Definition at line 26 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testDataFormat | ( | ) |
Tests BulkHistory::getArray() method.
This method validates that the getArray
method returns the correct data structure.
Definition at line 49 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testSetAndGetAddedLicenses | ( | ) |
Tests BulkHistory::setAddedLicenses() and getAddedLicenses() methods.
This method verifies that the setAddedLicenses
method correctly updates the addedLicenses property, and that the getAddedLicenses
method returns the updated value.
Definition at line 137 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testSetAndGetBulkId | ( | ) |
Tests BulkHistory::setBulkId() and getBulkId() methods.
This method verifies that the setBulkId
method correctly updates the bulkId property, and that the getBulkId
method returns the updated value.
Definition at line 62 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testSetAndGetClearingEventId | ( | ) |
Tests BulkHistory::setClearingEventId() and getClearingEventId() methods.
This method verifies that the setClearingEventId
method correctly updates the clearingEventId property, and that the getClearingEventId
method returns the updated value.
Definition at line 77 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testSetAndGetMatched | ( | ) |
Tests BulkHistory::setMatched() and getMatched() methods.
This method verifies that the setMatched
method correctly updates the matched property, and that the getMatched
method returns the updated value.
Definition at line 107 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testSetAndGetRemovedLicenses | ( | ) |
Tests BulkHistory::setRemovedLicenses() and getRemovedLicenses() methods.
This method verifies that the setRemovedLicenses
method correctly updates the removedLicenses property, and that the getRemovedLicenses
method returns the updated value.
Definition at line 152 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testSetAndGetText | ( | ) |
Tests BulkHistory::setText() and getText() methods.
This method verifies that the setText
method correctly updates the text property, and that the getText
method returns the updated value.
Definition at line 92 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testSetAndGetTried | ( | ) |
Tests BulkHistory::setTried() and getTried() methods.
This method verifies that the setTried
method correctly updates the tried property, and that the getTried
method returns the updated value.
Definition at line 122 of file BulkHistoryTest.php.