跳至內容

模組:TNT/testcases/doc

維基文庫,自由的圖書館

此頁面為 Module:TNT/testcases 的說明文件

N 4 tests failed.

Name Expected Actual
N test_doc / doc02 {"paramOrder":["param1","param2"],"description":"DO NOT EDIT OR TRANSLATE unless you are changing unit tests","params":{"param2":{"suggested":true,"type":"string","required":false,"label":"fr_label_2","example":"pl_example_2","description":"en_desc_2"},"param1":{"suggested":false,"type":"string","required":true,"label":"en_label_1","example":"en_example_1","description":"en_desc_1"}}} {"paramOrder":["param1","param2"],"description":"DO NOT EDIT OR TRANSLATE unless you are changing unit tests","params":{"param1":{"suggested":false,"type":"string","required":true,"label":"en_label_1","example":"en_example_1","description":"en_desc_1"},"param2":{"suggested":true,"type":"string","required":false,"label":"fr_label_2","example":"pl_example_2","description":"en_desc_2"}}}
Yes test_link
Yes test_msg
N test_msg_errors Module:TNT/testcases:90: msgerr01

Failed to find plain string "<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-" in string "<strong class="error"><span class="scribunto-error mw-scribunto-error-2f691822">Module:TNT第167行Lua錯誤:第一個參數必須是共享資源數據集名稱</span></strong>"

N test_msg_format / format13 Dataset [[c:Data:_bad_name_.tab]] is not valid 數據集[[c:Data:_bad_name_.tab]]無效
N test_msg_format_in_language / formatInLanguage13 Dataset [[c:Data:_bad_name_.tab]] is not valid 數據集[[c:Data:_bad_name_.tab]]無效


N 3 tests failed.

Name Expected Actual
Yes test_doc
Yes test_link
Yes test_msg
N test_msg_errors Module:TNT/testcases:90: msgerr01

Failed to find plain string "<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-" in string "<strong class="error"><span class="scribunto-error mw-scribunto-error-277f4ec9">Module:TNT/sandbox第154行Lua錯誤:第一個參數必須是共享資源數據集名稱</span></strong>"

N test_msg_format / format13 Dataset [[c:Data:_bad_name_.tab]] is not valid 數據集[[c:Data:_bad_name_.tab]]無效
N test_msg_format_in_language / formatInLanguage13 Dataset [[c:Data:_bad_name_.tab]] is not valid 數據集[[c:Data:_bad_name_.tab]]無效