MediaWiki  master
WfStringToBoolTest Class Reference

GlobalFunctions wfStringToBool. More...

Inheritance diagram for WfStringToBoolTest:
Collaboration diagram for WfStringToBoolTest:

Public Member Functions

 getTestCases ()
 
 testStr2Bool ( $str, $bool)
 getTestCases More...
 

Additional Inherited Members

- Protected Member Functions inherited from MediaWikiUnitTestCase
 setUp ()
 
 tearDown ()
 

Detailed Description

GlobalFunctions wfStringToBool.

Definition at line 7 of file wfStringToBoolTest.php.

Member Function Documentation

◆ getTestCases()

WfStringToBoolTest::getTestCases ( )

Definition at line 9 of file wfStringToBoolTest.php.

References false, and true.

◆ testStr2Bool()

WfStringToBoolTest::testStr2Bool (   $str,
  $bool 
)

getTestCases

Parameters
string$str
bool$bool

Definition at line 43 of file wfStringToBoolTest.php.

References wfStringToBool().


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