diff options
author | Jose <jose@zeroc.com> | 2018-07-20 19:19:30 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-07-20 19:19:30 +0200 |
commit | f831849a119aa592d207fd38428517b414c2b39d (patch) | |
tree | 88c4d1c69072ad45eda621079f0d1d8b89a1fd8e /csharp/test/Ice/exceptions/Client.cs | |
parent | Update Travis CI build to use ubuntu-18.04 (diff) | |
download | ice-f831849a119aa592d207fd38428517b414c2b39d.tar.bz2 ice-f831849a119aa592d207fd38428517b414c2b39d.tar.xz ice-f831849a119aa592d207fd38428517b414c2b39d.zip |
Xamarin testsuite
Diffstat (limited to 'csharp/test/Ice/exceptions/Client.cs')
-rw-r--r-- | csharp/test/Ice/exceptions/Client.cs | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/csharp/test/Ice/exceptions/Client.cs b/csharp/test/Ice/exceptions/Client.cs index 313fcb3762f..f08c2816bee 100644 --- a/csharp/test/Ice/exceptions/Client.cs +++ b/csharp/test/Ice/exceptions/Client.cs @@ -8,32 +8,31 @@ // ********************************************************************** using Test; -using System; -using System.Reflection; -[assembly: CLSCompliant(true)] - -[assembly: AssemblyTitle("IceTest")] -[assembly: AssemblyDescription("Ice test")] -[assembly: AssemblyCompany("ZeroC, Inc.")] - -public class Client : Test.TestHelper +namespace Ice { - public override void run(string[] args) + namespace exceptions { - Ice.Properties properties = createTestProperties(ref args); - properties.setProperty("Ice.Warn.Connections", "0"); - properties.setProperty("Ice.MessageSizeMax", "10"); // 10KB max - using(var communicator = initialize(properties)) + public class Client : TestHelper { - communicator.getProperties().setProperty("TestAdapter.Endpoints", getTestEndpoint(0)); - ThrowerPrx thrower = AllTests.allTests(this); - thrower.shutdown(); - } - } + public override void run(string[] args) + { + Ice.Properties properties = createTestProperties(ref args); + properties.setProperty("Ice.Warn.Connections", "0"); + properties.setProperty("Ice.MessageSizeMax", "10"); // 10KB max + properties.setProperty("Ice.Package.Test", "Ice.exceptions"); + using(var communicator = initialize(properties)) + { + communicator.getProperties().setProperty("TestAdapter.Endpoints", getTestEndpoint(0)); + var thrower = AllTests.allTests(this); + thrower.shutdown(); + } + } - public static int Main(string[] args) - { - return Test.TestDriver.runTest<Client>(args); + public static int Main(string[] args) + { + return TestDriver.runTest<Client>(args); + } + } } } |