MediaWiki  master
MediaWiki\Session\PHPSessionHandlerTest Class Reference

Session MediaWiki\Session\PHPSessionHandler. More...

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

Public Member Functions

 testDisabled ( $method, $args)
 provideDisabled BadMethodCallException Attempt to use PHP session management More...
 
 testEnableFlags ()
 
 testInstall ()
 
 testSessionHandling ( $handler)
 provideHandlers More...
 
 testWrongInstance ( $method, $args)
 provideWrongInstance UnexpectedValueException /: Wrong instance called!$/ More...
 

Static Public Member Functions

static provideDisabled ()
 
static provideHandlers ()
 
static provideWrongInstance ()
 

Private Member Functions

 getResetter (&$rProp=null)
 

Detailed Description

Member Function Documentation

◆ getResetter()

MediaWiki\Session\PHPSessionHandlerTest::getResetter ( $rProp = null)
private

◆ provideDisabled()

static MediaWiki\Session\PHPSessionHandlerTest::provideDisabled ( )
static

Definition at line 326 of file PHPSessionHandlerTest.php.

◆ provideHandlers()

static MediaWiki\Session\PHPSessionHandlerTest::provideHandlers ( )
static

Definition at line 298 of file PHPSessionHandlerTest.php.

◆ provideWrongInstance()

static MediaWiki\Session\PHPSessionHandlerTest::provideWrongInstance ( )
static

Definition at line 350 of file PHPSessionHandlerTest.php.

◆ testDisabled()

MediaWiki\Session\PHPSessionHandlerTest::testDisabled (   $method,
  $args 
)

provideDisabled BadMethodCallException Attempt to use PHP session management

Definition at line 311 of file PHPSessionHandlerTest.php.

References $args, $handler, class, and null.

◆ testEnableFlags()

MediaWiki\Session\PHPSessionHandlerTest::testEnableFlags ( )

◆ testInstall()

◆ testSessionHandling()

MediaWiki\Session\PHPSessionHandlerTest::testSessionHandling (   $handler)

provideHandlers

Parameters
string$handlerphp serialize_handler to use

Definition at line 98 of file PHPSessionHandlerTest.php.

References $handler, class, MediaWiki\Session\PHPSessionHandlerTest\getResetter(), MediaWiki\Session\PHPSessionHandler\install(), and null.

◆ testWrongInstance()

MediaWiki\Session\PHPSessionHandlerTest::testWrongInstance (   $method,
  $args 
)

provideWrongInstance UnexpectedValueException /: Wrong instance called!$/

Definition at line 340 of file PHPSessionHandlerTest.php.

References $args, $handler, class, and null.


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