diff options
author | Jose <jose@zeroc.com> | 2018-06-19 14:18:42 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-06-19 14:18:42 +0200 |
commit | c4b96f766a0dba9d6472144f6a05475bb6d6c946 (patch) | |
tree | e3cc326b4305ba0d9ff2aab25bab15410f2f05c9 /cpp/test/Ice/scope/Client.cpp | |
parent | slice2cpp generates invalid code wrt namespace qualification (diff) | |
download | ice-c4b96f766a0dba9d6472144f6a05475bb6d6c946.tar.bz2 ice-c4b96f766a0dba9d6472144f6a05475bb6d6c946.tar.xz ice-c4b96f766a0dba9d6472144f6a05475bb6d6c946.zip |
Test for qualified names
Diffstat (limited to 'cpp/test/Ice/scope/Client.cpp')
-rw-r--r-- | cpp/test/Ice/scope/Client.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cpp/test/Ice/scope/Client.cpp b/cpp/test/Ice/scope/Client.cpp new file mode 100644 index 00000000000..1e313ea6d42 --- /dev/null +++ b/cpp/test/Ice/scope/Client.cpp @@ -0,0 +1,33 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#include <Ice/Ice.h> +#include <TestHelper.h> +#include <Test.h> + +using namespace std; + +class Client : public Test::TestHelper +{ +public: + + void run(int, char**); +}; + +void +Client::run(int argc, char** argv) +{ + Ice::CommunicatorHolder communicator = initialize(argc, argv); + cout << "test same Slice type name in different scopes... " << flush; + void allTests(Test::TestHelper*); + allTests(this); + cout << "ok" << endl; +} + +DEFINE_TEST(Client) |