diff options
author | Jose <jose@zeroc.com> | 2019-10-21 16:27:28 +0200 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2021-02-02 10:38:58 -0500 |
commit | 4b46039f47f87c3b80d1788159251473da196fb2 (patch) | |
tree | 09f65cd06277a59d2ac7fcbc335fa7951d92e0e1 /cpp/test/Ice/properties/Client.cpp | |
parent | IceGrid and IceStorm (diff) | |
download | ice-4b46039f47f87c3b80d1788159251473da196fb2.tar.bz2 ice-4b46039f47f87c3b80d1788159251473da196fb2.tar.xz ice-4b46039f47f87c3b80d1788159251473da196fb2.zip |
Remove Ice::Application & Glacier2::Application deprecated classes
Diffstat (limited to 'cpp/test/Ice/properties/Client.cpp')
-rw-r--r-- | cpp/test/Ice/properties/Client.cpp | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/cpp/test/Ice/properties/Client.cpp b/cpp/test/Ice/properties/Client.cpp index d779106aa2b..7bc65015eac 100644 --- a/cpp/test/Ice/properties/Client.cpp +++ b/cpp/test/Ice/properties/Client.cpp @@ -13,23 +13,6 @@ namespace string configPath; -class TestApplication : public Ice::Application -{ -public: - - virtual int - run(int, char*[]) - { - Ice::PropertiesPtr properties = communicator()->getProperties(); - test(properties->getProperty("Ice.Trace.Network") == "1"); - test(properties->getProperty("Ice.Trace.Protocol") == "1"); - test(properties->getProperty("Config.Path") == configPath); - test(properties->getProperty("Ice.ProgramName") == "PropertiesClient"); - test(appName() == properties->getProperty("Ice.ProgramName")); - return EXIT_SUCCESS; - } -}; - } class Client : public Test::TestHelper @@ -40,7 +23,7 @@ public: }; void -Client::run(int argc, char** argv) +Client::run(int, char**) { ifstream in("./config/configPath"); if(!in) @@ -65,13 +48,6 @@ Client::run(int argc, char** argv) } { - cout << "testing load properties from UTF-8 path using Ice::Application... " << flush; - TestApplication app; - app.main(argc, argv, configPath.c_str()); - cout << "ok" << endl; - } - - { cout << "testing using Ice.Config with multiple config files... " << flush; Ice::PropertiesPtr properties; Ice::StringSeq args; |