summaryrefslogtreecommitdiff
path: root/php/test/Ice/operations/Client.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/test/Ice/operations/Client.php')
-rw-r--r--php/test/Ice/operations/Client.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/php/test/Ice/operations/Client.php b/php/test/Ice/operations/Client.php
index 6a71e960724..a7a4933565b 100644
--- a/php/test/Ice/operations/Client.php
+++ b/php/test/Ice/operations/Client.php
@@ -37,17 +37,26 @@ function twoways($communicator, $p)
$enum2 = $NS ? constant("Test\\MyEnum::enum2") : constant("Test_MyEnum::enum2");
$enum3 = $NS ? constant("Test\\MyEnum::enum3") : constant("Test_MyEnum::enum3");
+ $myDerivedClassPrxHelper = $NS ? "Test\\MyDerivedClassPrxHelper" : "Test_MyDerivedClassPrxHelper";
+ $myDerivedClass = $NS ? "Test\\MyDerivedClass" : "Test_MyDerivedClass";
+ $myClass = $NS ? "Test\\MyClass" : "Test_MyClass";
+ $objectPrxHelper = $NS ? "Ice\\ObjectPrxHelper" : "Ice_ObjectPrxHelper";
+
{
$p->ice_ping();
}
{
- test(Test_MyDerivedClassPrxHelper::ice_staticId() == Test_MyDerivedClass::ice_staticId());
+ test($myDerivedClassPrxHelper::ice_staticId() == $myDerivedClass::ice_staticId());
+ test($objectPrxHelper::ice_staticId() == "::Ice::Object");
+ }
+
+ {
+ test($p->ice_isA($myClass::ice_staticId()));
}
-
{
- test($p->ice_isA("::Test::MyClass"));
+ test($p->ice_id() == $myDerivedClass::ice_staticId());
}
{