diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-02-20 08:40:07 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-02-20 08:40:07 +0100 |
commit | 37ff596dd05d4be9895ecbdffb47762e0c4f371d (patch) | |
tree | 7d18a60bd33af5d2ecd95ef051a31f40ac66d63d /cpp/test/WinRT/TestSuite/MainPage.xaml.cpp | |
parent | Android Chat Demo fixes (diff) | |
download | ice-37ff596dd05d4be9895ecbdffb47762e0c4f371d.tar.bz2 ice-37ff596dd05d4be9895ecbdffb47762e0c4f371d.tar.xz ice-37ff596dd05d4be9895ecbdffb47762e0c4f371d.zip |
Fixed ICE-5267 - don't run metrics test when IPv6 enabled
Diffstat (limited to 'cpp/test/WinRT/TestSuite/MainPage.xaml.cpp')
-rw-r--r-- | cpp/test/WinRT/TestSuite/MainPage.xaml.cpp | 52 |
1 files changed, 29 insertions, 23 deletions
diff --git a/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp b/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp index 626f73178b5..a369e3dbda9 100644 --- a/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp +++ b/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp @@ -290,34 +290,36 @@ struct TestCase const char* serverAMD; const char* collocated; bool sslSupport; + bool ipv6Support; }; } static const TestCase allTest[] = { - {"Ice\\adapterDeactivation", "Ice_adapterDeactivation_", "client.dll", "server.dll", 0, "collocated.dll", true}, - {"Ice\\ami", "Ice_ami_", "client.dll", "server.dll", 0, 0, true }, - {"Ice\\binding", "Ice_binding_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\dispatcher", "Ice_dispatcher_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\exceptions", "Ice_exceptions_", "client.dll", "server.dll", "serveramd.dll", "collocated.dll", true}, - {"Ice\\facets", "Ice_facets_", "client.dll", "server.dll", 0, "collocated.dll", true}, - {"Ice\\hold", "Ice_hold_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\info", "Ice_info_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\inheritance", "Ice_inheritance_", "client.dll", "server.dll", 0, "collocated.dll", true}, - {"Ice\\invoke", "Ice_invoke_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\location", "Ice_location_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\objects", "Ice_objects_", "client.dll", "server.dll", 0, "collocated.dll", true}, - {"Ice\\operations", "Ice_operations_", "client.dll", "server.dll", "serveramd.dll", "collocated.dll", true}, - {"Ice\\proxy", "Ice_proxy_", "client.dll", "server.dll", "serveramd.dll", "collocated.dll", true}, - {"Ice\\retry", "Ice_retry_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\stream", "Ice_stream_", "client.dll", 0, 0, 0, true}, - {"Ice\\timeout", "Ice_timeout_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\udp", "Ice_udp_", "client.dll", "server.dll", 0, 0, false}, - {"Ice\\hash", "Ice_hash_", "client.dll", 0, 0, 0, true}, - {"Ice\\metrics", "Ice_metrics_", "client.dll", "server.dll", "serveramd.dll", 0, false}, - {"Ice\\optional", "Ice_optional_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\admin", "Ice_admin_", "client.dll", "server.dll", 0, 0, true}, - {"Ice\\enums", "Ice_enums_", "client.dll", "server.dll", 0, 0, true} + {"Ice\\adapterDeactivation", "Ice_adapterDeactivation_", "client.dll", "server.dll", 0, "collocated.dll", true, + true }, + {"Ice\\ami", "Ice_ami_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\binding", "Ice_binding_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\dispatcher", "Ice_dispatcher_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\exceptions", "Ice_exceptions_", "client.dll", "server.dll", "serveramd.dll", "collocated.dll", true, true }, + {"Ice\\facets", "Ice_facets_", "client.dll", "server.dll", 0, "collocated.dll", true, true }, + {"Ice\\hold", "Ice_hold_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\info", "Ice_info_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\inheritance", "Ice_inheritance_", "client.dll", "server.dll", 0, "collocated.dll", true, true }, + {"Ice\\invoke", "Ice_invoke_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\location", "Ice_location_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\objects", "Ice_objects_", "client.dll", "server.dll", 0, "collocated.dll", true, true }, + {"Ice\\operations", "Ice_operations_", "client.dll", "server.dll", "serveramd.dll", "collocated.dll", true, true }, + {"Ice\\proxy", "Ice_proxy_", "client.dll", "server.dll", "serveramd.dll", "collocated.dll", true, true }, + {"Ice\\retry", "Ice_retry_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\stream", "Ice_stream_", "client.dll", 0, 0, 0, true, true }, + {"Ice\\timeout", "Ice_timeout_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\udp", "Ice_udp_", "client.dll", "server.dll", 0, 0, false, true }, + {"Ice\\hash", "Ice_hash_", "client.dll", 0, 0, 0, true, true }, + {"Ice\\metrics", "Ice_metrics_", "client.dll", "server.dll", "serveramd.dll", 0, false, false }, + {"Ice\\optional", "Ice_optional_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\admin", "Ice_admin_", "client.dll", "server.dll", 0, 0, true, true }, + {"Ice\\enums", "Ice_enums_", "client.dll", "server.dll", 0, 0, true, true } }; class TestRunner : public IceUtil::Thread @@ -337,6 +339,10 @@ public: { printLineToConsoleOutput("**** test " + _test.name + " not supported with SSL"); } + else if(_config.ipv6 && !_test.ipv6Support) + { + printLineToConsoleOutput("**** test " + _test.name + " not supported with IPv6"); + } else if(_config.ssl && _config.ipv6) { printLineToConsoleOutput("**** test " + _test.name + " not supported with IPv6 SSL"); |