MediaWiki REL1_32
VersionCheckerTest Class Reference

VersionChecker. More...

Inheritance diagram for VersionCheckerTest:
Collaboration diagram for VersionCheckerTest:

Public Member Functions

 provideInvalidDependency ()
 
 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

◆ provideInvalidDependency()

VersionCheckerTest::provideInvalidDependency ( )

Definition at line 263 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 116 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 228 of file VersionCheckerTest.php.

◆ testInvalidDependency()

VersionCheckerTest::testInvalidDependency ( $depencency,
$type )

provideInvalidDependency

Definition at line 310 of file VersionCheckerTest.php.

◆ testInvalidPhpExtensionConstraint()

VersionCheckerTest::testInvalidPhpExtensionConstraint ( )

Definition at line 319 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: