aboutsummaryrefslogtreecommitdiff
path: root/config/test_data
diff options
context:
space:
mode:
authorJulien Dessaux2021-11-17 10:13:06 +0100
committerJulien Dessaux2021-11-17 10:13:06 +0100
commitc3263c03776401ad1263a9fb8f5a44a8ed44d61b (patch)
tree7dac91753cb4428ede2ba72fb09eca9ba6c2daab /config/test_data
parentUpdated dependencies (diff)
downloadshell-game-launcher-c3263c03776401ad1263a9fb8f5a44a8ed44d61b.tar.gz
shell-game-launcher-c3263c03776401ad1263a9fb8f5a44a8ed44d61b.tar.bz2
shell-game-launcher-c3263c03776401ad1263a9fb8f5a44a8ed44d61b.zip
Refactored package structure
Diffstat (limited to 'config/test_data')
-rw-r--r--config/test_data/duplicate_game.yaml30
-rw-r--r--config/test_data/duplicate_menu.yaml28
-rw-r--r--config/test_data/fake_nethack_directory/.keep0
-rw-r--r--config/test_data/invalid_app.yaml11
-rw-r--r--config/test_data/invalid_game.yaml21
-rw-r--r--config/test_data/invalid_menus.yaml19
-rw-r--r--config/test_data/invalid_yaml1
-rw-r--r--config/test_data/minimal.yaml18
-rw-r--r--config/test_data/no_anonymous_menu.yaml18
-rw-r--r--config/test_data/no_logged_in_menu.yaml18
-rw-r--r--config/test_data/non_existant_chopts.yaml18
-rw-r--r--config/test_data/non_existant_game.yaml18
-rw-r--r--config/test_data/non_existant_menu.yaml18
-rw-r--r--config/test_data/not_enough_menus.yaml13
-rw-r--r--config/test_data/unreachable_game.yaml25
-rw-r--r--config/test_data/unreachable_menu.yaml23
16 files changed, 0 insertions, 279 deletions
diff --git a/config/test_data/duplicate_game.yaml b/config/test_data/duplicate_game.yaml
deleted file mode 100644
index f01a017..0000000
--- a/config/test_data/duplicate_game.yaml
+++ /dev/null
@@ -1,30 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: p
- Label: play
- Action: play test
-
-Games:
- test:
- ChrootPath: test_data/fake_nethack_directory
- FileMode: 0777
- Commands:
- - wait
- test:
- ChrootPath: test_data/fake_nethack_directory
- FileMode: 0777
- Commands:
- - wait
diff --git a/config/test_data/duplicate_menu.yaml b/config/test_data/duplicate_menu.yaml
deleted file mode 100644
index 3dbefb7..0000000
--- a/config/test_data/duplicate_menu.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: t
- Label: test
- Action: menu test
- logged_in:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- test:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- test:
- MenuEntries:
- - Key: a
- Label: login
- Action: login
diff --git a/config/test_data/fake_nethack_directory/.keep b/config/test_data/fake_nethack_directory/.keep
deleted file mode 100644
index e69de29..0000000
--- a/config/test_data/fake_nethack_directory/.keep
+++ /dev/null
diff --git a/config/test_data/invalid_app.yaml b/config/test_data/invalid_app.yaml
deleted file mode 100644
index ed236ea..0000000
--- a/config/test_data/invalid_app.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
diff --git a/config/test_data/invalid_game.yaml b/config/test_data/invalid_game.yaml
deleted file mode 100644
index d58c3ee..0000000
--- a/config/test_data/invalid_game.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: p
- Label: play
- Action: play test
-
-Games:
- test:
diff --git a/config/test_data/invalid_menus.yaml b/config/test_data/invalid_menus.yaml
deleted file mode 100644
index 1df5fbf..0000000
--- a/config/test_data/invalid_menus.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- test:
diff --git a/config/test_data/invalid_yaml b/config/test_data/invalid_yaml
deleted file mode 100644
index db1ddad..0000000
--- a/config/test_data/invalid_yaml
+++ /dev/null
@@ -1 +0,0 @@
-blargh(ads)
diff --git a/config/test_data/minimal.yaml b/config/test_data/minimal.yaml
deleted file mode 100644
index 22a0a6c..0000000
--- a/config/test_data/minimal.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
diff --git a/config/test_data/no_anonymous_menu.yaml b/config/test_data/no_anonymous_menu.yaml
deleted file mode 100644
index a015160..0000000
--- a/config/test_data/no_anonymous_menu.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- test:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
diff --git a/config/test_data/no_logged_in_menu.yaml b/config/test_data/no_logged_in_menu.yaml
deleted file mode 100644
index 43d0054..0000000
--- a/config/test_data/no_logged_in_menu.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- test:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
diff --git a/config/test_data/non_existant_chopts.yaml b/config/test_data/non_existant_chopts.yaml
deleted file mode 100644
index d3f796d..0000000
--- a/config/test_data/non_existant_chopts.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: t
- Label: test
- Action: chopts invalid
diff --git a/config/test_data/non_existant_game.yaml b/config/test_data/non_existant_game.yaml
deleted file mode 100644
index 9bf6a38..0000000
--- a/config/test_data/non_existant_game.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: t
- Label: test
- Action: play invalid
diff --git a/config/test_data/non_existant_menu.yaml b/config/test_data/non_existant_menu.yaml
deleted file mode 100644
index f0f30a3..0000000
--- a/config/test_data/non_existant_menu.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: t
- Label: test
- Action: menu invalid
- logged_in:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
diff --git a/config/test_data/not_enough_menus.yaml b/config/test_data/not_enough_menus.yaml
deleted file mode 100644
index f585f44..0000000
--- a/config/test_data/not_enough_menus.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- test:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
diff --git a/config/test_data/unreachable_game.yaml b/config/test_data/unreachable_game.yaml
deleted file mode 100644
index f2f22e2..0000000
--- a/config/test_data/unreachable_game.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
-
-Games:
- unreachable:
- ChrootPath: test_data/fake_nethack_directory
- FileMode: 0777
- Commands:
- - wait
diff --git a/config/test_data/unreachable_menu.yaml b/config/test_data/unreachable_menu.yaml
deleted file mode 100644
index f947cf7..0000000
--- a/config/test_data/unreachable_menu.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-App:
- WorkingDirectory: var/
- MaxUsers: 1
- AllowRegistration: true
- MaxNickLen: 15
- MenuMaxIdleTime: 600
-
-Menus:
- anonymous:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- logged_in:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit
- test:
- MenuEntries:
- - Key: q
- Label: quit
- Action: quit