MediaWiki  1.33.0
VersionCheckerTest Class Reference

VersionChecker. More...

Inheritance diagram for VersionCheckerTest:
Collaboration diagram for VersionCheckerTest:

Public Member Functions

 provideInvalidAbilityType ()
 
 provideInvalidDependency ()
 
 testInvalidAbilityType ( $value)
 provideInvalidAbilityType More...
 
 testInvalidConstraint ()
 Check, if a non-parsable version constraint does not throw an exception or returns any error message. More...
 
 testInvalidDependency ( $depencency, $type)
 provideInvalidDependency More...
 
 testInvalidPhpExtensionConstraint ()
 
 testMediaWikiCheck ( $coreVersion, $constraint, $expected)
 provideMediaWikiCheck More...
 
 testPhpInvalidConstraint ()
 UnexpectedValueException. More...
 
 testPhpInvalidVersion ( $phpVersion)
 providePhpInvalidVersion UnexpectedValueException More...
 
 testPhpValidCheck ( $phpVersion, $constraint, $expected)
 providePhpValidCheck More...
 
 testType ( $given, $expected)
 provideType More...
 

Static Public Member Functions

static provideMediaWikiCheck ()
 
static providePhpInvalidVersion ()
 
static providePhpValidCheck ()
 
static provideType ()
 

Detailed Description

VersionChecker.

Definition at line 6 of file VersionCheckerTest.php.

Member Function Documentation

◆ provideInvalidAbilityType()

VersionCheckerTest::provideInvalidAbilityType ( )

Definition at line 471 of file VersionCheckerTest.php.

References null.

◆ provideInvalidDependency()

VersionCheckerTest::provideInvalidDependency ( )

Definition at line 354 of file VersionCheckerTest.php.

◆ provideMediaWikiCheck()

static VersionCheckerTest::provideMediaWikiCheck ( )
static

Definition at line 23 of file VersionCheckerTest.php.

References false, and true.

◆ providePhpInvalidVersion()

static VersionCheckerTest::providePhpInvalidVersion ( )
static

Definition at line 92 of file VersionCheckerTest.php.

◆ providePhpValidCheck()

static VersionCheckerTest::providePhpValidCheck ( )
static

Definition at line 61 of file VersionCheckerTest.php.

References false, and true.

◆ provideType()

static VersionCheckerTest::provideType ( )
static

Definition at line 130 of file VersionCheckerTest.php.

◆ testInvalidAbilityType()

VersionCheckerTest::testInvalidAbilityType (   $value)

provideInvalidAbilityType

Definition at line 456 of file VersionCheckerTest.php.

References $value, and class.

◆ testInvalidConstraint()

VersionCheckerTest::testInvalidConstraint ( )

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

Definition at line 319 of file VersionCheckerTest.php.

References class.

◆ testInvalidDependency()

VersionCheckerTest::testInvalidDependency (   $depencency,
  $type 
)

provideInvalidDependency

Definition at line 421 of file VersionCheckerTest.php.

References class.

◆ testInvalidPhpExtensionConstraint()

VersionCheckerTest::testInvalidPhpExtensionConstraint ( )

Definition at line 438 of file VersionCheckerTest.php.

References class.

◆ testMediaWikiCheck()

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

provideMediaWikiCheck

Definition at line 14 of file VersionCheckerTest.php.

◆ testPhpInvalidConstraint()

VersionCheckerTest::testPhpInvalidConstraint ( )

UnexpectedValueException.

Definition at line 73 of file VersionCheckerTest.php.

◆ testPhpInvalidVersion()

VersionCheckerTest::testPhpInvalidVersion (   $phpVersion)

providePhpInvalidVersion UnexpectedValueException

Definition at line 88 of file VersionCheckerTest.php.

◆ testPhpValidCheck()

VersionCheckerTest::testPhpValidCheck (   $phpVersion,
  $constraint,
  $expected 
)

providePhpValidCheck

Definition at line 50 of file VersionCheckerTest.php.

◆ testType()

VersionCheckerTest::testType (   $given,
  $expected 
)

provideType

Definition at line 103 of file VersionCheckerTest.php.


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