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


Public Member Functions | |
| testConstructor () | |
| testGetSha1 () | |
| testGetMd5 () | |
| testGetSha256 () | |
| testGetSize () | |
| testGetArrayWithFullData () | |
| testGetArrayWithNullValues () | |
| testCreateFromArrayWithValidData () | |
| testCreateFromArrayWithPartialData () | |
| testCreateFromArrayWithEmptyArray () | |
| testCreateFromArrayWithInvalidKeys () | |
| testCreateFromArrayWithMixedKeys () | |
Tests for Hash model.
Definition at line 21 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testConstructor | ( | ) |
Tests that the Hash constructor initializes an instance correctly.
Definition at line 36 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testCreateFromArrayWithEmptyArray | ( | ) |
Definition at line 168 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testCreateFromArrayWithInvalidKeys | ( | ) |
Definition at line 182 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testCreateFromArrayWithMixedKeys | ( | ) |
Definition at line 197 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testCreateFromArrayWithPartialData | ( | ) |
Definition at line 149 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testCreateFromArrayWithValidData | ( | ) |
Definition at line 128 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testGetArrayWithFullData | ( | ) |
Definition at line 90 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testGetArrayWithNullValues | ( | ) |
Definition at line 108 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testGetMd5 | ( | ) |
Definition at line 58 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testGetSha1 | ( | ) |
Definition at line 48 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testGetSha256 | ( | ) |
Definition at line 68 of file HashTest.php.
| Fossology\UI\Api\Test\Models\HashTest::testGetSize | ( | ) |
Definition at line 78 of file HashTest.php.