MediaWiki  master
ArticleViewTest Class Reference

\Article::view() More...

Inheritance diagram for ArticleViewTest:
Collaboration diagram for ArticleViewTest:

Public Member Functions

 testArticleAfterFetchContentObjectHook ()
 
 testArticleContentViewCustomHook ()
 
 testArticleRevisionViewCustomHook ()
 
 testArticleViewHeaderHook ()
 
 testGetOldId ()
 Article::getOldId() Article::getRevIdFetched() More...
 
 testShowMissingArticleHook ()
 
 testUnhiddenViewOfDeletedRevision ()
 
 testView ()
 
 testViewCached ()
 
 testViewDeletedPage ()
 
 testViewMessagePage ()
 
 testViewMissingPage ()
 
 testViewMissingUserPage ()
 
 testViewNonText ()
 
 testViewOfCurrentRevision ()
 
 testViewOfDeletedRevision ()
 
 testViewOfMissingRevision ()
 
 testViewOfOldRevision ()
 
 testViewRedirect ()
 Article::getRedirectTarget() More...
 
 testViewUserPageOfNonexistingUser ()
 

Protected Member Functions

 setUp ()
 

Private Member Functions

 getHtml (OutputPage $output)
 
 getPage ( $title, array $revisionContents=[], array &$revisions=[])
 

Detailed Description

\Article::view()

Definition at line 12 of file ArticleViewTest.php.

Member Function Documentation

◆ getHtml()

◆ getPage()

ArticleViewTest::getPage (   $title,
array  $revisionContents = [],
array &  $revisions = [] 
)
private

◆ setUp()

ArticleViewTest::setUp ( )
protected

Definition at line 14 of file ArticleViewTest.php.

◆ testArticleAfterFetchContentObjectHook()

ArticleViewTest::testArticleAfterFetchContentObjectHook ( )

◆ testArticleContentViewCustomHook()

ArticleViewTest::testArticleContentViewCustomHook ( )

◆ testArticleRevisionViewCustomHook()

ArticleViewTest::testArticleRevisionViewCustomHook ( )

◆ testArticleViewHeaderHook()

ArticleViewTest::testArticleViewHeaderHook ( )

◆ testGetOldId()

ArticleViewTest::testGetOldId ( )

◆ testShowMissingArticleHook()

ArticleViewTest::testShowMissingArticleHook ( )

◆ testUnhiddenViewOfDeletedRevision()

ArticleViewTest::testUnhiddenViewOfDeletedRevision ( )

◆ testView()

ArticleViewTest::testView ( )

Definition at line 99 of file ArticleViewTest.php.

References $article, $output, ContextSource\getContext(), getHtml(), and getPage().

◆ testViewCached()

ArticleViewTest::testViewCached ( )

Definition at line 112 of file ArticleViewTest.php.

References $article, $cache, $output, ContextSource\getContext(), getHtml(), and getPage().

◆ testViewDeletedPage()

ArticleViewTest::testViewDeletedPage ( )

Definition at line 340 of file ArticleViewTest.php.

References $article, $output, ContextSource\getContext(), getHtml(), and getPage().

◆ testViewMessagePage()

ArticleViewTest::testViewMessagePage ( )

◆ testViewMissingPage()

ArticleViewTest::testViewMissingPage ( )

Definition at line 329 of file ArticleViewTest.php.

References $article, $output, ContextSource\getContext(), getHtml(), and getPage().

◆ testViewMissingUserPage()

ArticleViewTest::testViewMissingUserPage ( )

◆ testViewNonText()

◆ testViewOfCurrentRevision()

ArticleViewTest::testViewOfCurrentRevision ( )

Definition at line 247 of file ArticleViewTest.php.

References $article, $output, ContextSource\getContext(), getHtml(), and getPage().

◆ testViewOfDeletedRevision()

ArticleViewTest::testViewOfDeletedRevision ( )

◆ testViewOfMissingRevision()

ArticleViewTest::testViewOfMissingRevision ( )

Definition at line 262 of file ArticleViewTest.php.

References $article, $output, ContextSource\getContext(), getHtml(), and getPage().

◆ testViewOfOldRevision()

ArticleViewTest::testViewOfOldRevision ( )

Definition at line 229 of file ArticleViewTest.php.

References $article, $output, ContextSource\getContext(), getHtml(), and getPage().

◆ testViewRedirect()

ArticleViewTest::testViewRedirect ( )

◆ testViewUserPageOfNonexistingUser()

ArticleViewTest::testViewUserPageOfNonexistingUser ( )

The documentation for this class was generated from the following file: