Commit 3cf460a7 authored by Jessica Schilling's avatar Jessica Schilling

Added test rows and known icons for 5 most common video format

parent e8d38c97
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
.key .key
.less .less
.mid .mid
.mov
.mp3 .mp3
.mp4 .mp4
.mpg .mpg
...@@ -55,6 +56,7 @@ ...@@ -55,6 +56,7 @@
.tiff .tiff
.txt .txt
.wav .wav
.wmv
.xls .xls
.xlsx .xlsx
.xml .xml
......
...@@ -26,9 +26,25 @@ type directoryItem struct { ...@@ -26,9 +26,25 @@ type directoryItem struct {
var testData = listingTemplateData{ var testData = listingTemplateData{
Listing: []directoryItem{{ Listing: []directoryItem{{
Size: "25 MiB",
Name: "film-in-one-of-many-formats-to-test-icons.avi",
Path: "film-in-one-of-many-formats-to-test-icons.avi",
}, {
Size: "25 MiB",
Name: "short-film.flv",
Path: "short-film.flv",
}, {
Size: "25 MiB",
Name: "short-film.wmv",
Path: "short-film.wmv",
}, {
Size: "25 MiB", Size: "25 MiB",
Name: "short-film.mov", Name: "short-film.mov",
Path: "short-film.mov", Path: "short-film.mov",
}, {
Size: "25 MiB",
Name: "short-film.mp4",
Path: "short-film.mp4",
}, { }, {
Size: "1 KiB", Size: "1 KiB",
Name: "this-piece-of-papers-got-47-words-37-sentences-58-words-we-wanna-know.txt", Name: "this-piece-of-papers-got-47-words-37-sentences-58-words-we-wanna-know.txt",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment