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

Perform a one-shot license analysis on a file with no license. More...

Inheritance diagram for OneShotnoneTest:
Inheritance graph
Collaboration diagram for OneShotnoneTest:
Collaboration graph

Public Member Functions

 testOneShotnone ()
 Run NOMOS on file without license information. More...
 
- Public Member Functions inherited from CommonCliTest
 testHelp ()
 Test for nomos help message. More...
 

Public Attributes

 $none
 

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

Perform a one-shot license analysis on a file with no license.

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

Member Function Documentation

◆ testOneShotnone()

OneShotnoneTest::testOneShotnone ( )

Run NOMOS on file without license information.

Test:
  1. Get the location of test file
  2. Run NOMOS on the test file and record the output
  3. Check if the output says No_license_found

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

Member Data Documentation

◆ $none

string OneShotnoneTest::$none

Path to the file without license

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


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