class RemoteFileDeleteRecursiveTest
Same name and namespace in other branches
- 11.x core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteRecursiveTest.php \Drupal\KernelTests\Core\File\RemoteFileDeleteRecursiveTest
- 10 core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteRecursiveTest.php \Drupal\KernelTests\Core\File\RemoteFileDeleteRecursiveTest
- 8.9.x core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteRecursiveTest.php \Drupal\KernelTests\Core\File\RemoteFileDeleteRecursiveTest
Tests the unmanaged file delete recursive function.
@group File
Hierarchy
- class \Drupal\KernelTests\KernelTestBase extends \Drupal\Core\DependencyInjection\ServiceProviderInterface uses \Drupal\KernelTests\AssertLegacyTrait, \Drupal\KernelTests\AssertContentTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\ExtensionListTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\Traits\PhpUnitWarnings, \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait implements \PHPUnit\Framework\TestCase
- class \Drupal\KernelTests\Core\File\FileTestBase implements \Drupal\KernelTests\KernelTestBase
- class \Drupal\KernelTests\Core\File\FileDeleteRecursiveTest implements \Drupal\KernelTests\Core\File\FileTestBase
- class \Drupal\KernelTests\Core\File\RemoteFileDeleteRecursiveTest implements \Drupal\KernelTests\Core\File\FileDeleteRecursiveTest
- class \Drupal\KernelTests\Core\File\FileDeleteRecursiveTest implements \Drupal\KernelTests\Core\File\FileTestBase
- class \Drupal\KernelTests\Core\File\FileTestBase implements \Drupal\KernelTests\KernelTestBase
Expanded class hierarchy of RemoteFileDeleteRecursiveTest
File
-
core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileDeleteRecursiveTest.php, line 10
Namespace
Drupal\KernelTests\Core\FileView source
class RemoteFileDeleteRecursiveTest extends FileDeleteRecursiveTest {
/**
* Modules to enable.
*
* @var array
*/
protected static $modules = [
'file_test',
];
/**
* A stream wrapper scheme to register for the test.
*
* @var string
*/
protected $scheme = 'dummy-remote';
/**
* A fully-qualified stream wrapper class name to register for the test.
*
* @var string
*/
protected $classname = 'Drupal\\file_test\\StreamWrapper\\DummyRemoteStreamWrapper';
/**
* {@inheritdoc}
*/
protected function setUp() : void {
parent::setUp();
$this->config('system.file')
->set('default_scheme', 'dummy-remote')
->save();
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.