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

Perform a one-shot license analysis on a file (include bsd license) More...

Inheritance diagram for OneShotbsdTest:
Inheritance graph
Collaboration diagram for OneShotbsdTest:
Collaboration graph

Public Member Functions

 testOneShotBsd ()
 Run NOMOS on BSD style license. More...
 
 testOneShotDnsdigest ()
 Run NOMOS on DNS digest. More...
 
- Public Member Functions inherited from CommonCliTest
 testHelp ()
 Test for nomos help message. More...
 

Public Attributes

 $bsd
 

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 (include bsd license)

Definition at line 14 of file OneShot-bsd.php.

Member Function Documentation

◆ testOneShotBsd()

OneShotbsdTest::testOneShotBsd ( )

Run NOMOS on BSD style license.

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 on the intended file

Definition at line 29 of file OneShot-bsd.php.

◆ testOneShotDnsdigest()

OneShotbsdTest::testOneShotDnsdigest ( )

Run NOMOS on DNS digest.

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 on the intended file

Definition at line 47 of file OneShot-bsd.php.

Member Data Documentation

◆ $bsd

string OneShotbsdTest::$bsd

File location of BSD license

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


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