From 21e25c50af5c4b7bd8c7244ef4dc20005b91705f Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Mon, 6 Jan 2014 19:52:10 -0800 Subject: [PATCH] test: nginx: Adds missing files This commit is just to circunvent a problem, there is no need to have those files duplicated in our repository, that will be fixed soon. --- .../nginx/conf/SoapEnvelope-bad.dtd | 8 ++ .../nginx/conf/SoapEnvelope-bad.xsd | 126 ++++++++++++++++++ tests/regression/nginx/conf/SoapEnvelope.dtd | 8 ++ tests/regression/nginx/conf/SoapEnvelope.xsd | 126 ++++++++++++++++++ tests/regression/nginx/conf/match.lua | 14 ++ tests/regression/nginx/conf/test.lua | 14 ++ 6 files changed, 296 insertions(+) create mode 100644 tests/regression/nginx/conf/SoapEnvelope-bad.dtd create mode 100644 tests/regression/nginx/conf/SoapEnvelope-bad.xsd create mode 100644 tests/regression/nginx/conf/SoapEnvelope.dtd create mode 100644 tests/regression/nginx/conf/SoapEnvelope.xsd create mode 100644 tests/regression/nginx/conf/match.lua create mode 100644 tests/regression/nginx/conf/test.lua diff --git a/tests/regression/nginx/conf/SoapEnvelope-bad.dtd b/tests/regression/nginx/conf/SoapEnvelope-bad.dtd new file mode 100644 index 00000000..7d6c19f4 --- /dev/null +++ b/tests/regression/nginx/conf/SoapEnvelope-bad.dtd @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/tests/regression/nginx/conf/SoapEnvelope-bad.xsd b/tests/regression/nginx/conf/SoapEnvelope-bad.xsd new file mode 100644 index 00000000..2acfd1da --- /dev/null +++ b/tests/regression/nginx/conf/SoapEnvelope-bad.xsd @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Prose in the spec does not specify that attributes are allowed on the Body element + + + + + + + + + + + + + + + + + + + + 'encodingStyle' indicates any canonicalization conventions followed in the contents of the containing element. For example, the value 'http://schemas.xmlsoap.org/soap/encoding/' indicates the pattern described in SOAP specification + + + + + + + + + + + + + + + Fault reporting structure + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/regression/nginx/conf/SoapEnvelope.dtd b/tests/regression/nginx/conf/SoapEnvelope.dtd new file mode 100644 index 00000000..0ad4a8ab --- /dev/null +++ b/tests/regression/nginx/conf/SoapEnvelope.dtd @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/tests/regression/nginx/conf/SoapEnvelope.xsd b/tests/regression/nginx/conf/SoapEnvelope.xsd new file mode 100644 index 00000000..2b4a8c06 --- /dev/null +++ b/tests/regression/nginx/conf/SoapEnvelope.xsd @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Prose in the spec does not specify that attributes are allowed on the Body element + + + + + + + + + + + + + + + + + + + + 'encodingStyle' indicates any canonicalization conventions followed in the contents of the containing element. For example, the value 'http://schemas.xmlsoap.org/soap/encoding/' indicates the pattern described in SOAP specification + + + + + + + + + + + + + + + Fault reporting structure + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/regression/nginx/conf/match.lua b/tests/regression/nginx/conf/match.lua new file mode 100644 index 00000000..fafd39b1 --- /dev/null +++ b/tests/regression/nginx/conf/match.lua @@ -0,0 +1,14 @@ +-- Test matching Lua Script to just print debug messages +function main() + m.log(1, "Test message."); + m.log(2, "Test message."); + m.log(3, "Test message."); + m.log(4, "Test message."); + m.log(5, "Test message."); + m.log(6, "Test message."); + m.log(7, "Test message."); + m.log(8, "Test message."); + m.log(9, "Test message."); + + return "Lua script matched."; +end diff --git a/tests/regression/nginx/conf/test.lua b/tests/regression/nginx/conf/test.lua new file mode 100644 index 00000000..1cff076d --- /dev/null +++ b/tests/regression/nginx/conf/test.lua @@ -0,0 +1,14 @@ +-- Test Lua Script to just print debug messages +function main() + m.log(1, "Test message."); + m.log(2, "Test message."); + m.log(3, "Test message."); + m.log(4, "Test message."); + m.log(5, "Test message."); + m.log(6, "Test message."); + m.log(7, "Test message."); + m.log(8, "Test message."); + m.log(9, "Test message."); + + return nil; +end