From a3f4ec8274b0d5049e6a8fc397bb362f5694b086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Sun, 30 Apr 2023 11:20:32 +0200 Subject: [PATCH] MDL-67580 mod_resource: file type logo. --- .../behat/resource_activity_icons.feature | 524 ++++++++++++++++++ mod/resource/tests/fixtures/3gpfile.3gp | 1 + mod/resource/tests/fixtures/7zfile.7z | 1 + mod/resource/tests/fixtures/aacfile.aac | 1 + mod/resource/tests/fixtures/accdbfile.accdb | 1 + mod/resource/tests/fixtures/aifile.ai | 1 + .../fixtures/applescriptfile.applescript | 1 + mod/resource/tests/fixtures/asffile.asf | 1 + mod/resource/tests/fixtures/avifile.avi | 1 + mod/resource/tests/fixtures/bmpfile.bmp | 1 + mod/resource/tests/fixtures/cctfile.cct | 1 + mod/resource/tests/fixtures/csvfile.csv | 1 + mod/resource/tests/fixtures/docfile.doc | 1 + mod/resource/tests/fixtures/epsfile.eps | 1 + mod/resource/tests/fixtures/epubfile.epub | 1 + mod/resource/tests/fixtures/giffile.gif | 1 + mod/resource/tests/fixtures/h5pfile.h5p | 1 + mod/resource/tests/fixtures/htcfile.htc | 1 + mod/resource/tests/fixtures/isffile.isf | 1 + mod/resource/tests/fixtures/jpegfile.jpeg | 1 + mod/resource/tests/fixtures/m3u8file.m3u8 | 1 + mod/resource/tests/fixtures/mbzfile.mbz | 1 + mod/resource/tests/fixtures/mp3file.mp3 | 1 + mod/resource/tests/fixtures/mwfile.mw | 1 + mod/resource/tests/fixtures/odcfile.odc | 1 + mod/resource/tests/fixtures/odgfile.odg | 1 + mod/resource/tests/fixtures/odpfile.odp | 1 + mod/resource/tests/fixtures/odsfile.ods | 1 + mod/resource/tests/fixtures/odtfile.odt | 1 + mod/resource/tests/fixtures/ogvfile.ogv | 1 + mod/resource/tests/fixtures/othfile.oth | 1 + mod/resource/tests/fixtures/pdffile.pdf | Bin 0 -> 7 bytes mod/resource/tests/fixtures/pngfile.png | 1 + mod/resource/tests/fixtures/ppsfile.pps | 1 + mod/resource/tests/fixtures/pubfile.pub | 1 + mod/resource/tests/fixtures/tiffile.tif | 1 + mod/resource/tests/fixtures/wavfile.wav | 1 + 37 files changed, 559 insertions(+) create mode 100644 mod/resource/tests/behat/resource_activity_icons.feature create mode 100644 mod/resource/tests/fixtures/3gpfile.3gp create mode 100644 mod/resource/tests/fixtures/7zfile.7z create mode 100644 mod/resource/tests/fixtures/aacfile.aac create mode 100644 mod/resource/tests/fixtures/accdbfile.accdb create mode 100644 mod/resource/tests/fixtures/aifile.ai create mode 100644 mod/resource/tests/fixtures/applescriptfile.applescript create mode 100644 mod/resource/tests/fixtures/asffile.asf create mode 100644 mod/resource/tests/fixtures/avifile.avi create mode 100644 mod/resource/tests/fixtures/bmpfile.bmp create mode 100644 mod/resource/tests/fixtures/cctfile.cct create mode 100644 mod/resource/tests/fixtures/csvfile.csv create mode 100644 mod/resource/tests/fixtures/docfile.doc create mode 100644 mod/resource/tests/fixtures/epsfile.eps create mode 100644 mod/resource/tests/fixtures/epubfile.epub create mode 100644 mod/resource/tests/fixtures/giffile.gif create mode 100644 mod/resource/tests/fixtures/h5pfile.h5p create mode 100644 mod/resource/tests/fixtures/htcfile.htc create mode 100644 mod/resource/tests/fixtures/isffile.isf create mode 100644 mod/resource/tests/fixtures/jpegfile.jpeg create mode 100644 mod/resource/tests/fixtures/m3u8file.m3u8 create mode 100644 mod/resource/tests/fixtures/mbzfile.mbz create mode 100644 mod/resource/tests/fixtures/mp3file.mp3 create mode 100644 mod/resource/tests/fixtures/mwfile.mw create mode 100644 mod/resource/tests/fixtures/odcfile.odc create mode 100644 mod/resource/tests/fixtures/odgfile.odg create mode 100644 mod/resource/tests/fixtures/odpfile.odp create mode 100644 mod/resource/tests/fixtures/odsfile.ods create mode 100644 mod/resource/tests/fixtures/odtfile.odt create mode 100644 mod/resource/tests/fixtures/ogvfile.ogv create mode 100644 mod/resource/tests/fixtures/othfile.oth create mode 100644 mod/resource/tests/fixtures/pdffile.pdf create mode 100644 mod/resource/tests/fixtures/pngfile.png create mode 100644 mod/resource/tests/fixtures/ppsfile.pps create mode 100644 mod/resource/tests/fixtures/pubfile.pub create mode 100644 mod/resource/tests/fixtures/tiffile.tif create mode 100644 mod/resource/tests/fixtures/wavfile.wav diff --git a/mod/resource/tests/behat/resource_activity_icons.feature b/mod/resource/tests/behat/resource_activity_icons.feature new file mode 100644 index 0000000000000..9369fe11dfd56 --- /dev/null +++ b/mod/resource/tests/behat/resource_activity_icons.feature @@ -0,0 +1,524 @@ +@mod @mod_resource @_file_upload +Feature: View activity icons in the resource activity + In order to have visibility of resource file types + As a student + I need to be able to see the correct icons + + Background: + Given the following "users" exist: + | username | firstname | lastname | email | + | student1 | Student | 1 | student1@example.com | + | teacher1 | Teacher | 1 | teacher1@example.com | + And the following "courses" exist: + | fullname | shortname | category | + | Course 1 | C1 | 0 | + And the following "course enrolments" exist: + | user | course | role | + | teacher1 | C1 | editingteacher | + | student1 | C1 | student | + And I log in as "teacher1" + And I am on "Course 1" course homepage with editing mode on + + @javascript + Scenario: View icon for an archive file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myarchivefile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/7zfile.7z" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "archive" + And I log out + + @javascript + Scenario: View icon for an audio file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myaudiofile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/aacfile.aac" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "audio" + And I log out + + @javascript + Scenario: View icon for an avi file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myavifile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/avifile.avi" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "avi" + And I log out + + @javascript + Scenario: View icon for a base file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mybasefile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/accdbfile.accdb" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "base" + And I log out + + @javascript + Scenario: View icon for a bmp file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mybmpfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/bmpfile.bmp" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "bmp" + And I log out + + @javascript + Scenario: View icon for a calc file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mycalcfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/odsfile.ods" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "calc" + And I log out + + @javascript + Scenario: View icon for a chart file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mychartfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/odcfile.odc" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "chart" + And I log out + + @javascript + Scenario: View icon for a document file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mydocumentfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/docfile.doc" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "document" + And I log out + + @javascript + Scenario: View icon for a draw file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mydrawfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/odgfile.odg" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "draw" + And I log out + + @javascript + Scenario: View icon for an eps file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myepsfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/epsfile.eps" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "eps" + And I log out + + @javascript + Scenario: View icon for an epub file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myepubfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/epubfile.epub" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "epub" + And I log out + + @javascript + Scenario: View icon for a flash file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myflashfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/cctfile.cct" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "flash" + And I log out + + @javascript + Scenario: View icon for a gif file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mygiffile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/giffile.gif" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "gif" + And I log out + + @javascript + Scenario: View icon for a h5p file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myh5pfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/h5pfile.h5p" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "h5p" + And I log out + + @javascript + Scenario: View icon for an image file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myimagefile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/aifile.ai" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "image" + And I log out + + @javascript + Scenario: View icon for an impress file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myimpressfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/odpfile.odp" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "impress" + And I log out + + @javascript + Scenario: View icon for an isf file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myisffile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/isffile.isf" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "isf" + And I log out + + @javascript + Scenario: View icon for a jpeg file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myjpegfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/jpegfile.jpeg" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "jpeg" + And I log out + + @javascript + Scenario: View icon for a markup file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mymarkupfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/htcfile.htc" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "markup" + And I log out + + @javascript + Scenario: View icon for a math file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mymathfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/mwfile.mw" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "math" + And I log out + + @javascript + Scenario: View icon for a moodle file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mymoodlefile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/mbzfile.mbz" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "moodle" + And I log out + + @javascript + Scenario: View icon for a mp3 file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mymp3file | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/mp3file.mp3" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "mp3" + And I log out + + @javascript + Scenario: View icon for a mpeg file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mympegfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/m3u8file.m3u8" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "mpeg" + And I log out + + @javascript + Scenario: View icon for a oth file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myothfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/othfile.oth" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "oth" + And I log out + + @javascript + Scenario: View icon for a pdf file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mypdffile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/pdffile.pdf" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "pdf" + And I log out + + @javascript + Scenario: View icon for a png file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mypngfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/pngfile.png" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "png" + And I log out + + @javascript + Scenario: View icon for a powerpoint file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mypowerpointfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/ppsfile.pps" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "powerpoint" + And I log out + + @javascript + Scenario: View icon for a publisher file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mypublisherfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/pubfile.pub" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "publisher" + And I log out + + @javascript + Scenario: View icon for a quicktime file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myquicktimefile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/3gpfile.3gp" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "quicktime" + And I log out + + @javascript + Scenario: View icon for a spreadsheet file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myspreadsheetfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/csvfile.csv" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "spreadsheet" + And I log out + + @javascript + Scenario: View icon for a text file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mytextfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/applescriptfile.applescript" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "text" + And I log out + + @javascript + Scenario: View icon for a tiff file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mytifffile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/tiffile.tif" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "tiff" + And I log out + + @javascript + Scenario: View icon for a video file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Myvideofile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/ogvfile.ogv" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "video" + And I log out + + @javascript + Scenario: View icon for a wav file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mywavfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/wavfile.wav" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "wav" + And I log out + + @javascript + Scenario: View icon for a wmv file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mywmvfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/asffile.asf" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "wmv" + And I log out + + @javascript + Scenario: View icon for a writer file type resource + When I add a "File" to section "1" + And I set the following fields to these values: + | Name | Mywriterfile | + | Show size | 0 | + | Show type | 0 | + | Show upload/modified date | 0 | + And I upload "mod/resource/tests/fixtures/odtfile.odt" file to "Select files" filemanager + And I press "Save and display" + And I am on "Course 1" course homepage + Then the "src" attribute of "img.activityicon" "css_element" should contain "writer" + And I log out diff --git a/mod/resource/tests/fixtures/3gpfile.3gp b/mod/resource/tests/fixtures/3gpfile.3gp new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/3gpfile.3gp @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/7zfile.7z b/mod/resource/tests/fixtures/7zfile.7z new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/7zfile.7z @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/aacfile.aac b/mod/resource/tests/fixtures/aacfile.aac new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/aacfile.aac @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/accdbfile.accdb b/mod/resource/tests/fixtures/accdbfile.accdb new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/accdbfile.accdb @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/aifile.ai b/mod/resource/tests/fixtures/aifile.ai new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/aifile.ai @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/applescriptfile.applescript b/mod/resource/tests/fixtures/applescriptfile.applescript new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/applescriptfile.applescript @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/asffile.asf b/mod/resource/tests/fixtures/asffile.asf new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/asffile.asf @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/avifile.avi b/mod/resource/tests/fixtures/avifile.avi new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/avifile.avi @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/bmpfile.bmp b/mod/resource/tests/fixtures/bmpfile.bmp new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/bmpfile.bmp @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/cctfile.cct b/mod/resource/tests/fixtures/cctfile.cct new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/cctfile.cct @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/csvfile.csv b/mod/resource/tests/fixtures/csvfile.csv new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/csvfile.csv @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/docfile.doc b/mod/resource/tests/fixtures/docfile.doc new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/docfile.doc @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/epsfile.eps b/mod/resource/tests/fixtures/epsfile.eps new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/epsfile.eps @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/epubfile.epub b/mod/resource/tests/fixtures/epubfile.epub new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/epubfile.epub @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/giffile.gif b/mod/resource/tests/fixtures/giffile.gif new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/giffile.gif @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/h5pfile.h5p b/mod/resource/tests/fixtures/h5pfile.h5p new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/h5pfile.h5p @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/htcfile.htc b/mod/resource/tests/fixtures/htcfile.htc new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/htcfile.htc @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/isffile.isf b/mod/resource/tests/fixtures/isffile.isf new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/isffile.isf @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/jpegfile.jpeg b/mod/resource/tests/fixtures/jpegfile.jpeg new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/jpegfile.jpeg @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/m3u8file.m3u8 b/mod/resource/tests/fixtures/m3u8file.m3u8 new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/m3u8file.m3u8 @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/mbzfile.mbz b/mod/resource/tests/fixtures/mbzfile.mbz new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/mbzfile.mbz @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/mp3file.mp3 b/mod/resource/tests/fixtures/mp3file.mp3 new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/mp3file.mp3 @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/mwfile.mw b/mod/resource/tests/fixtures/mwfile.mw new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/mwfile.mw @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/odcfile.odc b/mod/resource/tests/fixtures/odcfile.odc new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/odcfile.odc @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/odgfile.odg b/mod/resource/tests/fixtures/odgfile.odg new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/odgfile.odg @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/odpfile.odp b/mod/resource/tests/fixtures/odpfile.odp new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/odpfile.odp @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/odsfile.ods b/mod/resource/tests/fixtures/odsfile.ods new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/odsfile.ods @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/odtfile.odt b/mod/resource/tests/fixtures/odtfile.odt new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/odtfile.odt @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/ogvfile.ogv b/mod/resource/tests/fixtures/ogvfile.ogv new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/ogvfile.ogv @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/othfile.oth b/mod/resource/tests/fixtures/othfile.oth new file mode 100644 index 0000000000000..10ddd6d257e01 --- /dev/null +++ b/mod/resource/tests/fixtures/othfile.oth @@ -0,0 +1 @@ +Hello! diff --git a/mod/resource/tests/fixtures/pdffile.pdf b/mod/resource/tests/fixtures/pdffile.pdf new file mode 100644 index 0000000000000000000000000000000000000000..10ddd6d257e01349d514541981aeecea6b2e741d GIT binary patch literal 7 OcmeZB&B@7E