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

Run a one-shot license test on an empty file. More...

Inheritance diagram for OneShotemptyTest:
Inheritance graph
Collaboration diagram for OneShotemptyTest:
Collaboration graph

Public Member Functions

 testOneShotempty ()
 Run NOMOS on an empty file. More...
 
- Public Member Functions inherited from CommonCliTest
 testHelp ()
 Test for nomos help message. More...
 

Public Attributes

 $empty
 

Additional Inherited Members

- Protected Member Functions inherited from CommonCliTest
 setUp ()
 Setup the test cases and initialize the objects. More...
 
 tearDown ()
 Destruct the objects initialized during setUp() More...
 
 runNomos ($args="", $files=array())
 Run nomos using the arguments passed. More...
 
- Protected Attributes inherited from CommonCliTest
 $testDb
 
 $testInstaller
 
 $agentDir
 

Detailed Description

Run a one-shot license test on an empty file.

Definition at line 20 of file OneShot-empty.php.

Member Function Documentation

◆ testOneShotempty()

OneShotemptyTest::testOneShotempty ( )

Run NOMOS on an empty file.

Test:
  1. Check if required empty file exists
  2. Run nomos on the file and record the output
  3. Check if the output says No_license_found

Definition at line 35 of file OneShot-empty.php.

Member Data Documentation

◆ $empty

string OneShotemptyTest::$empty

Path of empty file

Definition at line 26 of file OneShot-empty.php.


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