~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to cpp/test/IceGrid/deployer/Server.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martín
  • Date: 2011-06-25 19:44:26 UTC
  • mfrom: (6.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20110625194426-9fip3u3hlwheohvl
Tags: 3.4.2-1
New upstream release (Closes: #631456).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// **********************************************************************
2
2
//
3
 
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
 
3
// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
4
4
//
5
5
// This copy of Ice is licensed to you under the terms described in the
6
6
// ICE_LICENSE file included in this distribution.
96
96
    test(value4 != 0 && wstring(value4) == L"2");
97
97
#endif
98
98
 
 
99
    char* value5 = getenv("MY_WINDOWS_COMPOSED_VARIABLE");
 
100
    test(value5 != 0 && string(value5) == "BAR;12");
 
101
 
99
102
#else
100
103
    char* value2 = getenv("MY_ENV_UNICODE_VARIABLE");
101
104
    test(value2 !=0 && string(value2) == unicodeVar);
105
108
 
106
109
    char* value4 = getenv(varname2.c_str());
107
110
    test(value4 != 0 && string(value4) == "2");
 
111
    
 
112
    char* value5 = getenv("MY_UNIX_COMPOSED_VARIABLE");
 
113
    test(value5 != 0 && string(value5) == "BAR;12");
108
114
#endif
109
115
 
110
116
    Server app;