Tests for Analysis model.
More...
Tests for Analysis model.
Definition at line 28 of file AnalysisTest.php.
◆ testDataFormat()
Fossology\UI\Api\Test\Models\AnalysisTest::testDataFormat |
( |
|
$version | ) |
|
|
private |
◆ testDataFormatV1()
Fossology\UI\Api\Test\Models\AnalysisTest::testDataFormatV1 |
( |
| ) |
|
- Test:
- Test the data format returned by Analysis::getArray($version) model when $version is V1
- Create expected array
- Create test object and set the values
- Get the array from object and match with expected array
Definition at line 126 of file AnalysisTest.php.
◆ testDataFormatV2()
Fossology\UI\Api\Test\Models\AnalysisTest::testDataFormatV2 |
( |
| ) |
|
- Test:
- Test the data format returned by Analysis::getArray($version) model when $version is V2
- Create expected array
- Create test object and set the values
- Get the array from object and match with expected array
Definition at line 138 of file AnalysisTest.php.
◆ testGetBucket()
Fossology\UI\Api\Test\Models\AnalysisTest::testGetBucket |
( |
| ) |
|
◆ testGetCopyright()
Fossology\UI\Api\Test\Models\AnalysisTest::testGetCopyright |
( |
| ) |
|
◆ testGetEcc()
Fossology\UI\Api\Test\Models\AnalysisTest::testGetEcc |
( |
| ) |
|
◆ testGetKeyword()
Fossology\UI\Api\Test\Models\AnalysisTest::testGetKeyword |
( |
| ) |
|
◆ testGetMime()
Fossology\UI\Api\Test\Models\AnalysisTest::testGetMime |
( |
| ) |
|
◆ testGetMonk()
Fossology\UI\Api\Test\Models\AnalysisTest::testGetMonk |
( |
| ) |
|
◆ testSetBucket()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetBucket |
( |
| ) |
|
◆ testSetCopyright()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetCopyright |
( |
| ) |
|
◆ testSetEcc()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetEcc |
( |
| ) |
|
◆ testSetKeyword()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetKeyword |
( |
| ) |
|
◆ testSetMime()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetMime |
( |
| ) |
|
◆ testSetUsingArray()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetUsingArray |
( |
|
$version | ) |
|
|
private |
◆ testSetUsingArrayV1()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetUsingArrayV1 |
( |
| ) |
|
◆ testSetUsingArrayV2()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetUsingArrayV2 |
( |
| ) |
|
◆ testSetUsingString()
Fossology\UI\Api\Test\Models\AnalysisTest::testSetUsingString |
( |
| ) |
|
The documentation for this class was generated from the following file: