Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
FileManagedTestBase.php
»
FileManagedTestBase
»
FileManagedTestBase::createFile
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
23 calls to FileManagedTestBase::createFile()
CopyTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
CopyTest.php
Test that copying over an existing file fails when
FILE_EXISTS_ERROR
is specified.
CopyTest::testExistingRename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
CopyTest.php
Test renaming when copying over a file that already exists.
CopyTest::testExistingReplace
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
CopyTest.php
Test replacement when copying over a file that already exists.
CopyTest::testNormal
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
CopyTest.php
Test file copying in the normal, base case.
DeleteTest::testInUse
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
DeleteTest.php
Tries deleting a file that is in use.
DeleteTest::testUnused
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
DeleteTest.php
Tries deleting a normal file (as opposed to a directory, symlink, etc).
DownloadTest::checkUrl
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
DownloadTest.php
Download a file from the URL generated by
file_create_url
().
DownloadTest::testPrivateFileTransfer
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
DownloadTest.php
Test the private file transfer system.
DownloadTest::testPublicFileTransfer
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
DownloadTest.php
Test the public file transfer system.
LoadTest::testMultiple
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
LoadTest.php
This will test loading file data from the database.
LoadTest::testSingleValues
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
LoadTest.php
Load a single file and ensure that the correct values are returned.
MoveTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
MoveTest.php
Test that moving onto an existing file fails when
FILE_EXISTS_ERROR
is specified.
MoveTest::testExistingRename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
MoveTest.php
Test renaming when moving onto a file that already exists.
MoveTest::testExistingReplace
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
MoveTest.php
Test replacement when moving onto a file that already exists.
MoveTest::testExistingReplaceSelf
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
MoveTest.php
Test replacement when moving onto itself.
MoveTest::testNormal
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
MoveTest.php
Move a normal file.
SaveDataTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test that
file_save_data
() fails overwriting an existing file.
SaveDataTest::testExistingRename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test
file_save_data
() when renaming around an existing file.
SaveDataTest::testExistingReplace
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test
file_save_data
() when replacing an existing file.
UsageTest::testAddUsage
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
UsageTest.php
Tests
file_usage
()->add().
UsageTest::testGetUsage
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
UsageTest.php
Tests
file_usage
()->listUsage().
UsageTest::testRemoveUsage
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
UsageTest.php
Tests
file_usage
()->delete().
ValidateTest::testCallerValidation
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
ValidateTest.php
Test that the validators passed into are checked.