summaryrefslogtreecommitdiff
path: root/contrib/playlib/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/playlib/test/resources')
-rw-r--r--contrib/playlib/test/resources/hello-world/core/conf/routes1
-rw-r--r--contrib/playlib/test/resources/hello-world/core/conf/sub.routes2
-rw-r--r--contrib/playlib/test/resources/invalid/core/conf/routes3
-rw-r--r--contrib/playlib/test/resources/invalidsub/core/conf/routes4
-rw-r--r--contrib/playlib/test/resources/invalidsub/core/conf/sub.routes3
5 files changed, 12 insertions, 1 deletions
diff --git a/contrib/playlib/test/resources/hello-world/core/conf/routes b/contrib/playlib/test/resources/hello-world/core/conf/routes
index 7d5e5498..f71b0cdd 100644
--- a/contrib/playlib/test/resources/hello-world/core/conf/routes
+++ b/contrib/playlib/test/resources/hello-world/core/conf/routes
@@ -1,2 +1,3 @@
GET / controllers.HomeController.index
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
+-> /sub sub.Routes \ No newline at end of file
diff --git a/contrib/playlib/test/resources/hello-world/core/conf/sub.routes b/contrib/playlib/test/resources/hello-world/core/conf/sub.routes
new file mode 100644
index 00000000..4597a19b
--- /dev/null
+++ b/contrib/playlib/test/resources/hello-world/core/conf/sub.routes
@@ -0,0 +1,2 @@
+GET / controllers.SubController.index
+GET /assets/*file controllers.Assets.versioned(path="/public/sub", file: Asset)
diff --git a/contrib/playlib/test/resources/invalid/core/conf/routes b/contrib/playlib/test/resources/invalid/core/conf/routes
index 1b31139f..5c946fc6 100644
--- a/contrib/playlib/test/resources/invalid/core/conf/routes
+++ b/contrib/playlib/test/resources/invalid/core/conf/routes
@@ -1,3 +1,4 @@
GET / controllers.HomeController.index
-BOB =error controllers.HomeController.error(foo)
+-> /sub sub.Routes
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
+BOB =error controllers.HomeController.error(foo) \ No newline at end of file
diff --git a/contrib/playlib/test/resources/invalidsub/core/conf/routes b/contrib/playlib/test/resources/invalidsub/core/conf/routes
new file mode 100644
index 00000000..5c946fc6
--- /dev/null
+++ b/contrib/playlib/test/resources/invalidsub/core/conf/routes
@@ -0,0 +1,4 @@
+GET / controllers.HomeController.index
+-> /sub sub.Routes
+GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
+BOB =error controllers.HomeController.error(foo) \ No newline at end of file
diff --git a/contrib/playlib/test/resources/invalidsub/core/conf/sub.routes b/contrib/playlib/test/resources/invalidsub/core/conf/sub.routes
new file mode 100644
index 00000000..9c844a4a
--- /dev/null
+++ b/contrib/playlib/test/resources/invalidsub/core/conf/sub.routes
@@ -0,0 +1,3 @@
+GET / controllers.SubController.index
+GET /assets/*file controllers.Assets.versioned(path="/public/sub", file: Asset)
+BOB =error controllers.HomeController.error(foo) \ No newline at end of file