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

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.