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

Test for Job model. More...

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

Public Member Functions

 testDataFormatV1 ()
 
 testDataFormatV2 ()
 
 testGetId ()
 
 testGetName ()
 
 testGetQueueDate ()
 
 testGetUploadId ()
 
 testGetUserId ()
 
 testGetGroupId ()
 
 testGetEta ()
 
 testGetStatus ()
 
 testGetJobQueue ()
 
 testSetName ()
 
 testSetQueueDate ()
 
 testSetUploadId ()
 
 testSetUserId ()
 
 testSetGroupId ()
 
 testSetEta ()
 
 testSetStatus ()
 

Private Member Functions

 testDataFormat ($version)
 

Detailed Description

Test for Job model.

Definition at line 28 of file JobTest.php.

Member Function Documentation

◆ testDataFormat()

Fossology\UI\Api\Test\Models\JobTest::testDataFormat (   $version)
private
  1. Test the data format returned by Job::getArray($version) model

Definition at line 51 of file JobTest.php.

◆ testDataFormatV1()

Fossology\UI\Api\Test\Models\JobTest::testDataFormatV1 ( )
Test:
  1. Test data model returned by Job::getArray($version) when API version is V1

Definition at line 34 of file JobTest.php.

◆ testDataFormatV2()

Fossology\UI\Api\Test\Models\JobTest::testDataFormatV2 ( )
Test:
  1. Test data model returned by Job::getArray($version) when API version is V2

Definition at line 43 of file JobTest.php.


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