Module talk:Check DYK hook/testcases
Appearance
All tests passed.
Name | Expected | Actual | |
---|---|---|---|
![]() |
testIsValidHook_ReturnsTrue_ForHooksStartingWithThat | ||
![]() |
testIsValidHook_ReturnsTrue_ForHooksStartingWithAbout | ||
![]() |
testIsValidHook_ReturnsFalse_ForHooksStartingWithOtherWords | ||
![]() |
testIsValidHook_ReturnsTrue_ForHooksEndingWithAQuestionMark | ||
![]() |
testIsValidHook_ReturnsTrue_ForHooksEndingWithAQuestionMarkHTMLEncodedInsideASpan | ||
![]() |
testIsValidHook_ReturnsTrue_ForHooksEndingWithYouProbablyDid | ||
![]() |
testIsValidHook_ReturnsFalse_ForHooksNotEndingInAQuestionMark | ||
![]() |
testIsValidHook_RaisesError_WhenHookIsNotAString | ||
![]() |
testTemplateIsValidHook_ReturnsYes_ForHooksStartingWithThat | ||
![]() |
testTemplateIsValidHook_ReturnsBlank_ForHooksStartingWithOtherWords | ||
![]() |
testTemplateIsValidHook_ReturnsYes_ForHooksWithWhitespace | ||
![]() |
testTemplateIsValidHook_ReturnsBlank_ForInvalidHooksWithWhitespace | ||
![]() |
testTemplateIsValidHook_ReturnsYes_ForHooksEndingWithAQuestionMarkHTMLEncodedInsideASpan | ||
![]() |
testTemplateIsValidHook_ReturnsYes_ForHooksEndingWithAQuestionMarkHTMLEncodedInsideASpanWithWhitespace | ||
![]() |
testTemplateIsValidHook_ReturnsYes_WhenCalledWithValidHookWithHookKeywordArgument | ||
![]() |
testTemplateIsValidHook_RaisesError_WhenNoHookSupplied |