|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Pimple\Tests\PimpleTest:
Collaboration diagram for Pimple\Tests\PimpleTest:Public Member Functions | |
| testWithString () | |
| testWithClosure () | |
| testServicesShouldBeDifferent () | |
| testShouldPassContainerAsParameter () | |
| testIsset () | |
| testConstructorInjection () | |
| testOffsetGetValidatesKeyIsPresent () | |
| @expectedException \InvalidArgumentException @expectedExceptionMessage Identifier "foo" is not defined. More... | |
| testOffsetGetHonorsNullValues () | |
| testUnset () | |
| testShare ($service) | |
| @dataProvider serviceDefinitionProvider More... | |
| testProtect ($service) | |
| @dataProvider serviceDefinitionProvider More... | |
| testGlobalFunctionNameAsParameterValue () | |
| testRaw () | |
| testRawHonorsNullValues () | |
| testFluentRegister () | |
| testRawValidatesKeyIsPresent () | |
| @expectedException \InvalidArgumentException @expectedExceptionMessage Identifier "foo" is not defined. More... | |
| testExtend ($service) | |
| @dataProvider serviceDefinitionProvider More... | |
| testExtendDoesNotLeakWithFactories () | |
| testExtendValidatesKeyIsPresent () | |
| @expectedException \InvalidArgumentException @expectedExceptionMessage Identifier "foo" is not defined. More... | |
| testKeys () | |
| settingAnInvokableObjectShouldTreatItAsFactory () | |
| settingNonInvokableObjectShouldTreatItAsParameter () | |
| testFactoryFailsForInvalidServiceDefinitions ($service) | |
| @dataProvider badServiceDefinitionProvider @expectedException \InvalidArgumentException @expectedExceptionMessage Service definition is not a Closure or invokable object. More... | |
| testProtectFailsForInvalidServiceDefinitions ($service) | |
| @dataProvider badServiceDefinitionProvider @expectedException \InvalidArgumentException @expectedExceptionMessage Callable is not a Closure or invokable object. More... | |
| testExtendFailsForKeysNotContainingServiceDefinitions ($service) | |
| @dataProvider badServiceDefinitionProvider @expectedException \InvalidArgumentException @expectedExceptionMessage Identifier "foo" does not contain an object definition. More... | |
| testExtendFailsForInvalidServiceDefinitions ($service) | |
| @dataProvider badServiceDefinitionProvider @expectedException \InvalidArgumentException @expectedExceptionMessage Extension service definition is not a Closure or invokable object. More... | |
| badServiceDefinitionProvider () | |
| Provider for invalid service definitions. More... | |
| serviceDefinitionProvider () | |
| Provider for service definitions. More... | |
| testDefiningNewServiceAfterFreeze () | |
| testOverridingServiceAfterFreeze () | |
| @expectedException \RuntimeException @expectedExceptionMessage Cannot override frozen service "foo". More... | |
| testRemovingServiceAfterFreeze () | |
| testExtendingService () | |
| testExtendingServiceAfterOtherServiceFreeze () | |
Definition at line 34 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::badServiceDefinitionProvider | ( | ) |
Provider for invalid service definitions.
Definition at line 339 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::serviceDefinitionProvider | ( | ) |
Provider for service definitions.
Definition at line 350 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::settingAnInvokableObjectShouldTreatItAsFactory | ( | ) |
Definition at line 273 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::settingNonInvokableObjectShouldTreatItAsParameter | ( | ) |
Definition at line 282 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testConstructorInjection | ( | ) |
Definition at line 100 of file PimpleTest.php.
References PHPMailer\PHPMailer\$params.
| Pimple\Tests\PimpleTest::testDefiningNewServiceAfterFreeze | ( | ) |
Definition at line 363 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testExtend | ( | $service | ) |
@dataProvider serviceDefinitionProvider
Definition at line 206 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testExtendDoesNotLeakWithFactories | ( | ) |
Definition at line 233 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testExtendFailsForInvalidServiceDefinitions | ( | $service | ) |
@dataProvider badServiceDefinitionProvider @expectedException \InvalidArgumentException @expectedExceptionMessage Extension service definition is not a Closure or invokable object.
Definition at line 329 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testExtendFailsForKeysNotContainingServiceDefinitions | ( | $service | ) |
@dataProvider badServiceDefinitionProvider @expectedException \InvalidArgumentException @expectedExceptionMessage Identifier "foo" does not contain an object definition.
Definition at line 317 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testExtendingService | ( | ) |
Definition at line 409 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testExtendingServiceAfterOtherServiceFreeze | ( | ) |
Definition at line 424 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testExtendValidatesKeyIsPresent | ( | ) |
@expectedException \InvalidArgumentException @expectedExceptionMessage Identifier "foo" is not defined.
Definition at line 257 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testFactoryFailsForInvalidServiceDefinitions | ( | $service | ) |
@dataProvider badServiceDefinitionProvider @expectedException \InvalidArgumentException @expectedExceptionMessage Service definition is not a Closure or invokable object.
Definition at line 295 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testFluentRegister | ( | ) |
Definition at line 187 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testGlobalFunctionNameAsParameterValue | ( | ) |
Definition at line 166 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testIsset | ( | ) |
Definition at line 84 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testKeys | ( | ) |
Definition at line 263 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testOffsetGetHonorsNullValues | ( | ) |
Definition at line 118 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testOffsetGetValidatesKeyIsPresent | ( | ) |
@expectedException \InvalidArgumentException @expectedExceptionMessage Identifier "foo" is not defined.
Definition at line 112 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testOverridingServiceAfterFreeze | ( | ) |
@expectedException \RuntimeException @expectedExceptionMessage Cannot override frozen service "foo".
Definition at line 381 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testProtect | ( | $service | ) |
@dataProvider serviceDefinitionProvider
Definition at line 158 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testProtectFailsForInvalidServiceDefinitions | ( | $service | ) |
@dataProvider badServiceDefinitionProvider @expectedException \InvalidArgumentException @expectedExceptionMessage Callable is not a Closure or invokable object.
Definition at line 306 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testRaw | ( | ) |
Definition at line 173 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testRawHonorsNullValues | ( | ) |
Definition at line 180 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testRawValidatesKeyIsPresent | ( | ) |
@expectedException \InvalidArgumentException @expectedExceptionMessage Identifier "foo" is not defined.
Definition at line 197 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testRemovingServiceAfterFreeze | ( | ) |
Definition at line 394 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testServicesShouldBeDifferent | ( | ) |
Definition at line 54 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testShare | ( | $service | ) |
@dataProvider serviceDefinitionProvider
Definition at line 141 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testShouldPassContainerAsParameter | ( | ) |
Definition at line 70 of file PimpleTest.php.
References $container.
| Pimple\Tests\PimpleTest::testUnset | ( | ) |
Definition at line 125 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testWithClosure | ( | ) |
Definition at line 44 of file PimpleTest.php.
| Pimple\Tests\PimpleTest::testWithString | ( | ) |
Definition at line 36 of file PimpleTest.php.