MediaWiki  master
ArticleTest Class Reference
Inheritance diagram for ArticleTest:
Collaboration diagram for ArticleTest:

Public Member Functions

 testGetOrSetOnNewProperty ()
 Article::__get Article::__set. More...
 
 testImplementsGetMagic ()
 Article::__get. More...
 
 testImplementsSetMagic ()
 testImplementsGetMagic Article::__set More...
 

Protected Member Functions

 setUp ()
 creates a title object and its article object More...
 
 tearDown ()
 cleanup title object and its article object More...
 
- Protected Member Functions inherited from MediaWikiUnitTestCase
 setUp ()
 
 tearDown ()
 

Private Attributes

Article $article
 
Title $title
 

Detailed Description

Definition at line 3 of file ArticleTest.php.

Member Function Documentation

◆ setUp()

ArticleTest::setUp ( )
protected

creates a title object and its article object

Definition at line 15 of file ArticleTest.php.

References article, Title\makeTitle(), NS_MAIN, and title.

◆ tearDown()

ArticleTest::tearDown ( )
protected

cleanup title object and its article object

Definition at line 22 of file ArticleTest.php.

References article, null, and title.

◆ testGetOrSetOnNewProperty()

ArticleTest::testGetOrSetOnNewProperty ( )

Article::__get Article::__set.

Definition at line 48 of file ArticleTest.php.

References article.

◆ testImplementsGetMagic()

ArticleTest::testImplementsGetMagic ( )

Article::__get.

Definition at line 31 of file ArticleTest.php.

References article.

◆ testImplementsSetMagic()

ArticleTest::testImplementsSetMagic ( )

testImplementsGetMagic Article::__set

Definition at line 39 of file ArticleTest.php.

References article.

Member Data Documentation

◆ $article

Article ArticleTest::$article
private

Definition at line 12 of file ArticleTest.php.

◆ $title

Title ArticleTest::$title
private

Definition at line 8 of file ArticleTest.php.


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