MediaWiki  master
MediaWiki\Session\SessionProviderTest Class Reference

Session Database MediaWiki\Session\SessionProvider. More...

Inheritance diagram for MediaWiki\Session\SessionProviderTest:
Collaboration diagram for MediaWiki\Session\SessionProviderTest:

Public Member Functions

 testBasics ()
 
 testDescribe ()
 
 testGetAllowedUserRights ()
 
 testHashToSessionId ()
 
 testImmutableSessions ()
 
 testMergeMetadata ()
 
 testNewSessionInfo ( $persistId, $persistUser, $ok)
 provideNewSessionInfo More...
 

Static Public Member Functions

static provideNewSessionInfo ()
 

Detailed Description

Session Database MediaWiki\Session\SessionProvider.

Definition at line 13 of file SessionProviderTest.php.

Member Function Documentation

◆ provideNewSessionInfo()

static MediaWiki\Session\SessionProviderTest::provideNewSessionInfo ( )
static

Definition at line 110 of file SessionProviderTest.php.

References false, and true.

◆ testBasics()

MediaWiki\Session\SessionProviderTest::testBasics ( )

◆ testDescribe()

MediaWiki\Session\SessionProviderTest::testDescribe ( )

Definition at line 178 of file SessionProviderTest.php.

References class, and Language\factory().

◆ testGetAllowedUserRights()

MediaWiki\Session\SessionProviderTest::testGetAllowedUserRights ( )

◆ testHashToSessionId()

MediaWiki\Session\SessionProviderTest::testHashToSessionId ( )

Definition at line 144 of file SessionProviderTest.php.

References MediaWiki\$config, and class.

◆ testImmutableSessions()

MediaWiki\Session\SessionProviderTest::testImmutableSessions ( )

Definition at line 119 of file SessionProviderTest.php.

References class.

◆ testMergeMetadata()

MediaWiki\Session\SessionProviderTest::testMergeMetadata ( )

◆ testNewSessionInfo()

MediaWiki\Session\SessionProviderTest::testNewSessionInfo (   $persistId,
  $persistUser,
  $ok 
)

provideNewSessionInfo

Parameters
bool$persistIdReturn value for ->persistsSessionId()
bool$persistUserReturn value for ->persistsSessionUser()
bool$okWhether a SessionInfo is provided

Definition at line 58 of file SessionProviderTest.php.

References class.


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