mediawiki-extensions-Scribunto/tests/engines/LuaCommon/HashLibraryTest.php
Marius Hoch 0f4db74148 Add mw.hash to Scribunto
Provides a simple wrapper for PHP's hash() and
hash_algos() functions.

I will add docs to the Lua reference manual once
this is merged.

Bug: T142585
Change-Id: I6697463974a175e99f9b77428a1085247165ebc9
2016-08-18 04:39:04 +02:00

14 lines
359 B
PHP

<?php
// @codingStandardsIgnoreLine Squiz.Classes.ValidClassName.NotCamelCaps
class Scribunto_LuaHashLibraryTests extends Scribunto_LuaEngineTestBase {
protected static $moduleName = 'HashLibraryTests';
protected function getTestModules() {
return parent::getTestModules() + array(
'HashLibraryTests' => __DIR__ . '/HashLibraryTests.lua',
);
}
}