![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
testConstructor () | |
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 48 of file BulkHistoryTest.php.
Fossology\UI\Api\Test\Models\BulkHistoryTest::testConstructor | ( | ) |
Tests that the BulkHistory constructor initializes an instance correctly.
Definition at line 27 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 71 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 159 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 84 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 99 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 129 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 174 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 114 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 144 of file BulkHistoryTest.php.