summaryrefslogtreecommitdiff
path: root/tests/unit/Soap/mockapp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Soap/mockapp')
-rw-r--r--tests/unit/Soap/mockapp/application.xml9
-rw-r--r--tests/unit/Soap/mockapp/pages/.gitignore0
-rwxr-xr-xtests/unit/Soap/mockapp/runtime/.gitignore2
-rw-r--r--tests/unit/Soap/mockapp/ws.php7
4 files changed, 18 insertions, 0 deletions
diff --git a/tests/unit/Soap/mockapp/application.xml b/tests/unit/Soap/mockapp/application.xml
new file mode 100644
index 00000000..69961b84
--- /dev/null
+++ b/tests/unit/Soap/mockapp/application.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<application id="simple_unit" mode="Debug">
+ <services>
+ <service id="soap" class="System.Web.Services.TSoapService">
+ <soap id="contacts" provider="Application.Soap.ContactManager" ClassMaps="Contact, Address"/>
+ </service>
+ </services>
+</application> \ No newline at end of file
diff --git a/tests/unit/Soap/mockapp/pages/.gitignore b/tests/unit/Soap/mockapp/pages/.gitignore
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/unit/Soap/mockapp/pages/.gitignore
diff --git a/tests/unit/Soap/mockapp/runtime/.gitignore b/tests/unit/Soap/mockapp/runtime/.gitignore
new file mode 100755
index 00000000..d6b7ef32
--- /dev/null
+++ b/tests/unit/Soap/mockapp/runtime/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/tests/unit/Soap/mockapp/ws.php b/tests/unit/Soap/mockapp/ws.php
new file mode 100644
index 00000000..9096183e
--- /dev/null
+++ b/tests/unit/Soap/mockapp/ws.php
@@ -0,0 +1,7 @@
+<?php
+
+include_once '../../framework/prado.php';
+include_once './Soap/ContactManager.php';
+
+$app = new TApplication('.');
+$app->run();