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

Run one-shot license analysis on JSON license. More...

Inheritance diagram for OneShotJSON:
Inheritance graph
Collaboration diagram for OneShotJSON:
Collaboration graph

Public Member Functions

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

Public Attributes

 $tested_file
 

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 one-shot license analysis on JSON license.

Definition at line 18 of file OneShot-JSON.php.

Member Function Documentation

◆ testOneShot_JSON()

OneShotJSON::testOneShot_JSON ( )

Run NOMOS on JSON file.

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

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


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