first commit

This commit is contained in:
2024-07-15 12:33:27 +02:00
commit ce50ae282b
22084 changed files with 2623791 additions and 0 deletions

5
core/tests/fixtures/files/README.txt vendored Executable file
View File

@@ -0,0 +1,5 @@
These files are useful in tests that upload files or otherwise need to
manipulate files, in which case they are copied to the files directory as
specified in the site settings. Dummy files can also be generated by tests in
order to save space.

1
core/tests/fixtures/files/html-1.txt vendored Executable file
View File

@@ -0,0 +1 @@
<h1>Test HTML</h1>

1
core/tests/fixtures/files/html-2.html vendored Executable file
View File

@@ -0,0 +1 @@
<h1>Test HTML</h1>

BIN
core/tests/fixtures/files/image-1.png vendored Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
core/tests/fixtures/files/image-2.jpg vendored Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
core/tests/fixtures/files/image-3.jpg vendored Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

BIN
core/tests/fixtures/files/image-test.gif vendored Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

BIN
core/tests/fixtures/files/image-test.jpg vendored Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
core/tests/fixtures/files/image-test.png vendored Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

BIN
core/tests/fixtures/files/img-test.webp vendored Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

View File

@@ -0,0 +1 @@
invalid image file

View File

3
core/tests/fixtures/files/javascript-1.txt vendored Executable file
View File

@@ -0,0 +1,3 @@
<script>
alert('JavaScript was executed!');
</script>

View File

@@ -0,0 +1,3 @@
<script>
alert('JavaScript was executed!');
</script>

4
core/tests/fixtures/files/php-1.txt vendored Executable file
View File

@@ -0,0 +1,4 @@
<?php
// phpcs:ignoreFile
print 'PHP was executed!';
?>

3
core/tests/fixtures/files/php-2.php vendored Executable file
View File

@@ -0,0 +1,3 @@
<?php
// phpcs:ignoreFile
print 'PHP was executed!';

1
core/tests/fixtures/files/sql-1.txt vendored Executable file
View File

@@ -0,0 +1 @@
SELECT invalid_field FROM {invalid_table}

1
core/tests/fixtures/files/sql-2.sql vendored Executable file
View File

@@ -0,0 +1 @@
SELECT invalid_field FROM {invalid_table}

View File

View File

@@ -0,0 +1,4 @@
# This file exists to prove that
# \Drupal\Core\StringTranslation\Translator\FileTranslation::findTranslationFiles()
# does not find it. See
# \Drupal\KernelTests\Core\Installer\InstallerLanguageTest::testInstallerTranslationFiles()

View File