Module talk:Protection banner/testcases

Y All tests passed.

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