diff options
author | Bernard Normier <bernard@zeroc.com> | 2018-10-18 12:01:54 -0400 |
---|---|---|
committer | Jose <pepone@users.noreply.github.com> | 2018-10-18 18:01:53 +0200 |
commit | 456001e3e4dbb3f15396c0598b6ddb5436ac3a2a (patch) | |
tree | facb9db494f91b066a1c0b5e29c371ec523a82e7 /csharp/test/Ice/exceptions/Client.cs | |
parent | Update Xamarin test instructions (diff) | |
download | ice-456001e3e4dbb3f15396c0598b6ddb5436ac3a2a.tar.bz2 ice-456001e3e4dbb3f15396c0598b6ddb5436ac3a2a.tar.xz ice-456001e3e4dbb3f15396c0598b6ddb5436ac3a2a.zip |
Rework cs:namespace implementation (fix issue #239) (#249)
* Rework the cs:namespace implementation
No longer rely on Ice.Packages. Fixes #239.
* Renamed Ice/packagemd to Ice/namespacemd (C#)
* Removed Ice.Package property from C# tests
* Switched to get-only attribute, fixed Xamarin test
Diffstat (limited to 'csharp/test/Ice/exceptions/Client.cs')
-rw-r--r-- | csharp/test/Ice/exceptions/Client.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/csharp/test/Ice/exceptions/Client.cs b/csharp/test/Ice/exceptions/Client.cs index f08c2816bee..30d217346eb 100644 --- a/csharp/test/Ice/exceptions/Client.cs +++ b/csharp/test/Ice/exceptions/Client.cs @@ -17,11 +17,12 @@ namespace Ice { 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)) + var initData = new InitializationData(); + initData.typeIdNamespaces = new string[]{"Ice.exceptions.TypeId"}; + initData.properties = createTestProperties(ref args); + initData.properties.setProperty("Ice.Warn.Connections", "0"); + initData.properties.setProperty("Ice.MessageSizeMax", "10"); // 10KB max + using(var communicator = initialize(initData)) { communicator.getProperties().setProperty("TestAdapter.Endpoints", getTestEndpoint(0)); var thrower = AllTests.allTests(this); |