65 calls to TestFileCreationTrait::getTestFiles() in Drupal 8
- AjaxFileManagedMultipleTest::testMultipleFilesUpload in core/
modules/ file/ tests/ src/ FunctionalJavascript/ AjaxFileManagedMultipleTest.php - Test if managed file form element works well with multiple files upload.
- CommentPreviewTest::testCommentPreview in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment preview.
- ContentEntityFormFieldValidationFilteringTest::testFieldWidgetsWithLimitedValidationErrors in core/
tests/ Drupal/ FunctionalTests/ Entity/ ContentEntityFormFieldValidationFilteringTest.php - Tests field widgets with #limit_validation_errors.
- ContentTranslationFieldSyncRevisionTest::setUp in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationFieldSyncRevisionTest.php - ContentTranslationSyncImageTest::setUp in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationSyncImageTest.php - DrupalSelenium2DriverTest::testGetRemoteFilePath in core/
tests/ Drupal/ FunctionalJavascriptTests/ Tests/ DrupalSelenium2DriverTest.php - Tests uploading remote files.
- EditorUploadImageScaleTest::testEditorUploadImageScale in core/
modules/ editor/ tests/ src/ Functional/ EditorUploadImageScaleTest.php - Tests scaling of inline images.
- EmbeddedFormWidgetTest::testInsertionAndReselection in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ EmbeddedFormWidgetTest.php - Test media inside another widget that validates too enthusiastically.
- EntityReferenceFileUploadTest::testFileUpload in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceFileUploadTest.php - Tests that the autocomplete input element does not cause ajax fatal.
- FileFieldDisplayTest::testDescToggle in core/
modules/ file/ tests/ src/ Functional/ FileFieldDisplayTest.php - Tests description toggle for field instance configuration.
- FileFieldTestBase::getTestFile in core/
modules/ file/ tests/ src/ Functional/ FileFieldTestBase.php - Retrieves a sample file of the specified type.
- FileFieldTestBase::getTestFile in core/
modules/ file/ src/ Tests/ FileFieldTestBase.php - Retrieves a sample file of the specified type.
- FileFieldValidateTest::testAjaxValidationMessage in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldValidateTest.php - Test the validation message is displayed only once for ajax uploads.
- FileFieldWidgetTest::getTestFile in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Retrieves a sample file of the specified type.
- FileFieldWidgetTest::testMultiValuedWidget in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Tests upload and remove buttons for multiple multi-valued File fields.
- FileFieldWidgetTest::testSingleValuedWidget in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Tests uploading and remove buttons for a single-valued File field.
- FileFieldWidgetTest::testUploadingMoreFilesThenAllowed in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Tests uploading more files then allowed at once.
- FileMoveTest::testNormal in core/
modules/ image/ tests/ src/ Functional/ FileMoveTest.php - Tests moving a randomly generated image.
- FilterHtmlImageSecureTest::testImageSource in core/
modules/ filter/ tests/ src/ Functional/ FilterHtmlImageSecureTest.php - Tests removal of images having a non-local source.
- ImageAdminStylesTest::createSampleImage in core/
modules/ image/ tests/ src/ Functional/ ImageAdminStylesTest.php - Given an image style, generate an image.
- ImageAdminStylesTest::testConfigImport in core/
modules/ image/ tests/ src/ Functional/ ImageAdminStylesTest.php - Tests image style configuration import that does a delete.
- ImageAdminStylesTest::testFlushUserInterface in core/
modules/ image/ tests/ src/ Functional/ ImageAdminStylesTest.php - Test flush user interface.
- ImageAdminStylesTest::testStyleReplacement in core/
modules/ image/ tests/ src/ Functional/ ImageAdminStylesTest.php - Test deleting a style and choosing a replacement style.
- ImageDimensionsTest::testImageDimensions in core/
modules/ image/ tests/ src/ Functional/ ImageDimensionsTest.php - Test styled image dimensions cumulatively.
- ImageFieldAttributesTest::setUp in core/
modules/ rdf/ tests/ src/ Functional/ ImageFieldAttributesTest.php - ImageFieldDefaultImagesTest::testDefaultImages in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDefaultImagesTest.php - Tests CRUD for fields and field storages with default images.
- ImageFieldDisplayTest::testImageFieldDefaultImage in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Test use of a default image with an image field.
- ImageFieldDisplayTest::testImageFieldSettings in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Tests for image field settings.
- ImageFieldDisplayTest::_testImageFieldFormatters in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Test image formatters on node display.
- ImageFieldValidateTest::testAJAXValidationMessage in core/
modules/ image/ tests/ src/ FunctionalJavascript/ ImageFieldValidateTest.php - Test the validation message is displayed only once for ajax uploads.
- ImageFieldValidateTest::testRequiredAttributes in core/
modules/ image/ tests/ src/ Functional/ ImageFieldValidateTest.php - Test that required alt/title fields gets validated right.
- ImageFieldValidateTest::testResolution in core/
modules/ image/ tests/ src/ Functional/ ImageFieldValidateTest.php - Test min/max resolution settings.
- ImageFieldValidateTest::testValid in core/
modules/ image/ tests/ src/ Functional/ ImageFieldValidateTest.php - Test image validity.
- ImageFieldWidgetMultipleTest::testWidgetElementMultipleUploads in core/
modules/ image/ tests/ src/ FunctionalJavascript/ ImageFieldWidgetMultipleTest.php - Tests image widget element support multiple upload correctly.
- ImageStyleFlushTest::createSampleImage in core/
modules/ image/ tests/ src/ Functional/ ImageStyleFlushTest.php - Given an image style and a wrapper, generate an image.
- ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/
modules/ image/ tests/ src/ Functional/ ImageStylesPathAndUrlTest.php - Tests building an image style URL.
- ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageStyleTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image style theme function.
- PagePreviewTest::testPagePreview in core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php - Checks the node preview functionality.
- QuickEditImageControllerTest::testInvalidUpload in core/
modules/ image/ tests/ src/ Functional/ QuickEditImageControllerTest.php - Tests that uploading a invalid image does not work.
- QuickEditImageControllerTest::testValidImageUpload in core/
modules/ image/ tests/ src/ Functional/ QuickEditImageControllerTest.php - Tests that uploading a valid image works.
- QuickEditImageTest::testImageInPlaceEditor in core/
modules/ image/ tests/ src/ FunctionalJavascript/ QuickEditImageTest.php - Test that quick editor works correctly with images.
- ResponsiveImageFieldDisplayTest::assertResponsiveImageFieldFormattersLink in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - Tests responsive image formatters linked to the file or node.
- ResponsiveImageFieldDisplayTest::doTestResponsiveImageFieldFormatters in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - Test responsive image formatters on node display.
- ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyMediaQuery in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - Tests responsive image formatter on node display with an empty media query.
- ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersOneSource in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - Tests responsive image formatter on node display with one source.
- SaveUploadFormTest::setUp in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - SaveUploadFormTest::testCombinedErrorMessages in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests that multiple validation errors are combined in one message.
- SaveUploadFormTest::testNormal in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests the _file_save_upload_from_form() function.
- SaveUploadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - SaveUploadTest::testDuplicate in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Test uploading a duplicate file.
- SaveUploadTest::testNormal in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Test the file_save_upload() function.
- StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced in core/
modules/ system/ tests/ src/ Functional/ Form/ StateValuesCleanAdvancedTest.php - Tests \Drupal\Core\Form\FormState::cleanValues().
- TaxonomyImageTest::testTaxonomyImageAccess in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyImageTest.php - TextFieldTest::testRequiredLongTextWithFileUpload in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php - Test required long text with file upload.
- ThemeSettingsFormTest::testFormSettingsSubmissionHandler in core/
modules/ system/ tests/ src/ FunctionalJavascript/ ThemeSettingsFormTest.php - Tests that submission handler works correctly.
- ThemeTest::testThemeSettings in core/
modules/ system/ tests/ src/ Functional/ System/ ThemeTest.php - Test the theme settings form.
- ToolkitTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Image/ ToolkitTestBase.php - ToolkitTestBase::setUp in core/
modules/ system/ src/ Tests/ Image/ ToolkitTestBase.php - Sets up a Drupal site for running functional and integration tests.
- UpdateUploadTest::testUploadModule in core/
modules/ update/ tests/ src/ Functional/ UpdateUploadTest.php - Tests upload, extraction, and update of a module.
- UserPasswordResetTest::testUserPasswordResetWithAdditionalAjaxForm in core/
modules/ user/ tests/ src/ FunctionalJavascript/ UserPasswordResetTest.php - Tests password reset functionality with an AJAX form.
- UserPictureTest::testCreateDeletePicture in core/
modules/ user/ tests/ src/ Functional/ UserPictureTest.php - Tests creation, display, and deletion of user pictures.
- UserPictureTest::testPictureOnNodeComment in core/
modules/ user/ tests/ src/ Functional/ UserPictureTest.php - Tests embedded users on node pages.
- WidgetUploadTest::testWidgetUpload in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetUploadTest.php - Tests that uploads in the Media library's widget works as expected.
- WidgetUploadTest::testWidgetUploadAdvancedUi in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetUploadTest.php - Tests that uploads in the widget's advanced UI works as expected.