summaryrefslogtreecommitdiff
path: root/ext/wddx/tests/001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wddx/tests/001.phpt')
-rw-r--r--ext/wddx/tests/001.phpt57
1 files changed, 0 insertions, 57 deletions
diff --git a/ext/wddx/tests/001.phpt b/ext/wddx/tests/001.phpt
deleted file mode 100644
index 857cc2f304..0000000000
--- a/ext/wddx/tests/001.phpt
+++ /dev/null
@@ -1,57 +0,0 @@
---TEST--
-wddz deserialization test
---FILE--
-<?php
- $path = dirname(__FILE__);
- var_dump(wddx_deserialize(file_get_contents("{$path}/wddx.xml")));
-?>
---EXPECT--
-array(11) {
- ["aNull"]=>
- NULL
- ["aString"]=>
- string(8) "a string"
- ["aNumber"]=>
- float(-12.456)
- ["aDateTime"]=>
- int(897600732)
- ["aDateTime2"]=>
- string(19) "1930-06-12T04:32:12"
- ["aDateTime3"]=>
- string(19) "2040-06-12T04:32:12"
- ["aBoolean"]=>
- bool(true)
- ["anArray"]=>
- array(2) {
- [0]=>
- int(10)
- [1]=>
- string(14) "second element"
- }
- ["aBinary"]=>
- string(11) "binary data"
- ["anObject"]=>
- array(2) {
- ["s"]=>
- string(8) "a string"
- ["n"]=>
- float(-12.456)
- }
- ["aRecordset"]=>
- array(2) {
- ["NAME"]=>
- array(2) {
- [0]=>
- string(8) "John Doe"
- [1]=>
- string(8) "Jane Doe"
- }
- ["AGE"]=>
- array(2) {
- [0]=>
- int(34)
- [1]=>
- int(31)
- }
- }
-}