MediaWiki REL1_33
|
Public Member Functions | |
elementInstancesProvider () | |
Returns objects that can serve as elements in the concrete GenericArrayObject deriving class being tested. | |
getInstanceClass () | |
Returns the name of the concrete class being tested. | |
instanceProvider () | |
Provides instances of the concrete class being tested. | |
testAppend (array $elements) | |
elementInstancesProvider | |
testConstructor (array $elements) | |
elementInstancesProvider | |
testIsEmpty (array $elements) | |
elementInstancesProvider | |
testOffsetSet (array $elements) | |
elementInstancesProvider | |
testSerialization (GenericArrayObject $list) | |
instanceProvider | |
testUnset (GenericArrayObject $list) | |
instanceProvider | |
Protected Member Functions | |
checkTypeChecks ( $function) | |
getNew (array $elements=[]) | |
Definition at line 29 of file GenericArrayObjectTest.php.
|
protected |
callable | $function |
Definition at line 177 of file GenericArrayObjectTest.php.
References and(), and getNew().
Referenced by testAppend(), and testOffsetSet().
|
abstract |
Returns objects that can serve as elements in the concrete GenericArrayObject deriving class being tested.
Referenced by instanceProvider().
|
abstract |
Returns the name of the concrete class being tested.
Referenced by getNew().
|
protected |
array | $elements |
Definition at line 76 of file GenericArrayObjectTest.php.
References getInstanceClass().
Referenced by checkTypeChecks(), instanceProvider(), testAppend(), testConstructor(), testIsEmpty(), and testOffsetSet().
GenericArrayObjectTest::instanceProvider | ( | ) |
Provides instances of the concrete class being tested.
Definition at line 59 of file GenericArrayObjectTest.php.
References elementInstancesProvider(), and getNew().
GenericArrayObjectTest::testAppend | ( | array | $elements | ) |
elementInstancesProvider
array | $elements |
Definition at line 148 of file GenericArrayObjectTest.php.
References and(), GenericArrayObject\append(), checkTypeChecks(), and getNew().
GenericArrayObjectTest::testConstructor | ( | array | $elements | ) |
elementInstancesProvider
array | $elements |
GenericArrayObject::__construct
Definition at line 91 of file GenericArrayObjectTest.php.
GenericArrayObjectTest::testIsEmpty | ( | array | $elements | ) |
elementInstancesProvider
array | $elements |
Definition at line 106 of file GenericArrayObjectTest.php.
GenericArrayObjectTest::testOffsetSet | ( | array | $elements | ) |
elementInstancesProvider
array | $elements | GenericArrayObject::getObjectType GenericArrayObject::offsetSet |
Definition at line 210 of file GenericArrayObjectTest.php.
References and(), checkTypeChecks(), getNew(), and GenericArrayObject\offsetSet().
GenericArrayObjectTest::testSerialization | ( | GenericArrayObject | $list | ) |
instanceProvider
GenericArrayObject | $list |
GenericArrayObject::getSerializationData GenericArrayObject::serialize GenericArrayObject::unserialize
Definition at line 267 of file GenericArrayObjectTest.php.
References and(), serialize(), and unserialize().
GenericArrayObjectTest::testUnset | ( | GenericArrayObject | $list | ) |
instanceProvider
GenericArrayObject | $list |
GenericArrayObject::offsetUnset
Definition at line 121 of file GenericArrayObjectTest.php.
References and(), and GenericArrayObject\isEmpty().