23 calls to FileManagedUnitTestBase::assertFileHooksCalled() in Drupal 9
- 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::testNormal in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests file copying in the normal, base case.
- 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).
- LoadTest::testLoadInvalidStatus in core/
modules/ file/ tests/ src/ Kernel/ LoadTest.php - Try to load a non-existent file by status.
- LoadTest::testLoadMissingFid in core/
modules/ file/ tests/ src/ Kernel/ LoadTest.php - Try to load a non-existent file by fid.
- LoadTest::testLoadMissingFilepath in core/
modules/ file/ tests/ src/ Kernel/ LoadTest.php - Try to load a non-existent file by URI.
- LoadTest::testMultiple in core/
modules/ file/ tests/ src/ Kernel/ LoadTest.php - This will test loading file data from the database.
- 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::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 - Tests that file_save_data() fails overwriting an existing file.
- SaveDataTest::testExistingRename in core/
modules/ file/ tests/ src/ Kernel/ SaveDataTest.php - Tests file_save_data() when renaming around an existing file.
- SaveDataTest::testExistingReplace in core/
modules/ file/ tests/ src/ Kernel/ SaveDataTest.php - Tests file_save_data() when replacing an existing file.
- SaveDataTest::testWithFilename in core/
modules/ file/ tests/ src/ Kernel/ SaveDataTest.php - Tests the file_save_data() function when a filename is provided.
- SaveDataTest::testWithoutFilename in core/
modules/ file/ tests/ src/ Kernel/ SaveDataTest.php - Tests the file_save_data() function when no filename is provided.
- SaveTest::testFileSave in core/
modules/ file/ tests/ src/ Kernel/ SaveTest.php - ValidateTest::testCallerValidation in core/
modules/ file/ tests/ src/ Kernel/ ValidateTest.php - Tests 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().