From 3b7238996ad68f3c56a031e72e0b2f9aa0c8662c Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Tue, 22 May 2018 20:20:14 +0300 Subject: Tests: initial PHP application tests. --- test/php/404/404.html | 6 ++++++ test/php/404/index.php | 4 ++++ test/php/conditional/index.php | 5 +++++ test/php/cookies/index.php | 4 ++++ test/php/get_variables/index.php | 7 +++++++ test/php/mirror/index.php | 5 +++++ test/php/phpinfo/index.php | 3 +++ test/php/post_variables/index.php | 6 ++++++ test/php/variables/index.php | 13 +++++++++++++ 9 files changed, 53 insertions(+) create mode 100644 test/php/404/404.html create mode 100644 test/php/404/index.php create mode 100644 test/php/conditional/index.php create mode 100644 test/php/cookies/index.php create mode 100644 test/php/get_variables/index.php create mode 100644 test/php/mirror/index.php create mode 100644 test/php/phpinfo/index.php create mode 100644 test/php/post_variables/index.php create mode 100644 test/php/variables/index.php (limited to 'test/php') diff --git a/test/php/404/404.html b/test/php/404/404.html new file mode 100644 index 00000000..6d0c635a --- /dev/null +++ b/test/php/404/404.html @@ -0,0 +1,6 @@ + +404 Not Found + +

404 Not Found

+ + diff --git a/test/php/404/index.php b/test/php/404/index.php new file mode 100644 index 00000000..92afdf19 --- /dev/null +++ b/test/php/404/index.php @@ -0,0 +1,4 @@ + diff --git a/test/php/conditional/index.php b/test/php/conditional/index.php new file mode 100644 index 00000000..421e1a2d --- /dev/null +++ b/test/php/conditional/index.php @@ -0,0 +1,5 @@ + +True + +False + diff --git a/test/php/cookies/index.php b/test/php/cookies/index.php new file mode 100644 index 00000000..72a3f092 --- /dev/null +++ b/test/php/cookies/index.php @@ -0,0 +1,4 @@ + diff --git a/test/php/get_variables/index.php b/test/php/get_variables/index.php new file mode 100644 index 00000000..dd7ef985 --- /dev/null +++ b/test/php/get_variables/index.php @@ -0,0 +1,7 @@ + diff --git a/test/php/mirror/index.php b/test/php/mirror/index.php new file mode 100644 index 00000000..ffd2291d --- /dev/null +++ b/test/php/mirror/index.php @@ -0,0 +1,5 @@ + diff --git a/test/php/phpinfo/index.php b/test/php/phpinfo/index.php new file mode 100644 index 00000000..cf608608 --- /dev/null +++ b/test/php/phpinfo/index.php @@ -0,0 +1,3 @@ + diff --git a/test/php/post_variables/index.php b/test/php/post_variables/index.php new file mode 100644 index 00000000..5ea17324 --- /dev/null +++ b/test/php/post_variables/index.php @@ -0,0 +1,6 @@ + diff --git a/test/php/variables/index.php b/test/php/variables/index.php new file mode 100644 index 00000000..8f2e3bfc --- /dev/null +++ b/test/php/variables/index.php @@ -0,0 +1,13 @@ + -- cgit