Module talk:Protection banner/testcases

checkY All tests passed.

Name Expected Actual
checkY testProtectionActionError
checkY testProtectionActionEdit
checkY testProtectionActionMove
checkY testProtectionActionAutoreview
checkY testProtectionActionUpload
checkY testProtectionNoAction
checkY testProtectionSemi
checkY testProtectionFull
checkY testProtectionUnprotected
checkY testProtectionSemiMove
checkY testProtectionTemplate
checkY testProtectionTitleBlacklist
checkY testProtectionReason
checkY testProtectionReasonLowerCase
checkY testProtectionBadReason
checkY testProtectionNoReason
checkY testProtectionProtectionDateIndef
checkY testProtectionProtectionDateTemp
checkY testProtectionNoProtectionDate
checkY testProtectionBadProtectionDate
checkY testProtectionMasterBannerConfigPrecedence1
checkY testProtectionMasterBannerConfigPrecedence2
checkY testProtectionMasterBannerConfigPrecedence3
checkY testProtectionMasterBannerConfigPrecedence4
checkY testProtectionMasterBannerConfigFields
checkY testProtectionIsUserScriptWithUserCSS
checkY testProtectionIsUserScriptWithUserJS
checkY testProtectionIsUserScriptWithUserPage
checkY testProtectionIsUserScriptWithNormalSubpage
checkY testProtectionIsUserScriptWithUsernameEndingInCSS
checkY testProtectionIsUserScriptWithUsernameEndingInJS
checkY testProtectionIsUserScriptWithSubpageContainingCSS
checkY testProtectionIsUserScriptWithNoSubpagePrefix
checkY testProtectionIsUserScriptWithBlankUsernameAndNoSubpagePrefix
checkY testProtectionIsUserScriptWhenUsernameIsOnlyCSS
checkY testProtectionIsUserScriptWithNonstandardCSSContentModel
checkY testProtectionIsUserScriptWithNonstandardJSContentModel
checkY testProtectionIsUserScriptWithNonstandardWikitextContentModel
checkY testProtectionIsUserScriptWithNonUserspacePage
checkY testProtectionIsProtectedTrue
checkY testProtectionIsProtectedFalse
checkY testProtectionShouldShowLockWithProtectedPage
checkY testProtectionShouldShowLockWithProtectedUserScript
checkY testProtectionShouldShowLockWithUnprotectedPage
checkY testProtectionShouldHaveProtectionCategoryWithProtectedPage
checkY testProtectionShouldHaveProtectionCategoryWithProtectedUserScript
checkY testProtectionShouldHaveProtectionCategoryWithUnprotectedPage
checkY testProtectionIsProtectedTrue
checkY testProtectionIsProtectedFalse1
checkY testProtectionIsProtectedFalse2
checkY testProtectionCategoryWithUnprotectedPage
checkY testProtectionCategoryPrecedence1
checkY testProtectionCategoryPrecedence2
checkY testProtectionCategoryPrecedence3
checkY testProtectionCategoryPrecedence4
checkY testProtectionCategoryPrecedence5
checkY testProtectionCategoryPrecedence6
checkY testProtectionCategoryPrecedence7
checkY testProtectionCategoryPrecedence8
checkY testProtectionCategoryPrecedence9
checkY testProtectionCategoryPrecedence10
checkY testProtectionCategoryAllAlls
checkY testProtectionCategoryNoFalseMatches
checkY testProtectionCategoryProtected
checkY testProtectionCategoryNotProtected
checkY testProtectionCategoryNoMatch
checkY testProtectionCategoryExpiryIndef
checkY testProtectionCategoryExpiryTemp
checkY testProtectionCategoryNoExpiry
checkY testProtectionCategoryNamespaceFragment
checkY testProtectionCategoryTalk
checkY testProtectionIsIncorrectTrue1
checkY testProtectionIsIncorrectTrue2
checkY testProtectionIsIncorrectFalse1
checkY testProtectionIsIncorrectFalse2
checkY testProtectionIsTemplateProtectedNonTemplateFalse1
checkY testProtectionIsTemplateProtectedNonTemplateFalse2
checkY testProtectionIsTemplateProtectedNonTemplateFalse3
checkY testProtectionIsTemplateProtectedNonTemplateFalse4
checkY testProtectionIsTemplateProtectedNonTemplateFalse5
checkY testProtectionIsTemplateProtectedNonTemplateTrue1
checkY testProtectionIsTemplateProtectedNonTemplateTrue2
checkY testProtectionMakeCategoryLinksAllPresent
checkY testProtectionMakeCategoryLinksAllAbsent
checkY testBlurbNew
checkY testBlurbFormatDateStandard
checkY testBlurbFormatDateCustom
checkY testBlurbFormatDateError
checkY testBlurbGetExpandedMessage
checkY testBlurbSubstituteParameters
checkY testBlurbMakeCurrentVersionParameterEdit
checkY testBlurbMakeCurrentVersionParameterMove
checkY testBlurbMakeEditRequestParameterLevels
checkY testBlurbMakeEditRequestParameterLink
checkY testBlurbMakeExpiryParameterTemp
checkY testBlurbMakeExpiryParameterOther
checkY testBlurbMakeExplanationBlurbParameter
checkY testBlurbMakeExplanationBlurbParameterSpecialCases
checkY testBlurbMakeImageLinkParameter
checkY testBlurbMakeIntroBlurbParameter
checkY testBlurbMakeIntroFragmentParameter
checkY testPagetypeParameter
checkY testBlurbMakeProtectionBlurbParameter
checkY testBlurbMakeProtectionDateParameter
checkY testBlurbMakeProtectionLevelParameter
checkY testBlurbMakeProtectionLogParameterPC
checkY testBlurbMakeProtectionLogParameterProtection
checkY testBlurbMakeTalkPageParameter
checkY testBlurbMakeTooltipBlurbParameter
checkY testBlurbMakeTooltipFragmentParameter
checkY testBlurbMakeVandalTemplateParameter
checkY testBlurbMakeBannerTextBadInput
checkY testBlurbMakeBannerTextGoodInput
checkY testBlurbMakeBannerTextString
checkY testBlurbMakeBannerTextBadFunction
checkY testBlurbMakeBannerTextGoodFunction
checkY testBannerTemplateNewCfg
checkY testBannerTemplateNewImageIndefTemplateOrModule
checkY testBannerTemplateNewImageUsesIndefReason
checkY testBannerTemplateNewImageDefault
checkY testBannerTemplateRenderImageFilename
checkY testBannerTemplateRenderImageDefault
checkY testBannerTemplateRenderImageDefaultNoConfig
checkY testBannerTemplateRenderImageDefaultWidth
checkY testBannerTemplateRenderImageCustomWidth
checkY testBannerTemplateRenderImageAlt
checkY testBannerTemplateRenderImageLink
checkY testBannerTemplateRenderImageCaption
checkY testBannerNew
checkY testBannerToStringError
checkY testBannerToString
checkY testPadlockNew
checkY testPadlockNewIndicators
checkY testPadlockToString
checkY test_mainError
checkY testCatOnlyHidesOutput
checkY testCatOnlyShowsCategory
checkY testCatOnlyNoGivesOutput
checkY testCatOnlyNoShowsCategory
checkY test_mainSmall1
checkY test_mainSmall2
checkY test_mainSmall3
checkY test_mainLarge1
checkY test_mainLarge2
checkY test_mainLarge3
checkY test_mainLarge4
checkY test_mainNoBanner
checkY test_mainNoBannerForUserScripts
checkY test_mainCategories
checkY testMainHasOutput
checkY testMainWrapper
checkY testMainWrapperOverride
checkY testMainWrapperSandbox
checkY testMainNoWrapper

Start a discussion about improving the Module:Protection banner/testcases page

Start a discussion