FOSSology  4.7.1
Open Source License Compliance by Open Source Software
AdminLicenseFileTest Class Reference

Test for admin_license_file::isAgentPlaceholderText() @runTestsInSeparateProcesses @preserveGlobalState disabled. More...

Inheritance diagram for AdminLicenseFileTest:
Inheritance graph
Collaboration diagram for AdminLicenseFileTest:
Collaboration graph

Public Member Functions

 testIsAgentPlaceholderText ($text, $expected)
 

Static Public Member Functions

static provideTexts ()
 

Detailed Description

Test for admin_license_file::isAgentPlaceholderText() @runTestsInSeparateProcesses @preserveGlobalState disabled.

Regression coverage for: agents create stub licenses with a shared placeholder text. Hashing that text into rf_md5 made the second edited stub violate the unique index on rf_md5.

Definition at line 24 of file AdminLicenseFileTest.php.

Member Function Documentation

◆ testIsAgentPlaceholderText()

AdminLicenseFileTest::testIsAgentPlaceholderText (   $text,
  $expected 
)
Test:
@dataProvider provideTexts
  1. Check that only the agent placeholder texts are detected.

Definition at line 42 of file AdminLicenseFileTest.php.


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