MediaWiki REL1_33
VersionCheckerTest Class Reference

VersionChecker. More...

Inheritance diagram for VersionCheckerTest:
Collaboration diagram for VersionCheckerTest:

Public Member Functions

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

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.

◆ 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.

◆ testInvalidDependency()

VersionCheckerTest::testInvalidDependency (   $depencency,
  $type 
)

provideInvalidDependency

Definition at line 421 of file VersionCheckerTest.php.

◆ testInvalidPhpExtensionConstraint()

VersionCheckerTest::testInvalidPhpExtensionConstraint ( )

Definition at line 438 of file VersionCheckerTest.php.

◆ 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: