Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-08-19 23:44:24 +0300
committerOlivier Paroz <github@oparoz.com>2015-08-19 23:44:24 +0300
commit79b85c933c8eb2dadda746508ce39d3cc5580a36 (patch)
tree8a281e8c1a0f69c6d84104ae1bf26d618cfb8e6b /tests/_data
parent309e8b4f81579dca11ffecb60ca9851156ac4cec (diff)
Test various config configuration and invalid folders
Diffstat (limited to 'tests/_data')
-rw-r--r--tests/_data/.nomedia0
-rw-r--r--tests/_data/bom-gallery.cnf14
-rw-r--r--tests/_data/broken-gallery.cnf14
-rw-r--r--tests/_data/empty-gallery.cnf2
4 files changed, 30 insertions, 0 deletions
diff --git a/tests/_data/.nomedia b/tests/_data/.nomedia
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/_data/.nomedia
diff --git a/tests/_data/bom-gallery.cnf b/tests/_data/bom-gallery.cnf
new file mode 100644
index 00000000..e45202e4
--- /dev/null
+++ b/tests/_data/bom-gallery.cnf
@@ -0,0 +1,14 @@
+---
+# Gallery configuration file
+information:
+ description: | # This is the official **Gallery** sample folder
+ Contribute to this project [on Github](https://github.com/owncloud/gallery)
+ copyright: Copyright 2014-2015 [Acme](http://www.ubersecrettester.ninja)
+ inherit: yes
+sorting:
+ type: date
+ order: des
+ inherit: yes
+features:
+ external_shares: yes
+ native_svg: no \ No newline at end of file
diff --git a/tests/_data/broken-gallery.cnf b/tests/_data/broken-gallery.cnf
new file mode 100644
index 00000000..62be49dc
--- /dev/null
+++ b/tests/_data/broken-gallery.cnf
@@ -0,0 +1,14 @@
+---
+# Gallery configuration file
+information:
+ description: This is the official **Gallery** sample folder
+ Contribute to this project [on Github](https://github.com/owncloud/gallery)
+ copyright: Copyright 2014-2015 [Acme](http://www.ubersecrettester.ninja)
+ inherit: yes
+sorting:
+ type: date
+ order: des
+ inherit: yes
+features:
+ external_shares: yes
+ native_svg: no \ No newline at end of file
diff --git a/tests/_data/empty-gallery.cnf b/tests/_data/empty-gallery.cnf
new file mode 100644
index 00000000..c00630d5
--- /dev/null
+++ b/tests/_data/empty-gallery.cnf
@@ -0,0 +1,2 @@
+---
+# Gallery configuration file