![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
Tests for LicenseStandardComment model. More...


Public Member Functions | |
| testConstructor () | |
| testGetId () | |
| Test getting the ID. More... | |
| testGetName () | |
| Test getting the name. More... | |
| testGetComment () | |
| Test getting the comment text. More... | |
| testGetIsEnabled () | |
| Test getting the isEnabled status. More... | |
| testSetId () | |
| Test setting the ID. More... | |
| testSetName () | |
| Test setting the name. More... | |
| testSetComment () | |
| Test setting the comment text. More... | |
| testSetIsEnabled () | |
| Test setting the isEnabled status. More... | |
| testGetArrayV1 () | |
| Test getting an array representation for API version 1. More... | |
| testGetArrayV2 () | |
| Test getting an array representation for API version 2. More... | |
| testGetJSONV1 () | |
| Test getting JSON representation for API version 1. More... | |
| testGetJSONV2 () | |
| Test getting JSON representation for API version 2. More... | |
| testEmptyValues () | |
| Test handling empty values. More... | |
Protected Member Functions | |
| setUp () | |
| Setup test data. | |
Private Attributes | |
| $sampleData | |
Tests for LicenseStandardComment model.
Definition at line 22 of file LicenseStandardCommentTest.php.
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testConstructor | ( | ) |
Tests that the LicenseStandardComment constructor initializes an instance correctly.
Definition at line 46 of file LicenseStandardCommentTest.php.
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testEmptyValues | ( | ) |
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testGetArrayV1 | ( | ) |
Test getting an array representation for API version 1.
Definition at line 152 of file LicenseStandardCommentTest.php.
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testGetArrayV2 | ( | ) |
Test getting an array representation for API version 2.
Definition at line 173 of file LicenseStandardCommentTest.php.
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testGetComment | ( | ) |
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testGetId | ( | ) |
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testGetIsEnabled | ( | ) |
Test getting the isEnabled status.
Definition at line 96 of file LicenseStandardCommentTest.php.
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testGetJSONV1 | ( | ) |
Test getting JSON representation for API version 1.
Definition at line 194 of file LicenseStandardCommentTest.php.
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testGetJSONV2 | ( | ) |
Test getting JSON representation for API version 2.
Definition at line 211 of file LicenseStandardCommentTest.php.
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testGetName | ( | ) |
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testSetComment | ( | ) |
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testSetId | ( | ) |
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testSetIsEnabled | ( | ) |
Test setting the isEnabled status.
Definition at line 141 of file LicenseStandardCommentTest.php.
| Fossology\UI\Api\Test\Models\LicenseStandardCommentTest::testSetName | ( | ) |