From 8594a3806fd175520fba109aacb5ff21c8480996 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 20 Apr 2005 06:35:29 +0000 Subject: [PATCH] Some tests where fixed --- ext/soap/tests/bugs/bug29236.phpt | 4 +- ext/soap/tests/classmap.wsdl | 120 +++++++++++++-------------- ext/soap/tests/schema/schema074.phpt | 29 +++++++ 3 files changed, 91 insertions(+), 62 deletions(-) create mode 100644 ext/soap/tests/schema/schema074.phpt diff --git a/ext/soap/tests/bugs/bug29236.phpt b/ext/soap/tests/bugs/bug29236.phpt index 372449fbb2..4dbc302c17 100644 --- a/ext/soap/tests/bugs/bug29236.phpt +++ b/ext/soap/tests/bugs/bug29236.phpt @@ -3,7 +3,7 @@ Bug #29236 (memory error when wsdl-cache is enabled) --SKIPIF-- --FILE-- -__getFunctions()); ?> @@ -17,4 +17,4 @@ array(4) { string(41) "LogoutResponse Logout(Logout $parameters)" [3]=> string(62) "GetSystemInfoResponse GetSystemInfo(GetSystemInfo $parameters)" -} \ No newline at end of file +} diff --git a/ext/soap/tests/classmap.wsdl b/ext/soap/tests/classmap.wsdl index 25062630ac..7fcf596244 100644 --- a/ext/soap/tests/classmap.wsdl +++ b/ext/soap/tests/classmap.wsdl @@ -1,60 +1,60 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ext/soap/tests/schema/schema074.phpt b/ext/soap/tests/schema/schema074.phpt new file mode 100644 index 0000000000..3dbba0cd25 --- /dev/null +++ b/ext/soap/tests/schema/schema074.phpt @@ -0,0 +1,29 @@ +--TEST-- +SOAP XML Schema 74: Structure with attributes and qualified elements +--SKIPIF-- + +--FILE-- + + + + + + +EOF; + +test_schema($schema,'type="tns:testType"',(object)array("str"=>"str","int"=>123.5), "rpc", "encoded", 'attributeFormDefault="qualified"'); +echo "ok"; +?> +--EXPECTF-- + +str +object(stdClass)#%d (2) { + ["str"]=> + string(3) "str" + ["int"]=> + int(123) +} +ok -- 2.50.1