MediaWiki  master
ExtensionRegistryTest Class Reference

ExtensionRegistry. More...

Inheritance diagram for ExtensionRegistryTest:
Collaboration diagram for ExtensionRegistryTest:

Public Member Functions

 setUp ()
 
 testExportExtractedDataGlobals ( $desc, $before, $globals, $expected)
 provideExportExtractedDataGlobals More...
 
 testLoadFromQueue ()
 
 testLoadFromQueue_empty ()
 
 testLoadFromQueue_late ()
 
 testLoadFromQueueWithConstraintWithoutVersion ()
 LogicException. More...
 
 testLoadFromQueueWithConstraintWithVersion ()
 
 testQueue ()
 
 testQueue_invalid ()
 
 testReadFromQueue_nonexistent ()
 PHPUnit_Framework_Error. More...
 
 testReadFromQueueInitializeAutoloaderWithPsr4Namespaces ()
 
 testSetAttributeForTest ()
 
 testSetAttributeForTestDuplicate ()
 Exception The attribute 'foo' has already been overridden. More...
 

Static Public Member Functions

static provideExportExtractedDataGlobals ()
 

Private Attributes

 $dataDir
 

Detailed Description

ExtensionRegistry.

Definition at line 8 of file ExtensionRegistryTest.php.

Member Function Documentation

◆ provideExportExtractedDataGlobals()

static ExtensionRegistryTest::provideExportExtractedDataGlobals ( )
static

Definition at line 150 of file ExtensionRegistryTest.php.

References false, ExtensionRegistry\MERGE_STRATEGY, and null.

◆ setUp()

ExtensionRegistryTest::setUp ( )

Definition at line 12 of file ExtensionRegistryTest.php.

◆ testExportExtractedDataGlobals()

ExtensionRegistryTest::testExportExtractedDataGlobals (   $desc,
  $before,
  $globals,
  $expected 
)

provideExportExtractedDataGlobals

Definition at line 109 of file ExtensionRegistryTest.php.

References $GLOBALS, $name, $value, as, and class.

◆ testLoadFromQueue()

ExtensionRegistryTest::testLoadFromQueue ( )

Definition at line 56 of file ExtensionRegistryTest.php.

◆ testLoadFromQueue_empty()

ExtensionRegistryTest::testLoadFromQueue_empty ( )

Definition at line 39 of file ExtensionRegistryTest.php.

◆ testLoadFromQueue_late()

ExtensionRegistryTest::testLoadFromQueue_late ( )

Definition at line 45 of file ExtensionRegistryTest.php.

References class.

◆ testLoadFromQueueWithConstraintWithoutVersion()

ExtensionRegistryTest::testLoadFromQueueWithConstraintWithoutVersion ( )

LogicException.

Definition at line 78 of file ExtensionRegistryTest.php.

◆ testLoadFromQueueWithConstraintWithVersion()

ExtensionRegistryTest::testLoadFromQueueWithConstraintWithVersion ( )

Definition at line 67 of file ExtensionRegistryTest.php.

◆ testQueue()

ExtensionRegistryTest::testQueue ( )

Definition at line 27 of file ExtensionRegistryTest.php.

References $path.

◆ testQueue_invalid()

ExtensionRegistryTest::testQueue_invalid ( )

Definition at line 17 of file ExtensionRegistryTest.php.

References $path, and class.

◆ testReadFromQueue_nonexistent()

ExtensionRegistryTest::testReadFromQueue_nonexistent ( )

PHPUnit_Framework_Error.

Definition at line 88 of file ExtensionRegistryTest.php.

◆ testReadFromQueueInitializeAutoloaderWithPsr4Namespaces()

ExtensionRegistryTest::testReadFromQueueInitializeAutoloaderWithPsr4Namespaces ( )

Definition at line 95 of file ExtensionRegistryTest.php.

◆ testSetAttributeForTest()

ExtensionRegistryTest::testSetAttributeForTest ( )

Definition at line 405 of file ExtensionRegistryTest.php.

◆ testSetAttributeForTestDuplicate()

ExtensionRegistryTest::testSetAttributeForTestDuplicate ( )

Exception The attribute 'foo' has already been overridden.

Definition at line 423 of file ExtensionRegistryTest.php.

Member Data Documentation

◆ $dataDir

ExtensionRegistryTest::$dataDir
private

Definition at line 10 of file ExtensionRegistryTest.php.


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