From c04dcc2e7d834218ef2d4194331e383402495ae1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 20:07:22 +0200 Subject: Adding upstream version 2:20.4+dfsg. Signed-off-by: Daniel Baumann --- .../test/data/httpdirectory/apache-default.html | 15 ++ .../test/data/httpdirectory/apache-fancy.html | 15 ++ .../test/data/httpdirectory/apache-html.html | 19 ++ .../test/data/httpdirectory/basic-multiline.html | 16 ++ xbmc/filesystem/test/data/httpdirectory/basic.html | 13 ++ .../test/data/httpdirectory/lighttp-default.html | 211 +++++++++++++++++++++ .../test/data/httpdirectory/nginx-default.html | 11 ++ .../test/data/httpdirectory/nginx-fancyindex.html | 34 ++++ 8 files changed, 334 insertions(+) create mode 100644 xbmc/filesystem/test/data/httpdirectory/apache-default.html create mode 100644 xbmc/filesystem/test/data/httpdirectory/apache-fancy.html create mode 100644 xbmc/filesystem/test/data/httpdirectory/apache-html.html create mode 100644 xbmc/filesystem/test/data/httpdirectory/basic-multiline.html create mode 100644 xbmc/filesystem/test/data/httpdirectory/basic.html create mode 100644 xbmc/filesystem/test/data/httpdirectory/lighttp-default.html create mode 100644 xbmc/filesystem/test/data/httpdirectory/nginx-default.html create mode 100644 xbmc/filesystem/test/data/httpdirectory/nginx-fancyindex.html (limited to 'xbmc/filesystem/test/data') diff --git a/xbmc/filesystem/test/data/httpdirectory/apache-default.html b/xbmc/filesystem/test/data/httpdirectory/apache-default.html new file mode 100644 index 0000000..e29ff27 --- /dev/null +++ b/xbmc/filesystem/test/data/httpdirectory/apache-default.html @@ -0,0 +1,15 @@ + + + + Index of / + + +

Index of /

+ + \ No newline at end of file diff --git a/xbmc/filesystem/test/data/httpdirectory/apache-fancy.html b/xbmc/filesystem/test/data/httpdirectory/apache-fancy.html new file mode 100644 index 0000000..a45d52a --- /dev/null +++ b/xbmc/filesystem/test/data/httpdirectory/apache-fancy.html @@ -0,0 +1,15 @@ + + + + Index of / + + +

Index of /

+
      Name                    Last modified      Size  Description
folder1/ 2019-01-01 01:01 - + folder2/ 2019-02-02 02:02 - + sample3: the sampling.mpg 2019-03-03 03:03 123 + sample & samplability 4.mpg 2019-04-04 04:04 123K + sample5.mpg 2019-05-05 05:05 123M + sample6.mpg 2019-06-06 06:06 123G +
+ diff --git a/xbmc/filesystem/test/data/httpdirectory/apache-html.html b/xbmc/filesystem/test/data/httpdirectory/apache-html.html new file mode 100644 index 0000000..8e69ab4 --- /dev/null +++ b/xbmc/filesystem/test/data/httpdirectory/apache-html.html @@ -0,0 +1,19 @@ + + + + Index of / + + +

Index of /

+ + + + + + + + + + +
 NameLast modifiedSizeDescription

 folder1/ 2019-01-01 01:01 -  
 folder2/ 2019-02-02 02:02 -  
 sample3: the sampling.mpg 2019-03-03 03:03 123  
 sample & samplability 4.mpg 2019-04-04 04:04 123K 
 sample5.mpg 2019-05-05 05:05 123M 
 sample6.mpg 2019-06-06 06:06 123G 

+ diff --git a/xbmc/filesystem/test/data/httpdirectory/basic-multiline.html b/xbmc/filesystem/test/data/httpdirectory/basic-multiline.html new file mode 100644 index 0000000..707a1f0 --- /dev/null +++ b/xbmc/filesystem/test/data/httpdirectory/basic-multiline.html @@ -0,0 +1,16 @@ + + + Directory Listing + + + folder1/ + + folder2/ + + sample3: the sampling.mpg + sample & samplability 4.mpg sample5.mpg + + sample6.mpg + + + \ No newline at end of file diff --git a/xbmc/filesystem/test/data/httpdirectory/basic.html b/xbmc/filesystem/test/data/httpdirectory/basic.html new file mode 100644 index 0000000..ce98a10 --- /dev/null +++ b/xbmc/filesystem/test/data/httpdirectory/basic.html @@ -0,0 +1,13 @@ + + + Directory Listing + + + folder1/ + folder2/ + sample3: the sampling.mpg + sample & samplability 4.mpg + sample5.mpg + sample6.mpg + + \ No newline at end of file diff --git a/xbmc/filesystem/test/data/httpdirectory/lighttp-default.html b/xbmc/filesystem/test/data/httpdirectory/lighttp-default.html new file mode 100644 index 0000000..505f477 --- /dev/null +++ b/xbmc/filesystem/test/data/httpdirectory/lighttp-default.html @@ -0,0 +1,211 @@ + + + +Index of / + + + +

Index of /

+
+ + + + + + + + + + +
NameLast ModifiedSizeType
folder1/2019-Jan-01 01:01:01-  Directory
folder2/2019-Feb-02 02:02:02-  Directory
sample3: the sampling.mpg2019-Mar-03 03:03:030.1Kvideo/mpeg
sample & samplability 4.mpg2019-Apr-04 04:04:04123.0Kvideo/mpeg
sample5.mpg2019-May-05 05:05:05123.0Mvideo/mpeg
sample6.mpg2019-Jun-06 06:06:06123.0Gvideo/mpeg
+
+
lighttpd/1.4.49
+ + + + + diff --git a/xbmc/filesystem/test/data/httpdirectory/nginx-default.html b/xbmc/filesystem/test/data/httpdirectory/nginx-default.html new file mode 100644 index 0000000..77bcd75 --- /dev/null +++ b/xbmc/filesystem/test/data/httpdirectory/nginx-default.html @@ -0,0 +1,11 @@ + +Index of / + +

Index of /


folder1/                                           01-Jan-2019 01:01                   -
+folder2/                                           02-Feb-2019 02:02                   -
+sample3: the sampling.mpg      03-Mar-2019 03:03                 123
+sample & samplability 4.mpg                                        04-Apr-2019 04:04              125952
+sample5.mpg                                        05-May-2019 05:05           128974848
+sample6.mpg                                        06-Jun-2019 06:06        132070244352
+

+ diff --git a/xbmc/filesystem/test/data/httpdirectory/nginx-fancyindex.html b/xbmc/filesystem/test/data/httpdirectory/nginx-fancyindex.html new file mode 100644 index 0000000..d9772df --- /dev/null +++ b/xbmc/filesystem/test/data/httpdirectory/nginx-fancyindex.html @@ -0,0 +1,34 @@ + + + + + + + + Files... + + +
+
+
+ +
+
+
+

Index of: +/

+ + + + + + + + +
File Name  ↓ File Size  ↓ Date  ↓ 
--
-2019-Jan-01 01:01
-2019-Feb-02 02:02
123 B2019-Mar-03 03:03
123.0 KiB2019-Apr-04 04:04
123.0 MiB2019-May-05 05:05
123.0 GiB2019-Jun-06 06:06
+
+
+ + -- cgit v1.2.3