Semantic MediaWiki and related extensions
Public Member Functions | List of all members
Maps\Tests\Elements\BaseElementTest Class Reference
Collaboration diagram for Maps\Tests\Elements\BaseElementTest:
Collaboration graph
[legend]

Public Member Functions

 getClass ()
 
 validConstructorProvider ()
 
 invalidConstructorProvider ()
 
 newInstance ()
 
 instanceProvider ()
 
 testGivenValidArguments_constructorDoesNotThrowException ()
 
 testGivenInvalidArguments_constructorThrowsException ()
 
 testGetOptions (Element $element)
 

Detailed Description

Base class for unit tests classes for the Maps deriving objects.

Since
3.0

GNU GPL v2+

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

Member Function Documentation

Maps\Tests\Elements\BaseElementTest::getClass ( )
abstract

Returns the name of the concrete class tested by this test.

Since
3.0
Returns
string
Maps\Tests\Elements\BaseElementTest::instanceProvider ( )
Since
3.0
Returns
array [instance, constructor args]
Maps\Tests\Elements\BaseElementTest::invalidConstructorProvider ( )
Maps\Tests\Elements\BaseElementTest::newInstance ( )

Creates and returns a new instance of the concrete class.

Since
3.0
Returns
mixed
Maps\Tests\Elements\BaseElementTest::testGetOptions ( Element  $element)

instanceProvider

Parameters
Element$element
Maps\Tests\Elements\BaseElementTest::testGivenInvalidArguments_constructorThrowsException ( )

invalidConstructorProvider

Since
3.0
Maps\Tests\Elements\BaseElementTest::testGivenValidArguments_constructorDoesNotThrowException ( )

validConstructorProvider

Since
3.0
Maps\Tests\Elements\BaseElementTest::validConstructorProvider ( )
abstract

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