MediaWiki REL1_34
|
@covers Scribunto_LuaUstringLibrary More...
Public Member Functions | |
provideUstringLibraryNormalizationTests () | |
testPCREErrors ( $ini, $args, $error) | |
@dataProvider providePCREErrors | |
testUstringLibraryNormalizationTests ( $name, $c1, $c2, $c3, $c4, $c5) | |
@dataProvider provideUstringLibraryNormalizationTests | |
testUstringLibraryNormalizationTestsAvailable () | |
Public Member Functions inherited from Scribunto_LuaEngineUnitTestBase | |
__construct ( $name=null, array $data=[], $dataName='', $engineName=null) | |
provideLuaData () | |
testLua ( $key, $testName, $expected) | |
@dataProvider provideLuaData | |
toString () | |
Static Public Member Functions | |
static | providePCREErrors () |
Static Public Member Functions inherited from Scribunto_LuaEngineUnitTestBase | |
static | suite ( $className) |
Protected Member Functions | |
getTestModules () | |
tearDown () | |
Static Protected Attributes | |
static | $moduleName = 'UstringLibraryTests' |
Static Protected Attributes inherited from Scribunto_LuaEngineUnitTestBase | |
static string | $dataProviderClass = 'Scribunto_LuaDataProvider' |
Class to use for the data provider. | |
static string | $moduleName = null |
Name of the module being tested. | |
Private Attributes | |
$normalizationDataProvider = null | |
Additional Inherited Members | |
Protected Attributes inherited from Scribunto_LuaEngineUnitTestBase | |
string | $luaTestName = null |
Name to display instead of the default. | |
array | $skipTests = [] |
Tests to skip. | |
@covers Scribunto_LuaUstringLibrary
Definition at line 8 of file UstringLibraryTest.php.
|
protected |
Reimplemented from Scribunto_LuaEngineUnitTestBase.
Definition at line 21 of file UstringLibraryTest.php.
|
static |
Reimplemented in Scribunto_LuaUstringLibraryPureLuaTest.
Definition at line 91 of file UstringLibraryTest.php.
Scribunto_LuaUstringLibraryTest::provideUstringLibraryNormalizationTests | ( | ) |
Definition at line 36 of file UstringLibraryTest.php.
References $normalizationDataProvider, and getEngine().
Referenced by testUstringLibraryNormalizationTests().
|
protected |
Reimplemented from Scribunto_LuaEngineUnitTestBase.
Definition at line 13 of file UstringLibraryTest.php.
Scribunto_LuaUstringLibraryTest::testPCREErrors | ( | $ini, | |
$args, | |||
$error ) |
@dataProvider providePCREErrors
Reimplemented in Scribunto_LuaUstringLibraryPureLuaTest.
Definition at line 71 of file UstringLibraryTest.php.
References $args, and getEngine().
Scribunto_LuaUstringLibraryTest::testUstringLibraryNormalizationTests | ( | $name, | |
$c1, | |||
$c2, | |||
$c3, | |||
$c4, | |||
$c5 ) |
@dataProvider provideUstringLibraryNormalizationTests
Definition at line 47 of file UstringLibraryTest.php.
References $chars, and provideUstringLibraryNormalizationTests().
Scribunto_LuaUstringLibraryTest::testUstringLibraryNormalizationTestsAvailable | ( | ) |
Definition at line 28 of file UstringLibraryTest.php.
References UstringLibraryNormalizationTestProvider\available().
|
staticprotected |
Definition at line 9 of file UstringLibraryTest.php.
|
private |
Definition at line 11 of file UstringLibraryTest.php.
Referenced by provideUstringLibraryNormalizationTests().