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

Perform a one-shot analysis on GPL_v3 license. More...

Inheritance diagram for OneShotgpl3Test:
Inheritance graph
Collaboration diagram for OneShotgpl3Test:
Collaboration graph

Public Member Functions

 testOneShotgplv3 ()
 Run NOMOS on GPL license. More...
 
- Public Member Functions inherited from CommonCliTest
 testHelp ()
 Test for nomos help message. More...
 

Public Attributes

 $gplv3
 

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 analysis on GPL_v3 license.

Definition at line 21 of file OneShot-gpl3.php.

Member Function Documentation

◆ testOneShotgplv3()

OneShotgpl3Test::testOneShotgplv3 ( )

Run NOMOS on GPL license.

Test:
  1. Check if required GPL license file exists
  2. Run nomos on the license and record the output
  3. Check if the output says GPL-3.0

Definition at line 36 of file OneShot-gpl3.php.

Member Data Documentation

◆ $gplv3

string OneShotgpl3Test::$gplv3

Path to GPL license

Definition at line 27 of file OneShot-gpl3.php.


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