summaryrefslogtreecommitdiff
path: root/tests/unit/Soap/mockapp
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-03-25 17:55:51 +0100
committerFabio Bas <ctrlaltca@gmail.com>2016-03-25 17:55:51 +0100
commita3388622287e218beddfa14a47ed677d4307b36b (patch)
tree1b4c7ac8597b1cc798b6683d4a81c90d38de12f6 /tests/unit/Soap/mockapp
parentc7fd3e1167b6f2fa7746edbd0fb8f8c1694c61f9 (diff)
Removed simpletest and moved all tests in the unit tree
Tests are executed now, but a lot of them need fixing.
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();