ComposerPluginsValidatorComplexInvalidTest.php
Namespace
Drupal\Tests\package_manager\KernelFile
-
core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPluginsValidatorComplexInvalidTest.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\package_manager\Kernel;
/**
* @covers \Drupal\package_manager\Validator\ComposerPluginsValidator
* @group package_manager
* @group #slow
* @internal
*/
class ComposerPluginsValidatorComplexInvalidTest extends ComposerPluginsValidatorTestBase {
/**
* Tests composer plugins are validated during pre-create.
*
* @dataProvider providerComplexInvalidCases
*/
public function testValidationDuringPreCreate(array $composer_config_to_add, array $packages_to_add, array $expected_results) : void {
$this->doTestValidationDuringPreCreate($composer_config_to_add, $packages_to_add, $expected_results);
}
/**
* Tests composer plugins are validated during pre-apply.
*
* @dataProvider providerComplexInvalidCases
*/
public function testValidationDuringPreApply(array $composer_config_to_add, array $packages_to_add, array $expected_results) : void {
$this->doTestValidationDuringPreApply($composer_config_to_add, $packages_to_add, $expected_results);
}
/**
* Tests additional composer plugins can be trusted during pre-create.
*
* @dataProvider providerComplexInvalidCases
*/
public function testValidationAfterTrustingDuringPreCreate(array $composer_config_to_add, array $packages_to_add, array $expected_results) : void {
$this->doTestValidationAfterTrustingDuringPreCreate($composer_config_to_add, $packages_to_add, $expected_results);
}
/**
* Tests additional composer plugins can be trusted during pre-apply.
*
* @dataProvider providerComplexInvalidCases
*/
public function testValidationAfterTrustingDuringPreApply(array $composer_config_to_add, array $packages_to_add, array $expected_results) : void {
$this->doTestValidationAfterTrustingDuringPreApply($composer_config_to_add, $packages_to_add, $expected_results);
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
ComposerPluginsValidatorComplexInvalidTest | @covers \Drupal\package_manager\Validator\ComposerPluginsValidator @group package_manager @group #slow @internal |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.