MediaWiki  master
EnhancedChangesListTest Class Reference

EnhancedChangesList. More...

Inheritance diagram for EnhancedChangesListTest:
Collaboration diagram for EnhancedChangesListTest:

Public Member Functions

 __construct ( $name=null, array $data=[], $dataName='')
 
 testBeginRecentChangesList_html ()
 
 testBeginRecentChangesList_jsModules ()
 
 testBeginRecentChangesList_styleModules ()
 
 testCategorizationLineFormatting ()
 
 testCategorizationLineFormattingWithRevision ()
 
 testEndRecentChangesList ()
 
 testRecentChangesLine ()
 
 testRecentChangesPrefix ()
 

Private Member Functions

 createCategorizationLine ( $recentChange)
 
 getCategorizationChange ( $timestamp, $thisId, $lastId)
 
 getEditChange ( $timestamp, $pageTitle='Cat')
 
 getLogChange ()
 
 newEnhancedChangesList ()
 

Private Attributes

TestRecentChangesHelper $testRecentChangesHelper
 

Additional Inherited Members

- Protected Member Functions inherited from MediaWikiLangTestCase
 setUp ()
 

Detailed Description

EnhancedChangesList.

Database

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Definition at line 10 of file EnhancedChangesListTest.php.

Constructor & Destructor Documentation

◆ __construct()

EnhancedChangesListTest::__construct (   $name = null,
array  $data = [],
  $dataName = '' 
)

Definition at line 17 of file EnhancedChangesListTest.php.

References $name.

Member Function Documentation

◆ createCategorizationLine()

EnhancedChangesListTest::createCategorizationLine (   $recentChange)
private

◆ getCategorizationChange()

EnhancedChangesListTest::getCategorizationChange (   $timestamp,
  $thisId,
  $lastId 
)
private

◆ getEditChange()

EnhancedChangesListTest::getEditChange (   $timestamp,
  $pageTitle = 'Cat' 
)
private

◆ getLogChange()

EnhancedChangesListTest::getLogChange ( )
private

Definition at line 195 of file EnhancedChangesListTest.php.

References $user.

Referenced by testEndRecentChangesList().

◆ newEnhancedChangesList()

◆ testBeginRecentChangesList_html()

EnhancedChangesListTest::testBeginRecentChangesList_html ( )

Definition at line 57 of file EnhancedChangesListTest.php.

References $html, and newEnhancedChangesList().

◆ testBeginRecentChangesList_jsModules()

EnhancedChangesListTest::testBeginRecentChangesList_jsModules ( )

Definition at line 48 of file EnhancedChangesListTest.php.

References $modules, and newEnhancedChangesList().

◆ testBeginRecentChangesList_styleModules()

EnhancedChangesListTest::testBeginRecentChangesList_styleModules ( )

Definition at line 23 of file EnhancedChangesListTest.php.

References newEnhancedChangesList().

◆ testCategorizationLineFormatting()

EnhancedChangesListTest::testCategorizationLineFormatting ( )

◆ testCategorizationLineFormattingWithRevision()

EnhancedChangesListTest::testCategorizationLineFormattingWithRevision ( )

◆ testEndRecentChangesList()

EnhancedChangesListTest::testEndRecentChangesList ( )
Todo:
more tests for actual formatting, this is more of a smoke test

Definition at line 140 of file EnhancedChangesListTest.php.

References $html, $matches, getEditChange(), getLogChange(), and newEnhancedChangesList().

◆ testRecentChangesLine()

EnhancedChangesListTest::testRecentChangesLine ( )
Todo:
more tests

Definition at line 67 of file EnhancedChangesListTest.php.

References $html, getEditChange(), and newEnhancedChangesList().

◆ testRecentChangesPrefix()

EnhancedChangesListTest::testRecentChangesPrefix ( )

Member Data Documentation

◆ $testRecentChangesHelper

TestRecentChangesHelper EnhancedChangesListTest::$testRecentChangesHelper
private

Definition at line 15 of file EnhancedChangesListTest.php.


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