You are here

24 calls to FileManagedUnitTestBase::createFile() in Drupal 8

CopyTest::testExistingError in core/modules/file/tests/src/Kernel/CopyTest.php
Test that copying over an existing file fails when instructed to do so.
CopyTest::testExistingRename in core/modules/file/tests/src/Kernel/CopyTest.php
Test renaming when copying over a file that already exists.
CopyTest::testExistingReplace in core/modules/file/tests/src/Kernel/CopyTest.php
Test replacement when copying over a file that already exists.
CopyTest::testNormal in core/modules/file/tests/src/Kernel/CopyTest.php
Test 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).
FileUrlTest::testFilesUrlWithDifferentHostName in core/modules/file/tests/src/Kernel/FileUrlTest.php
Test public files with a different host name from settings.
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::testExistingError in core/modules/file/tests/src/Kernel/MoveTest.php
Test that moving onto an existing file fails when instructed to do so.
MoveTest::testExistingRename in core/modules/file/tests/src/Kernel/MoveTest.php
Test renaming when moving onto a file that already exists.
MoveTest::testExistingReplace in core/modules/file/tests/src/Kernel/MoveTest.php
Test replacement when moving onto a file that already exists.
MoveTest::testExistingReplaceSelf in core/modules/file/tests/src/Kernel/MoveTest.php
Test replacement when moving onto itself.
MoveTest::testNormal in core/modules/file/tests/src/Kernel/MoveTest.php
Move a normal file.
SaveDataTest::testExistingError in core/modules/file/tests/src/Kernel/SaveDataTest.php
Test that file_save_data() fails overwriting an existing file.
SaveDataTest::testExistingRename in core/modules/file/tests/src/Kernel/SaveDataTest.php
Test file_save_data() when renaming around an existing file.
SaveDataTest::testExistingReplace in core/modules/file/tests/src/Kernel/SaveDataTest.php
Test file_save_data() when replacing an existing 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().
ValidateTest::testCallerValidation in core/modules/file/tests/src/Kernel/ValidateTest.php
Test that the validators passed into are checked.
ValidateTest::testInsecureExtensions in core/modules/file/tests/src/Kernel/ValidateTest.php
Tests hard-coded security check in file_validate().