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

Public Member Functions

 invalidConstructorProvider ()
 
 newInstance ()
 
 getClass ()
 
 instanceProvider ()
 
 validConstructorProvider ()
 
 testGivenValidArguments_constructorDoesNotThrowException ()
 
 testGivenInvalidArguments_constructorThrowsException ()
 

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

◆ getClass()

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

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

Since
3.0
Returns
string

◆ instanceProvider()

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

◆ newInstance()

Maps\Tests\Unit\Elements\BaseElementTest::newInstance ( )

Creates and returns a new instance of the concrete class.

Since
3.0
Returns
mixed

◆ testGivenInvalidArguments_constructorThrowsException()

Maps\Tests\Unit\Elements\BaseElementTest::testGivenInvalidArguments_constructorThrowsException ( )

invalidConstructorProvider

Since
3.0

◆ testGivenValidArguments_constructorDoesNotThrowException()

Maps\Tests\Unit\Elements\BaseElementTest::testGivenValidArguments_constructorDoesNotThrowException ( )

validConstructorProvider

Since
3.0

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

About | General disclaimer | Privacy policy