MediaWiki  master
CategoryMembershipChangeTest Class Reference

CategoryMembershipChange. More...

Inheritance diagram for CategoryMembershipChangeTest:
Collaboration diagram for CategoryMembershipChangeTest:

Public Member Functions

 addDBDataOnce ()
 
 setUp ()
 
 testChangeAddedNoRev ()
 
 testChangeAddedWithRev ()
 
 testChangeRemovedNoRev ()
 
 testChangeRemovedWithRev ()
 

Static Public Member Functions

static newForCategorizationCallback (... $args)
 

Private Member Functions

 newChange (Revision $revision=null)
 

Static Private Attributes

static array Title [] User [] $lastNotifyArgs
 
static RecentChange $mockRecentChange
 
static int $notifyCallCounter = 0
 
static string $pageName = 'CategoryMembershipChangeTestPage'
 
static Revision $pageRev = null
 
static User $revUser = null
 

Additional Inherited Members

- Protected Member Functions inherited from MediaWikiLangTestCase
 setUp ()
 

Detailed Description

CategoryMembershipChange.

Database

Author
Addshore

Definition at line 10 of file CategoryMembershipChangeTest.php.

Member Function Documentation

◆ addDBDataOnce()

CategoryMembershipChangeTest::addDBDataOnce ( )

◆ newChange()

CategoryMembershipChangeTest::newChange ( Revision  $revision = null)
private

◆ newForCategorizationCallback()

static CategoryMembershipChangeTest::newForCategorizationCallback (   $args)
static

Definition at line 42 of file CategoryMembershipChangeTest.php.

References $args.

◆ setUp()

CategoryMembershipChangeTest::setUp ( )

Definition at line 48 of file CategoryMembershipChangeTest.php.

References class.

◆ testChangeAddedNoRev()

CategoryMembershipChangeTest::testChangeAddedNoRev ( )

Definition at line 74 of file CategoryMembershipChangeTest.php.

References newChange(), Title\newFromText(), NS_CATEGORY, and null.

◆ testChangeAddedWithRev()

CategoryMembershipChangeTest::testChangeAddedWithRev ( )

◆ testChangeRemovedNoRev()

CategoryMembershipChangeTest::testChangeRemovedNoRev ( )

Definition at line 94 of file CategoryMembershipChangeTest.php.

References newChange(), Title\newFromText(), NS_CATEGORY, and null.

◆ testChangeRemovedWithRev()

CategoryMembershipChangeTest::testChangeRemovedWithRev ( )

Member Data Documentation

◆ $lastNotifyArgs

array Title [] User [] CategoryMembershipChangeTest::$lastNotifyArgs
staticprivate

Definition at line 15 of file CategoryMembershipChangeTest.php.

◆ $mockRecentChange

RecentChange CategoryMembershipChangeTest::$mockRecentChange
staticprivate

Definition at line 25 of file CategoryMembershipChangeTest.php.

◆ $notifyCallCounter

int CategoryMembershipChangeTest::$notifyCallCounter = 0
staticprivate

Definition at line 20 of file CategoryMembershipChangeTest.php.

◆ $pageName

string CategoryMembershipChangeTest::$pageName = 'CategoryMembershipChangeTestPage'
staticprivate

Definition at line 40 of file CategoryMembershipChangeTest.php.

◆ $pageRev

Revision CategoryMembershipChangeTest::$pageRev = null
staticprivate

Definition at line 30 of file CategoryMembershipChangeTest.php.

◆ $revUser

User CategoryMembershipChangeTest::$revUser = null
staticprivate

Definition at line 35 of file CategoryMembershipChangeTest.php.


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