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

Runs regression test on NOMOS. More...

Inheritance diagram for NomosFunTest:
Inheritance graph
Collaboration diagram for NomosFunTest:
Collaboration graph

Public Member Functions

 testDiffNomos ()
 Runs regression test on NOMOS based on LastGoodNomosTestfilesScan. More...
 
- Public Member Functions inherited from CommonCliTest
 testHelp ()
 Test for nomos help message. More...
 

Protected Member Functions

 setUp ()
 Setup the test cases and initialize the objects. More...
 
- Protected Member Functions inherited from CommonCliTest
 tearDown ()
 Destruct the objects initialized during setUp() More...
 
 runNomos ($args="", $files=array())
 Run nomos using the arguments passed. More...
 

Protected Attributes

 $testdir
 
- Protected Attributes inherited from CommonCliTest
 $testDb
 
 $testInstaller
 
 $agentDir
 

Detailed Description

Runs regression test on NOMOS.

Definition at line 17 of file Nomos-fun-test.php.

Member Function Documentation

◆ setUp()

NomosFunTest::setUp ( )
protected

Setup the test cases and initialize the objects.

See also
PHPUnit_Framework_TestCase::setUp()

Reimplemented from CommonCliTest.

Definition at line 29 of file Nomos-fun-test.php.

◆ testDiffNomos()

NomosFunTest::testDiffNomos ( )

Runs regression test on NOMOS based on LastGoodNomosTestfilesScan.

Test:
  1. Run nomos on every test file inside testdir and save result in a file
  2. Read the testdata/LastGoodNomosTestfilesScan file to load previous results
  3. Check the difference in last results and new results
  4. If there is a difference, fail the test.

Definition at line 45 of file Nomos-fun-test.php.

Member Data Documentation

◆ $testdir

string NomosFunTest::$testdir
protected

Location of test dir holding the test licenses

Definition at line 23 of file Nomos-fun-test.php.


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