|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Tests registering Component Installer with Composer. More...
Inheritance diagram for Composer\Test\InstallerTest:
Collaboration diagram for Composer\Test\InstallerTest:Public Member Functions | |
| testInstallerCreationShouldNotCreateComponentDirectory () | |
| Tests that the Installer doesn't create the Component directory. More... | |
| testComponentSupports ($type, $expected) | |
| Test the Installer's support() function. More... | |
| providerComponentSupports () | |
| Data provider for testComponentSupports(). More... | |
| testGetComponentPath ($expected, $package) | |
| Tests the Installer's getComponentPath function. More... | |
| providerGetComponentPath () | |
| Data provider for testGetComponentPath(). More... | |
Protected Member Functions | |
| setUp () | |
| {} More... | |
| tearDown () | |
| {} More... | |
Protected Attributes | |
| $componentDir = 'components' | |
| $config | |
| $fs | |
Tests registering Component Installer with Composer.
Definition at line 23 of file InstallerTest.php.
| Composer\Test\InstallerTest::providerComponentSupports | ( | ) |
Data provider for testComponentSupports().
Definition at line 100 of file InstallerTest.php.
| Composer\Test\InstallerTest::providerGetComponentPath | ( | ) |
Data provider for testGetComponentPath().
Definition at line 136 of file InstallerTest.php.
|
protected |
{}
Definition at line 40 of file InstallerTest.php.
|
protected |
{}
Definition at line 60 of file InstallerTest.php.
| Composer\Test\InstallerTest::testComponentSupports | ( | $type, | |
| $expected | |||
| ) |
Test the Installer's support() function.
| $type | The type of library. |
| $expected | Whether or not the given type is supported by Component Installer. |
@dataProvider providerComponentSupports
Definition at line 89 of file InstallerTest.php.
References sprintf.
| Composer\Test\InstallerTest::testGetComponentPath | ( | $expected, | |
| $package | |||
| ) |
Tests the Installer's getComponentPath function.
| $expected | The expected install path for the package. |
| $package | The package to test upon. |
@dataProvider providerGetComponentPath
Definition at line 121 of file InstallerTest.php.
| Composer\Test\InstallerTest::testInstallerCreationShouldNotCreateComponentDirectory | ( | ) |
Tests that the Installer doesn't create the Component directory.
Definition at line 70 of file InstallerTest.php.
|
protected |
Definition at line 25 of file InstallerTest.php.
|
protected |
Definition at line 30 of file InstallerTest.php.
|
protected |
Definition at line 35 of file InstallerTest.php.