MediaWiki REL1_34
|
@group Lua @group LuaStandalone @covers Scribunto_LuaStandaloneInterpreter More...
Public Member Functions | |
testFreeFunctions () | |
testGetStatus () | |
testIOErrorExit () | |
testIOErrorSignal () | |
testLuaToPhpArrayKeyConversion ( $lua, $expect) | |
@dataProvider provideLuaToPhpArrayKeyConversion | |
testPhpToLuaArrayKeyConversion ( $array, $expect) | |
@dataProvider providePhpToLuaArrayKeyConversion | |
Public Member Functions inherited from Scribunto_LuaInterpreterTest | |
passthru () | |
provideRoundtrip () | |
testDoubleRoundtrip () | |
@dataProvider provideRoundtrip | |
testRegisterInterfaceWithSameName () | |
testRoundtrip () | |
@dataProvider provideRoundtrip | |
testRoundtripNAN () | |
This cannot be done in testRoundtrip and testDoubleRoundtrip, because assertSame( NAN, NAN ) returns false. | |
testTestMemoryLimit () | |
testTimeLimit () | |
testWrapPHPFunction () | |
Static Public Member Functions | |
static | provideLuaToPhpArrayKeyConversion () |
static | providePhpToLuaArrayKeyConversion () |
Public Attributes | |
$stdOpts | |
Protected Member Functions | |
newInterpreter ( $opts=[]) | |
Protected Member Functions inherited from Scribunto_LuaInterpreterTest | |
getBusyLoop ( $interpreter) | |
setUp () | |
Private Member Functions | |
getVsize ( $pid) | |
@group Lua @group LuaStandalone @covers Scribunto_LuaStandaloneInterpreter
Definition at line 16 of file LuaStandaloneInterpreterTest.php.
|
private |
Definition at line 24 of file LuaStandaloneInterpreterTest.php.
References wfEscapeShellArg(), and wfShellExec().
Referenced by testGetStatus().
|
protected |
Reimplemented from Scribunto_LuaInterpreterTest.
Definition at line 29 of file LuaStandaloneInterpreterTest.php.
References $stdOpts.
Referenced by testFreeFunctions(), testGetStatus(), testIOErrorExit(), testIOErrorSignal(), testLuaToPhpArrayKeyConversion(), and testPhpToLuaArrayKeyConversion().
|
static |
Definition at line 146 of file LuaStandaloneInterpreterTest.php.
|
static |
Definition at line 102 of file LuaStandaloneInterpreterTest.php.
Scribunto_LuaStandaloneInterpreterTest::testFreeFunctions | ( | ) |
Definition at line 187 of file LuaStandaloneInterpreterTest.php.
References newInterpreter().
Scribunto_LuaStandaloneInterpreterTest::testGetStatus | ( | ) |
Definition at line 59 of file LuaStandaloneInterpreterTest.php.
References Scribunto_LuaInterpreterTest\getBusyLoop(), getVsize(), and newInterpreter().
Scribunto_LuaStandaloneInterpreterTest::testIOErrorExit | ( | ) |
Definition at line 35 of file LuaStandaloneInterpreterTest.php.
References ScribuntoException\getMessageName(), and newInterpreter().
Scribunto_LuaStandaloneInterpreterTest::testIOErrorSignal | ( | ) |
Definition at line 46 of file LuaStandaloneInterpreterTest.php.
References ScribuntoException\getMessageName(), and newInterpreter().
Scribunto_LuaStandaloneInterpreterTest::testLuaToPhpArrayKeyConversion | ( | $lua, | |
$expect ) |
@dataProvider provideLuaToPhpArrayKeyConversion
Definition at line 130 of file LuaStandaloneInterpreterTest.php.
References newInterpreter().
Scribunto_LuaStandaloneInterpreterTest::testPhpToLuaArrayKeyConversion | ( | $array, | |
$expect ) |
@dataProvider providePhpToLuaArrayKeyConversion
Definition at line 89 of file LuaStandaloneInterpreterTest.php.
References newInterpreter().
Scribunto_LuaStandaloneInterpreterTest::$stdOpts |
Definition at line 17 of file LuaStandaloneInterpreterTest.php.
Referenced by newInterpreter().