FOSSology  4.4.0
Open Source License Compliance by Open Source Software
test_fossjobs Class Reference

test cli fossjobs More...

Inheritance diagram for test_fossjobs:
Inheritance graph
Collaboration diagram for test_fossjobs:
Collaboration graph

Public Member Functions

 test_reschedule_agents ()
 schedule agents More...
 
 test_list_agent_and_others ()
 list agents, list uploads, help msg More...
 

Static Public Member Functions

static setUpBeforeClass ()
 
static tearDownAfterClass ()
 

Public Attributes

 $fossology_testconfig
 
 $scheduler_path
 
 $cp2foss_path
 
 $fossjobs_path
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 clean the env
 

Detailed Description

test cli fossjobs

@outputBuffering enabled

Definition at line 17 of file test_fossjobs.php.

Member Function Documentation

◆ setUpBeforeClass()

static test_fossjobs::setUpBeforeClass ( )
static

get the value of the FOSSOLOGY_TESTCONFIG environment variable, which will be initialized by the Makefile by running the create_test_database.pl script

Definition at line 37 of file test_fossjobs.php.

◆ test_list_agent_and_others()

test_fossjobs::test_list_agent_and_others ( )

list agents, list uploads, help msg

help

list agents

list uploads

Definition at line 195 of file test_fossjobs.php.

◆ test_reschedule_agents()

test_fossjobs::test_reschedule_agents ( )

schedule agents

  1. upload one dir, no any agents except wget/unpack/adj2nest

get upload id that you just upload for testing

reschedule all rest of agent

  1. upload one file, schedule copyright except wget/unpack/adj2nest

get upload id that you just upload for testing

reschedule just nomos

Definition at line 104 of file test_fossjobs.php.


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