X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fqunit%2Fdata%2Fload.mock.php;h=ee729e608f6945eaa6f18d9cf03b1efda9609456;hb=0f787e74f6e66a16ef4bc23937ee7ec647f4ab8b;hp=f6eff77a5b1cd52a0b021b5130e3895829f52814;hpb=7636bea2bf3ccc33389a97d968bdda64036f59c0;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/qunit/data/load.mock.php b/tests/qunit/data/load.mock.php index f6eff77a5b..ee729e608f 100644 --- a/tests/qunit/data/load.mock.php +++ b/tests/qunit/data/load.mock.php @@ -30,15 +30,30 @@ require_once __DIR__ . '/../../../includes/Xml.php'; $moduleImplementations = array( 'testUsesMissing' => " mw.loader.implement( 'testUsesMissing', function () { - QUnit.ok( false, 'Module test.usesMissing script should not run.'); + QUnit.ok( false, 'Module usesMissing script should not run.' ); QUnit.start(); }, {}, {}); ", 'testUsesNestedMissing' => " mw.loader.implement( 'testUsesNestedMissing', function () { - QUnit.ok( false, 'Module testUsesNestedMissing script should not run.'); + QUnit.ok( false, 'Module testUsesNestedMissing script should not run.' ); + QUnit.start(); +}, {}, {}); +", + + 'testSkipped' =>" +mw.loader.implement( 'testSkipped', function () { + QUnit.ok( false, 'Module testSkipped was supposed to be skipped.' ); }, {}, {}); +", + + 'testNotSkipped' =>" +mw.loader.implement( 'testNotSkipped', function () {}, {}, {}); +", + + 'testUsesSkippable' =>" +mw.loader.implement( 'testUsesSkippable', function () {}, {}, {}); ", );