MediaWiki
1.34.0
|
Public Member Functions | |
passthru () | |
provideRoundtrip () | |
testDoubleRoundtrip () | |
@dataProvider provideRoundtrip More... | |
testRegisterInterfaceWithSameName () | |
testRoundtrip () | |
@dataProvider provideRoundtrip More... | |
testRoundtripNAN () | |
This cannot be done in testRoundtrip and testDoubleRoundtrip, because assertSame( NAN, NAN ) returns false. More... | |
testTestMemoryLimit () | |
testTimeLimit () | |
testWrapPHPFunction () | |
Protected Member Functions | |
getBusyLoop ( $interpreter) | |
newInterpreter ( $opts=[]) | |
setUp () | |
Private Member Functions | |
normalizeOrder ( $a) | |
Definition at line 3 of file LuaInterpreterTest.php.
|
protected |
Definition at line 21 of file LuaInterpreterTest.php.
Referenced by Scribunto_LuaStandaloneInterpreterTest\testGetStatus(), and testTimeLimit().
|
abstractprotected |
Reimplemented in Scribunto_LuaStandaloneInterpreterTest, and Scribunto_LuaSandboxInterpreterTest.
Referenced by setUp(), testDoubleRoundtrip(), testRegisterInterfaceWithSameName(), testRoundtrip(), testRoundtripNAN(), testTestMemoryLimit(), testTimeLimit(), and testWrapPHPFunction().
|
private |
Definition at line 84 of file LuaInterpreterTest.php.
Referenced by testDoubleRoundtrip(), and testRoundtrip().
Scribunto_LuaInterpreterTest::passthru | ( | ) |
Definition at line 94 of file LuaInterpreterTest.php.
References $args.
Scribunto_LuaInterpreterTest::provideRoundtrip | ( | ) |
Definition at line 99 of file LuaInterpreterTest.php.
References true.
|
protected |
Definition at line 12 of file LuaInterpreterTest.php.
References newInterpreter().
Scribunto_LuaInterpreterTest::testDoubleRoundtrip | ( | ) |
@dataProvider provideRoundtrip
Definition at line 48 of file LuaInterpreterTest.php.
References $args, newInterpreter(), and normalizeOrder().
Scribunto_LuaInterpreterTest::testRegisterInterfaceWithSameName | ( | ) |
Definition at line 174 of file LuaInterpreterTest.php.
References newInterpreter().
Scribunto_LuaInterpreterTest::testRoundtrip | ( | ) |
@dataProvider provideRoundtrip
Definition at line 37 of file LuaInterpreterTest.php.
References $args, newInterpreter(), and normalizeOrder().
Scribunto_LuaInterpreterTest::testRoundtripNAN | ( | ) |
This cannot be done in testRoundtrip and testDoubleRoundtrip, because assertSame( NAN, NAN ) returns false.
Definition at line 69 of file LuaInterpreterTest.php.
References newInterpreter().
Scribunto_LuaInterpreterTest::testTestMemoryLimit | ( | ) |
Definition at line 139 of file LuaInterpreterTest.php.
References newInterpreter().
Scribunto_LuaInterpreterTest::testTimeLimit | ( | ) |
Definition at line 120 of file LuaInterpreterTest.php.
References getBusyLoop(), and newInterpreter().
Scribunto_LuaInterpreterTest::testWrapPHPFunction | ( | ) |
Definition at line 157 of file LuaInterpreterTest.php.
References $res, and newInterpreter().