diff options
Diffstat (limited to 'ext/rpc/tests')
-rw-r--r-- | ext/rpc/tests/test1.php | 14 | ||||
-rw-r--r-- | ext/rpc/tests/test2.php | 20 | ||||
-rw-r--r-- | ext/rpc/tests/test3.php | 19 | ||||
-rw-r--r-- | ext/rpc/tests/test4.php | 18 | ||||
-rw-r--r-- | ext/rpc/tests/tests.php | 6 |
5 files changed, 0 insertions, 77 deletions
diff --git a/ext/rpc/tests/test1.php b/ext/rpc/tests/test1.php deleted file mode 100644 index b61a4aad5f..0000000000 --- a/ext/rpc/tests/test1.php +++ /dev/null @@ -1,14 +0,0 @@ -<?php - -$rpc = new com("class"); - -/* class hirarchy test */ -echo "is class .. " . (get_class($rpc) == "class" ? "passed" : "faiure"); -echo "\n"; -echo "is com .. " . (is_subclass_of($rpc, "com") ? "passed" : "failure"); -echo "\n"; -echo "is rpc .. " . (is_subclass_of($rpc, "rpc") ? "passed" : "failure"); - -/* uncloneable */ -//$rpc->__clone(); // issues a fatal -?>
\ No newline at end of file diff --git a/ext/rpc/tests/test2.php b/ext/rpc/tests/test2.php deleted file mode 100644 index 666033da2a..0000000000 --- a/ext/rpc/tests/test2.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -echo "hash test\n"; - -/* hash test */ -$rpc1 = new com("hash", true, 1); -$rpc2 = new com("hash", false, 2); -$rpc3 = new com("hash", true, 3); -$rpc4 = com_load("hash", false, 4); -$rpc5 = com_load("hash", true, 5); - -$rpc1->{3} = "hh"; -com_set($rpc2, "hehe", 3); - -$rpc1->call("blah"); -$rpc2->call("blah"); -$rpc3->call("blah"); -$rpc4->call("heh"); -$rpc5->call("blah"); -?>
\ No newline at end of file diff --git a/ext/rpc/tests/test3.php b/ext/rpc/tests/test3.php deleted file mode 100644 index 8fe522cb37..0000000000 --- a/ext/rpc/tests/test3.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -echo "singleton test\n"; - -/* singleton test */ -$rpc1 = new com("singleton", true, 1); -com_singleton($rpc1); - -$rpc2 = new com("singleton", false, 2); -$rpc3 = new com("singleton", true, 3); -$rpc4 = new com("singleton", false, 4); -$rpc5 = new com("singleton", true, 5); - -delete $rpc1; -delete $rpc2; -delete $rpc3; -delete $rpc4; -delete $rpc5; -?> diff --git a/ext/rpc/tests/test4.php b/ext/rpc/tests/test4.php deleted file mode 100644 index e690273672..0000000000 --- a/ext/rpc/tests/test4.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -echo "pooling test\n"; - -/* pooling test */ -$rpc = new com("pooling", true, 1); -com_poolable($rpc); -delete $rpc; - -$rpc = new com("pooling", true, 1); -delete $rpc; - -$rpc = new com("pooling", true, 1); -delete $rpc; - -$rpc = new com("pooling", true, 1); -delete $rpc; -?> diff --git a/ext/rpc/tests/tests.php b/ext/rpc/tests/tests.php deleted file mode 100644 index 2ea6a7d019..0000000000 --- a/ext/rpc/tests/tests.php +++ /dev/null @@ -1,6 +0,0 @@ -<?php -//include_once "test1.php"; -//include_once "test2.php"; -//include_once "test3.php"; -include_once "test4.php"; -?> |