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

Run one-shot license analysis on LGPL_v2.1 license. More...

Inheritance diagram for OneShotgplv21Test:
Inheritance graph
Collaboration diagram for OneShotgplv21Test:
Collaboration graph

Public Member Functions

 testOneShotgplv21 ()
 Run NOMOS on GPL_v2.1 license. More...
 
 setUp ()
 Setup the test cases and initialize the objects. More...
 
 testOneShotgplv21 ()
 
- Public Member Functions inherited from CommonCliTest
 testHelp ()
 Test for nomos help message. More...
 
- Public Member Functions inherited from fossologyTestCase
 addUser ($UserName, $Description=NULL, $Email=NULL, $Access=1, $Folder=1, $Password=NULL, $EmailNotify='y')
 
 checkEmailNotification ($number)
 
 createFolder ($parent, $name, $description=null)
 
 deleteFolder ($folder)
 
 deleteUpload ($upload)
 
 deleteUser ($User)
 
 editFolder ($folder, $newName, $description=null)
 
 editUser ($UserName, $Description=NULL, $Email=NULL, $Access=1, $Folder=1, $Block=NULL, $Blank=NULL, $Password=NULL, $EmailNotify='y')
 
 moveUpload ($oldFolder, $destFolder, $upload)
 
 mvFolder ($folder, $destination)
 
 fillGroupForm ($groupName, $user)
 
 uploadFile ($parentFolder, $uploadFile, $description=null, $uploadName=null, $agents=null)
 
 uploadServer ($parentFolder, $uploadPath, $description=null, $uploadName=null, $agents=null)
 
 uploadUrl ($parentFolder, $url, $description=null, $uploadName=null, $agents=null)
 
 wait4jobs ()
 
 dbCheck ()
 
 jobsSummary ()
 
 jobsDetail ()
 
 oneShotLicense ()
 
 rmLicAnalysis ()
 
- Public Member Functions inherited from fossologyTest
 getBrowser ()
 
 getCookie ()
 
 getPassword ()
 
 getUser ()
 
 setBrowser ($browser)
 
 setmyCookie ($cookie)
 
 setPassword ($password)
 
 setUser ($user)
 
 pmm ($test)
 
 plt ($test)
 
 createTestFolder ($name, $parent='root')
 
 getFolderId ($folderName, $page, $selectName)
 
 getUploadId ($uploadName, $page, $selectName)
 
 Login ($User=NULL, $Password=NULL)
 
 Logout ($User=NULL)
 
 myassertText ($page, $pattern)
 
 parseSelectStmnt ($page, $selectName, $optionText=NULL)
 
 parseFossjobs ($all=NULL)
 
 setAgents ($agents=NULL)
 

Public Attributes

 $mybrowser
 
- Public Attributes inherited from fossologyTestCase
 $mybrowser
 
 $debug
 
 $webProxy
 
- Public Attributes inherited from fossologyTest
 $mybrowser
 
 $cookie
 
 $debug
 

Additional Inherited Members

- 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 Member Functions inherited from fossologyTestCase
 setUserFields ($UserName=NULL, $Description=NULL, $Email=NULL, $Access=1, $Folder=1, $Block=NULL, $Blank=NULL, $Password=NULL, $EmailNotify=NULL, $BucketPool=1, $Ui='simple')
 
- Protected Member Functions inherited from fossologyTest
 _browser ()
 
 getSelectAttr ($page, $selectName)
 
 setSelectAttr ($page, $selectName, $attribute, $value=NULL)
 
- Protected Attributes inherited from CommonCliTest
 $testDb
 
 $testInstaller
 
 $agentDir
 
- Protected Attributes inherited from fossologyTest
 $User = NULL
 

Detailed Description

Run one-shot license analysis on LGPL_v2.1 license.

Definition at line 18 of file OneShot-lgpl2.1.php.

Member Function Documentation

◆ setUp()

OneShotgplv21Test::setUp ( )

Setup the test cases and initialize the objects.

See also
PHPUnit_Framework_TestCase::setUp()

Reimplemented from CommonCliTest.

Definition at line 26 of file OneShot-lgpl2.1.php.

◆ testOneShotgplv21()

OneShotgplv21Test::testOneShotgplv21 ( )

Run NOMOS on GPL_v2.1 license.

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

Definition at line 27 of file OneShot-lgpl2.1.php.


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