FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Test\Models\UploadTest Class Reference

Test for Upload model. More...

Inheritance diagram for Fossology\UI\Api\Test\Models\UploadTest:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Test\Models\UploadTest:
Collaboration graph

Public Member Functions

 testDataFormatV1 ()
 
 testDataFormatV2 ()
 

Private Member Functions

 testDataFormat ($version)
 

Detailed Description

Test for Upload model.

Definition at line 24 of file UploadTest.php.

Member Function Documentation

◆ testDataFormat()

Fossology\UI\Api\Test\Models\UploadTest::testDataFormat (   $version)
private
Parameters
$versionversion to test
Returns
void
  1. Test the data format returned by Upload::getArray($version) model

Definition at line 47 of file UploadTest.php.

◆ testDataFormatV1()

Fossology\UI\Api\Test\Models\UploadTest::testDataFormatV1 ( )
Test:
  1. Test the data format returned by Upload::getArray($version) model when $version is V1

Definition at line 30 of file UploadTest.php.

◆ testDataFormatV2()

Fossology\UI\Api\Test\Models\UploadTest::testDataFormatV2 ( )
Test:
  1. Test the data format returned by Upload::getArray($version) model when $version is V2

Definition at line 38 of file UploadTest.php.


The documentation for this class was generated from the following file: