Search Results: Module:CallAssert/testcases
Sorry, the article you're looking for isn't specifically available. Here are related topics:
Module:CallAssert/doc
Jumat, 2024-08-30 03:32:01or false. This is similar to the built-in function assert, but unlike it, callAssert itself calls the function, whose return value is to be checked. This...
Click to read more »Module:Lua call/testcases
Rabu, 2025-07-30 08:56:39suite:testmain() self:assertResultEquals( [=[_test test test test test test test ]=], [=[{{#invoke:Lua call|main|a=test |b=7|string...
Click to read more »Module:ScribuntoUnit/doc
Jumat, 2026-01-30 21:43:03require('Module:MyModule/testcases').run(). If you are running them from a wiki page, use the code {{#invoke:MyModule/testcases|run}}. This will generate...
Click to read more »Module:Hatnote/testcases
Senin, 2026-03-09 22:46:37----------------------------------------------- function suite:assertParentFrameCallEquals(expected, func, args) args = args or {} local current =...
Click to read more »Module:Format link/testcases
Rabu, 2021-12-29 22:52:37----------------------------------------------- function suite:assertParentFrameCallEquals(expected, func, args) args = args or {} local current =...
Click to read more »Module:Arguments/testcases
Jumat, 2026-01-30 21:37:58suite:assertParentFirst(args) self:assertEquals(d.firstParentArg, args[1], nil, 1) self:assertEquals(d.secondParentArg, args[2]) self:assertEquals(d...
Click to read more »Module:Icon/testcases
Senin, 2026-03-09 22:48:51suite:assertLinkIsSuppressed(s) self:assertStringContains(linkPattern, s, false, nil, 1) end function suite:assertLinkIsNotSuppressed(s) self:assert...
Click to read more »Module:IP/testcases
Senin, 2026-03-09 22:51:53function suite:assertSelfParameterError(class, objName, method, func, ...) local message = string.format( 'IP: invalid %s object. Did you call %s with a...
Click to read more »Module:Citation/CS1/testcases/anchor
Selasa, 2021-04-27 10:07:20-- we never call cs1 directly because it doesn't have a nice implementation -- as a module, so comment out below line -- local myModule = require('Module:Citation/CS1')...
Click to read more »Module:Mock title/testcases
Jumat, 2024-05-24 21:30:40------------------------------------------------------- function suite:assertTitlesAreEqual(expected, actual) local properties = { 'prefixedText',...
Click to read more »Module:Italic title/testcases
Kamis, 2026-03-05 01:25:59function (callParserFunctionSpy, frame) mItalicTitle[testData.func](testData.args) callParserFunctionSpy:assertCallMatches{ atIndex...
Click to read more »Module:Check DYK hook/testcases
Senin, 2026-03-09 23:06:01self:assertTrue(result) else self:assertFalse(result) end end end function suite:testIsValidHook_RaisesError_WhenHookIsNotAString() self:assertThrows(...
Click to read more »Module:Disambiguation/testcases
Selasa, 2025-02-04 15:25:09description, tostring(data.expectedBool) )] = function (suite) suite:assertEquals(data.expectedBool, mDab.isDisambiguation(data.content)) end suite[string...
Click to read more »Module:ScribuntoUnit/sandbox
Kamis, 2026-01-29 19:46:34----------------------------------------------------- -- Runs a single testcase -- @param name test nume -- @param test function containing assertions...
Click to read more »Module:ScribuntoUnit
Rabu, 2026-05-27 01:46:51----------------------------------------------------- -- Runs a single testcase -- @param name test nume -- @param test function containing assertions...
Click to read more »Module:External links/sandbox
Sabtu, 2024-08-10 22:29:38function p.getLinks(frame, customClaims) --customClaims is a backdoor for testcases local configured_conf = getArgument(frame, conf:a('arg-conf')) if configured_conf...
Click to read more »Module:Page/doc
Senin, 2024-09-02 05:15:19blank to call mw.title.getCurrentTitle() and thus default to the page presently being viewed. makeTitle = Set this to any nonblank value to call mw.title...
Click to read more »Module:Mapframe
Senin, 2026-06-01 22:40:49HTML for the overlaying maps return make.overlayHtml(overlayMap, basemap, overlayOptions) end -- Entry point for testcase tests p.test = util return p...
Click to read more »Module:Mapframe/sandbox
Selasa, 2026-02-10 19:36:31HTML for the overlaying maps return make.overlayHtml(overlayMap, basemap, overlayOptions) end -- Entry point for testcase tests p.test = util return p...
Click to read more »