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

Test helper/utility functions. More...

Inheritance diagram for TestUtility:
Inheritance graph
Collaboration diagram for TestUtility:
Collaboration graph

Protected Member Functions

void testLicensesToSet ()
 Test utility function mainLicenseToSet. More...
 
void testRuleLoader ()
 

Private Member Functions

 CPPUNIT_TEST_SUITE (TestUtility)
 
 CPPUNIT_TEST (testLicensesToSet)
 
 CPPUNIT_TEST (testRuleLoader)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Test helper/utility functions.

Definition at line 50 of file test_utils.cc.

Member Function Documentation

◆ testLicensesToSet()

void TestUtility::testLicensesToSet ( )
protected

Test utility function mainLicenseToSet.

Test:
  1. Create sample license string concatenated with " AND "
  2. Create expected set with unique licenses from the string
  3. Compare expected set with output from mainLicenseToSet()
See also
mainLicenseToSet

Definition at line 69 of file test_utils.cc.


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