31 calls to FileManagedUnitTestBase::createFile()
- CopyTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests for entity storage exception.
- CopyTest::testExistingError in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests that copying over an existing file fails when instructed to do so.
- CopyTest::testExistingRename in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests renaming when copying over a file that already exists.
- CopyTest::testExistingReplace in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests replacement when copying over a file that already exists.
- CopyTest::testInvalidStreamWrapper in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests for an invalid stream wrapper.
- CopyTest::testNormal in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests file copying in the normal, base case.
- DeleteTest::testCronDeleteNonExistingTemporary in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries to run cron deletion on file deleted from the file-system.
- DeleteTest::testInUse in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries deleting a file that is in use.
- DeleteTest::testUnused in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries deleting a normal file (as opposed to a directory, symlink, etc).
- FileRepositoryTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests for entity storage exception.
- FileRepositoryTest::testExistingError in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests that writeData() fails overwriting an existing file.
- FileRepositoryTest::testExistingRename in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests writeData() when renaming around an existing file.
- FileRepositoryTest::testExistingReplace in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests writeData() when replacing an existing file.
- FileRepositoryTest::testLoadByUri in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests loading a file by URI.
- FileRepositoryTest::testLoadByUriCaseSensitive in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests loading a file by case-sensitive URI.
- FileUrlTest::testFilesUrlWithDifferentHostName in core/
modules/ file/ tests/ src/ Kernel/ FileUrlTest.php - Tests public files with a different host name from settings.
- LegacyValidateTest::testCallerValidation in core/
modules/ file/ tests/ src/ Kernel/ LegacyValidateTest.php - Tests that the validators passed into are checked.
- LegacyValidateTest::testInsecureExtensions in core/
modules/ file/ tests/ src/ Kernel/ LegacyValidateTest.php - Tests hard-coded security check in file_validate().
- LoadTest::testMultiple in core/
modules/ file/ tests/ src/ Kernel/ LoadTest.php - This will test loading file data from the database.
- LoadTest::testSingleValues in core/
modules/ file/ tests/ src/ Kernel/ LoadTest.php - Load a single file and ensure that the correct values are returned.
- LoadTest::testUuidValues in core/
modules/ file/ tests/ src/ Kernel/ LoadTest.php - Loads a single file and ensure that the correct values are returned.
- MoveTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests for entity storage exception.
- MoveTest::testExistingError in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests that moving onto an existing file fails when instructed to do so.
- MoveTest::testExistingRename in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests renaming when moving onto a file that already exists.
- MoveTest::testExistingReplace in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests replacement when moving onto a file that already exists.
- MoveTest::testExistingReplaceSelf in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests replacement when moving onto itself.
- MoveTest::testInvalidStreamWrapper in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests for an invalid stream wrapper.
- MoveTest::testNormal in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Move a normal file.
- UsageTest::doTestRemoveUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::delete().
- UsageTest::testAddUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::add().
- UsageTest::testGetUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::listUsage().
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.