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

Test compatibility functions. More...

Inheritance diagram for TestCompatibility:
Inheritance graph
Collaboration diagram for TestCompatibility:
Collaboration graph

Protected Member Functions

void test_license_compatible ()
 Test are_licenses_compatible() More...
 

Private Member Functions

 CPPUNIT_TEST_SUITE (TestCompatibility)
 
 CPPUNIT_TEST (test_license_compatible)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Test compatibility functions.

Definition at line 21 of file test_compatibility.cc.

Member Function Documentation

◆ test_license_compatible()

void TestCompatibility::test_license_compatible ( )
protected

Test are_licenses_compatible()

Test:
  1. Load test license compatiblity rules
  2. Check if two license types mentioned directly works for true
  3. Check if two license types mentioned directly works for false
  4. Check if two license names mentioned directly takes precidence even if their types are also mentioned.
  5. Check if license name and type check works.
  6. Check if license name and type check works in reverse order..
  7. Check if default rule works.
See also
mainLicenseToSet

Definition at line 43 of file test_compatibility.cc.


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