Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
SMW\Test\SettingsTest Class Reference
Inheritance diagram for SMW\Test\SettingsTest:
Inheritance graph
[legend]
Collaboration diagram for SMW\Test\SettingsTest:
Collaboration graph
[legend]

Public Member Functions

 testCanConstruct (array $settings)
 
 testGet (array $settings)
 
 testUnknownSettingThrowsException ()
 
 testSafeGetOnUnknownSetting ()
 
 testSet (array $settings)
 
 testNewFromGlobals (array $settings)
 
 testNestedSettingsIteration ( $test, $key, $expected)
 
 nestedSettingsProvider ()
 
 settingsProvider ()
 
 globalsSettingsProvider ()
 

Protected Member Functions

 tearDown ()
 

Detailed Description

semantic-mediawiki

GNU GPL v2+

Since
1.9
Author
mwjames
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

◆ globalsSettingsProvider()

SMW\Test\SettingsTest::globalsSettingsProvider ( )

Provides and collects individual smwg* settings

Returns
array

◆ nestedSettingsProvider()

SMW\Test\SettingsTest::nestedSettingsProvider ( )
Returns
array

◆ settingsProvider()

SMW\Test\SettingsTest::settingsProvider ( )

Provides sample data to be tested

Returns
array

◆ testCanConstruct()

SMW\Test\SettingsTest::testCanConstruct ( array  $settings)

settingsProvider

◆ testGet()

SMW\Test\SettingsTest::testGet ( array  $settings)

settingsProvider

◆ testNestedSettingsIteration()

SMW\Test\SettingsTest::testNestedSettingsIteration (   $test,
  $key,
  $expected 
)

nestedSettingsProvider

◆ testNewFromGlobals()

SMW\Test\SettingsTest::testNewFromGlobals ( array  $settings)

globalsSettingsProvider

◆ testSet()

SMW\Test\SettingsTest::testSet ( array  $settings)

settingsProvider


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

About | General disclaimer | Privacy policy