1<?php 2// 3// Copyright (c) ZeroC, Inc. All rights reserved. 4// 5 6class Client extends TestHelper 7{ 8 function run($args) 9 { 10 global $NS; 11 $properties = call_user_func($NS ? "\\Ice\\getProperties" : "Ice_getProperties"); 12 test($properties->getPropertyAsInt("Ice.Trace.Protocol") == 1); 13 test($properties->getPropertyAsInt("Ice.Trace.Network") == 1); 14 test($properties->getPropertyAsInt("Ice.Warn.Connections") == 1); 15 test($properties->getProperty("Hello.Proxy") == "hello:tcp -h localhost -p 10000"); 16 } 17} 18 19?> 20