You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
4 years ago
..
Autoload Add tests for #8861 4 years ago
Command Fix build 4 years ago
Config Fixes from PHPStan (#7687) 6 years ago
Console PHPStan fixes 4 years ago
DependencyResolver Use RULE_LEARNED instead of RULE_FIXED 4 years ago
Downloader Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
EventDispatcher Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock 4 years ago
Fixtures Merge pull request #8937 from Seldaek/optim-rules 4 years ago
IO Build tweaks 4 years ago
Installer Fix tests 4 years ago
Json Add package naming pattern to the composer.json JSON schema 4 years ago
Mock Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
Package Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
Plugin Refactor away some unnecessary RepositorySet usages 4 years ago
Question use Symfony PHPUnit Bridge 4 years ago
Repository Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks 4 years ago
Script Fix indenting 5 years ago
Util Additional Util\RemoteFileSystem tests (#8960) 4 years ago
AllFunctionalTest.php Make usage of foreach to improve readability 5 years ago
ApplicationTest.php do not use env 4 years ago
CacheTest.php Merge branch 'master' into 2.0 4 years ago
ComposerTest.php Add parallel download capability to FileDownloader and derivatives 6 years ago
ConfigTest.php fix risky tests (without any assertion) 4 years ago
DefaultConfigTest.php Fixes from PHPStan (#7687) 6 years ago
FactoryTest.php Fix factory test 6 years ago
InstalledVersionsTest.php Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 4 years ago
InstallerTest.php Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues 4 years ago
TestCase.php Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 4 years ago