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

Perform a one-shot license analysis on a affero 2 and 3 licenses. More...

Inheritance diagram for OneShotafferoTest:
Inheritance graph
Collaboration diagram for OneShotafferoTest:
Collaboration graph

Public Member Functions

 testOneShotafferos ()
 Run NOMOS on affero1 and affero3. More...
 
- Public Member Functions inherited from CommonCliTest
 testHelp ()
 Test for nomos help message. More...
 

Public Attributes

 $affero1
 
 $affero3
 

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 affero 2 and 3 licenses.

License returned should be: for affero1: Affero_v1 for affero3: Affero_v3,Public-domain

Definition at line 22 of file OneShot-affero.php.

Member Function Documentation

◆ testOneShotafferos()

OneShotafferoTest::testOneShotafferos ( )

Run NOMOS on affero1 and affero3.

Test:
  1. Check if required license files exists
  2. Run nomos on the license files and record the output
  3. Check if the correct license is matched for a given affero license

Definition at line 42 of file OneShot-affero.php.

Member Data Documentation

◆ $affero1

string OneShotafferoTest::$affero1

File location of Affero_v1 license

Definition at line 28 of file OneShot-affero.php.

◆ $affero3

string OneShotafferoTest::$affero3

File location for Affero_v3 license

Definition at line 33 of file OneShot-affero.php.


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