MediaWiki  1.30.0
VersionCheckerTest Class Reference

VersionChecker. More...

Inheritance diagram for VersionCheckerTest:
Collaboration diagram for VersionCheckerTest:

Public Member Functions

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

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 20 of file VersionCheckerTest.php.

References false, and true.

◆ provideType()

static VersionCheckerTest::provideType ( )
static

Definition at line 61 of file VersionCheckerTest.php.

◆ testCheck()

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

provideCheck

Definition at line 10 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 85 of file VersionCheckerTest.php.

◆ testType()

VersionCheckerTest::testType (   $given,
  $expected 
)

provideType

Definition at line 47 of file VersionCheckerTest.php.


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