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

Public Member Functions

 testConstructor ( $prefix)
 GlobalVarConfig::__construct provideConstructor. More...
 
 testGet ( $name, $prefix, $expected)
 provideGet GlobalVarConfig::get GlobalVarConfig::getWithPrefix More...
 
 testHas ()
 GlobalVarConfig::has GlobalVarConfig::hasWithPrefix. More...
 
 testNewInstance ()
 GlobalVarConfig::newInstance. More...
 

Static Public Member Functions

static provideConstructor ()
 
static provideGet ()
 

Detailed Description

Definition at line 3 of file GlobalVarConfigTest.php.

Member Function Documentation

◆ provideConstructor()

static GlobalVarConfigTest::provideConstructor ( )
static

Definition at line 28 of file GlobalVarConfigTest.php.

◆ provideGet()

static GlobalVarConfigTest::provideGet ( )
static

Definition at line 49 of file GlobalVarConfigTest.php.

References $GLOBALS, $value, as, and false.

◆ testConstructor()

GlobalVarConfigTest::testConstructor (   $prefix)

GlobalVarConfig::__construct provideConstructor.

Definition at line 20 of file GlobalVarConfigTest.php.

References class.

◆ testGet()

GlobalVarConfigTest::testGet (   $name,
  $prefix,
  $expected 
)

provideGet GlobalVarConfig::get GlobalVarConfig::getWithPrefix

Parameters
string$name
string$prefix
string$expected

Definition at line 78 of file GlobalVarConfigTest.php.

References $name, and class.

◆ testHas()

GlobalVarConfigTest::testHas ( )

◆ testNewInstance()

GlobalVarConfigTest::testNewInstance ( )

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