FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\Lib\Dao\TreeDaoTest Class Reference
Inheritance diagram for Fossology\Lib\Dao\TreeDaoTest:
Inheritance graph
Collaboration diagram for Fossology\Lib\Dao\TreeDaoTest:
Collaboration graph

Public Member Functions

 testGetMinimalCoveringItem ()
 
 testGetFullPathFromSingleFolderUpload ()
 
 testGetFullPathFromSingleFolderUploadWithDropArtifact ()
 
 testGetFullPathFromSingleFolderUploadWithAFileOutside ()
 
 testGetFullPathWithComlpexStructureFromFolder ()
 
 testGetFullPathWithComlpexStructureFromFile ()
 
 testGetFullPathWithComlpexStructureFromFileAndOtherUpload ()
 
 testGetUploadHashes ()
 
 testGetFullPathWithNestedStructure ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 prepareUploadTree ($uploadTreeArray=array())
 
 prepareModularTable ($subentries=array())
 
 getTestFileStructure ()
 
 getNestedTestFileStructure ()
 

Private Attributes

 $testDb
 
 $dbManager
 
 $treeDao
 

Detailed Description

Definition at line 15 of file TreeDaoTest.php.

Member Function Documentation

◆ getTestFileStructure()

Fossology\Lib\Dao\TreeDaoTest::getTestFileStructure ( )
protected

Filestructure ( NoLic files are removed) NR uploadtree_pk A 1 3653 B_NoLic C 2 3668 D D/E 3 3683 D/F_NoLic D/G 4 3685 H H/I_NoLic H/J 5 3671 H/K_NoLic L L/L1 L/L1/L1a_NoLic L/L2 L/L2/L2a 6 3665 L/L3 L/L3/L3a_NoLic M M/M1 N N/N1 7 3676 N/N2 N/N2/N2a_NoLic N/N3 8 3675 N/N4 N/N4/N4a 9 3681 N/N5 10 3677 O 11 3673 P P/P1_NoLic P/P2 P/P2/P2a 12 3658 P/P3 13 3660 R 14 3686

Definition at line 178 of file TreeDaoTest.php.

◆ prepareModularTable()

Fossology\Lib\Dao\TreeDaoTest::prepareModularTable (   $subentries = array())
protected
Parameters
$subentries
Returns
array

Definition at line 122 of file TreeDaoTest.php.

◆ prepareUploadTree()

Fossology\Lib\Dao\TreeDaoTest::prepareUploadTree (   $uploadTreeArray = array())
protected
Parameters
array$uploadTreeArray
Exceptions

Definition at line 108 of file TreeDaoTest.php.


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