summaryrefslogtreecommitdiff
path: root/php/test/Ice/ini/Client.php
blob: 4bf470a18fc8235a2faa72e658abe574c64069b4 (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 Client extends TestHelper
{
    function run($args)
    {
        global $NS;
        $properties = call_user_func($NS ? "\\Ice\\getProperties" : "Ice_getProperties");
        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");
    }
}

?>