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