MediaWiki REL1_31
VersionCheckerTest Class Reference

VersionChecker. More...

Inheritance diagram for VersionCheckerTest:
Collaboration diagram for VersionCheckerTest:

Public Member Functions

 testCheck ( $coreVersion, $constraint, $expected)
 provideCheck
 
 testInvalidConstraint ()
 Check, if a non-parsable version constraint does not throw an exception or returns any error message.
 
 testInvalidDependency ()
 T197478.
 
 testType ( $given, $expected)
 provideType
 

Static Public Member Functions

static provideCheck ()
 
static provideType ()
 

Detailed Description

VersionChecker.

Definition at line 6 of file VersionCheckerTest.php.

Member Function Documentation

◆ provideCheck()

static VersionCheckerTest::provideCheck ( )
static

Definition at line 23 of file VersionCheckerTest.php.

References false, and true.

◆ provideType()

static VersionCheckerTest::provideType ( )
static

Definition at line 63 of file VersionCheckerTest.php.

◆ testCheck()

VersionCheckerTest::testCheck ( $coreVersion,
$constraint,
$expected )

provideCheck

Definition at line 14 of file VersionCheckerTest.php.

◆ testInvalidConstraint()

VersionCheckerTest::testInvalidConstraint ( )

Check, if a non-parsable version constraint does not throw an exception or returns any error message.

Definition at line 152 of file VersionCheckerTest.php.

◆ testInvalidDependency()

VersionCheckerTest::testInvalidDependency ( )

T197478.

Definition at line 190 of file VersionCheckerTest.php.

◆ testType()

VersionCheckerTest::testType ( $given,
$expected )

provideType

Definition at line 50 of file VersionCheckerTest.php.


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