1
0
Fork 0
composer/tests/Composer/Test
Michael Chekin 6d9bf42655
Additional Util\RemoteFileSystem tests (#8960)
* RemoteFilesystemTest: simplifying some mock expectations calls

- will($this->returnValue()) to willReturn()
- will($this->returnCallBack()) to willReturnCallback()

* RemoteFilesystemTest: extracting identical mocks for IOInterface into a separate getIOInterfaceMock() method

* RemoteFilesystemTest: converting protected helper methods to private.

* RemoteFilesystemTest: moving getConfigMock() private method after the public methods (with other private methods)

* adding RemoteFileSystemTest::testCopyWithRetryAuthFailureFalse() unit test.

* Allow optional injecting of AuthHelper into RemoteFilesystem constructor.

* adding RemoteFileSystemTest::testCopyWithSuccessOnRetry() unit test.

* using backward compatible @expectedException in RemoteFilesystemTest.php

* RemoteFilesystemTest: extracting RemoteFilesystem with mocked method creation into a separate method.

* RemoteFilesystemTest: extracting AuthHelper with mocked method creation into a separate method.
2020-06-16 09:35:33 +02:00
..
Autoload Add tests for #8861 2020-06-01 16:01:43 +02:00
Command Fix build 2020-02-11 11:41:31 +01:00
Config Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Console PHPStan fixes 2020-02-07 23:10:10 +01:00
DependencyResolver Use RULE_LEARNED instead of RULE_FIXED 2020-06-02 13:21:05 +02:00
Downloader Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 2020-06-04 16:08:23 +02:00
EventDispatcher Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock 2020-02-12 14:35:31 +01:00
Fixtures Merge pull request #8937 from Seldaek/optim-rules 2020-06-03 14:17:13 +02:00
IO Build tweaks 2020-05-20 16:20:54 +02:00
Installer Fix tests 2020-04-23 10:29:22 +02:00
Json Add package naming pattern to the composer.json JSON schema 2020-04-15 13:43:05 +02:00
Mock Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 2020-06-04 16:08:23 +02:00
Package Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 2020-06-04 16:08:23 +02:00
Plugin Refactor away some unnecessary RepositorySet usages 2020-02-13 17:51:22 +01:00
Question use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
Repository Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 2020-06-04 16:08:23 +02:00
Script Fix indenting 2019-07-29 16:44:50 +02:00
Util Additional Util\RemoteFileSystem tests (#8960) 2020-06-16 09:35:33 +02:00
AllFunctionalTest.php Make usage of foreach to improve readability 2019-07-24 02:39:40 +02:00
ApplicationTest.php do not use env 2020-02-07 13:07:01 +08:00
CacheTest.php Merge branch 'master' into 2.0 2020-02-07 22:20:51 +01:00
ComposerTest.php Add parallel download capability to FileDownloader and derivatives 2019-01-18 08:39:03 +01:00
ConfigTest.php fix risky tests (without any assertion) 2020-02-07 14:35:07 +08:00
DefaultConfigTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
FactoryTest.php Fix factory test 2019-01-14 17:29:23 +01:00
InstalledVersionsTest.php Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 2020-04-22 12:10:09 +02:00
InstallerTest.php Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues 2020-06-02 11:22:09 +02:00
TestCase.php Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 2020-04-22 12:10:09 +02:00