MediaWiki
REL1_22
|
ContentHandler Database More...
Public Member Functions | |
dataGetContentModel () | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
tearDown () | |
testEquals ($titleA, $titleB, $expectedBool) | |
provideEquals Title::equals | |
testGetContentModel ($title, $expectedModelId) | |
dataGetContentModel Title::getContentModel | |
testHasContentModel ($title, $expectedModelId) | |
dataGetContentModel Title::hasContentModel | |
testHasSubjectNamespace ($title, $ns, $expectedBool) | |
provideHasSubjectNamespace Title::hasSubjectNamespace | |
testInNamespace ($title, $ns, $expectedBool) | |
provideInNamespace Title::inNamespace | |
testInNamespaces () | |
Title::inNamespaces | |
testIsCssJsSubpage ($title, $expectedBool) | |
provideIsCssJsSubpage Title::isCssJsSubpage | |
testIsCssOrJsPage ($title, $expectedBool) | |
provideIsCssOrJsPage Title::isCssOrJsPage | |
testIsCssSubpage ($title, $expectedBool) | |
provideIsCssSubpage Title::isCssSubpage | |
testIsJsSubpage ($title, $expectedBool) | |
provideIsJsSubpage Title::isJsSubpage | |
testIsWikitextPage ($title, $expectedBool) | |
provideIsWikitextPage Title::isWikitextPage | |
Static Public Member Functions | |
static | provideEquals () |
static | provideHasSubjectNamespace () |
static | provideInNamespace () |
static | provideIsCssJsSubpage () |
static | provideIsCssOrJsPage () |
static | provideIsCssSubpage () |
static | provideIsJsSubpage () |
static | provideIsWikitextPage () |
ContentHandler Database
Definition at line 10 of file TitleMethodsTest.php.
Definition at line 124 of file TitleMethodsTest.php.
References array().
static TitleMethodsTest::provideEquals | ( | ) | [static] |
Definition at line 45 of file TitleMethodsTest.php.
References array().
static TitleMethodsTest::provideHasSubjectNamespace | ( | ) | [static] |
Definition at line 102 of file TitleMethodsTest.php.
References array().
static TitleMethodsTest::provideInNamespace | ( | ) | [static] |
Definition at line 69 of file TitleMethodsTest.php.
References array().
static TitleMethodsTest::provideIsCssJsSubpage | ( | ) | [static] |
Definition at line 198 of file TitleMethodsTest.php.
References array().
static TitleMethodsTest::provideIsCssOrJsPage | ( | ) | [static] |
Definition at line 167 of file TitleMethodsTest.php.
References array().
static TitleMethodsTest::provideIsCssSubpage | ( | ) | [static] |
Definition at line 227 of file TitleMethodsTest.php.
References array().
static TitleMethodsTest::provideIsJsSubpage | ( | ) | [static] |
Definition at line 248 of file TitleMethodsTest.php.
References array().
static TitleMethodsTest::provideIsWikitextPage | ( | ) | [static] |
Definition at line 269 of file TitleMethodsTest.php.
References array().
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 12 of file TitleMethodsTest.php.
References $wgContLang, array(), cache, MWNamespace\getCanonicalNamespaces(), global, and MediaWikiTestCase\mergeMwGlobalArrayValue().
Reimplemented from MediaWikiTestCase.
Definition at line 36 of file TitleMethodsTest.php.
References $wgContLang, cache, MWNamespace\getCanonicalNamespaces(), and global.
TitleMethodsTest::testEquals | ( | $ | titleA, |
$ | titleB, | ||
$ | expectedBool | ||
) |
provideEquals Title::equals
Definition at line 61 of file TitleMethodsTest.php.
References Title\newFromText().
TitleMethodsTest::testGetContentModel | ( | $ | title, |
$ | expectedModelId | ||
) |
dataGetContentModel Title::getContentModel
Definition at line 153 of file TitleMethodsTest.php.
References $title, and Title\newFromText().
TitleMethodsTest::testHasContentModel | ( | $ | title, |
$ | expectedModelId | ||
) |
dataGetContentModel Title::hasContentModel
Definition at line 162 of file TitleMethodsTest.php.
References $title, and Title\newFromText().
TitleMethodsTest::testHasSubjectNamespace | ( | $ | title, |
$ | ns, | ||
$ | expectedBool | ||
) |
provideHasSubjectNamespace Title::hasSubjectNamespace
Definition at line 119 of file TitleMethodsTest.php.
References $title, and Title\newFromText().
TitleMethodsTest::testInNamespace | ( | $ | title, |
$ | ns, | ||
$ | expectedBool | ||
) |
provideInNamespace Title::inNamespace
Definition at line 86 of file TitleMethodsTest.php.
References $title, and Title\newFromText().
Definition at line 94 of file TitleMethodsTest.php.
References array(), and Title\newFromText().
TitleMethodsTest::testIsCssJsSubpage | ( | $ | title, |
$ | expectedBool | ||
) |
provideIsCssJsSubpage Title::isCssJsSubpage
Definition at line 222 of file TitleMethodsTest.php.
References $title, and Title\newFromText().
TitleMethodsTest::testIsCssOrJsPage | ( | $ | title, |
$ | expectedBool | ||
) |
provideIsCssOrJsPage Title::isCssOrJsPage
Definition at line 193 of file TitleMethodsTest.php.
References $title, and Title\newFromText().
TitleMethodsTest::testIsCssSubpage | ( | $ | title, |
$ | expectedBool | ||
) |
provideIsCssSubpage Title::isCssSubpage
Definition at line 243 of file TitleMethodsTest.php.
References $title, and Title\newFromText().
TitleMethodsTest::testIsJsSubpage | ( | $ | title, |
$ | expectedBool | ||
) |
provideIsJsSubpage Title::isJsSubpage
Definition at line 264 of file TitleMethodsTest.php.
References $title, and Title\newFromText().
TitleMethodsTest::testIsWikitextPage | ( | $ | title, |
$ | expectedBool | ||
) |
provideIsWikitextPage Title::isWikitextPage
Definition at line 296 of file TitleMethodsTest.php.
References $title, and Title\newFromText().