summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/dictMapping/Client.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-07-20 19:19:30 +0200
committerJose <jose@zeroc.com>2018-07-20 19:19:30 +0200
commitf831849a119aa592d207fd38428517b414c2b39d (patch)
tree88c4d1c69072ad45eda621079f0d1d8b89a1fd8e /csharp/test/Ice/dictMapping/Client.cs
parentUpdate Travis CI build to use ubuntu-18.04 (diff)
downloadice-f831849a119aa592d207fd38428517b414c2b39d.tar.bz2
ice-f831849a119aa592d207fd38428517b414c2b39d.tar.xz
ice-f831849a119aa592d207fd38428517b414c2b39d.zip
Xamarin testsuite
Diffstat (limited to 'csharp/test/Ice/dictMapping/Client.cs')
-rw-r--r--csharp/test/Ice/dictMapping/Client.cs45
1 files changed, 23 insertions, 22 deletions
diff --git a/csharp/test/Ice/dictMapping/Client.cs b/csharp/test/Ice/dictMapping/Client.cs
index feb3064f8c9..a5a2a1186a8 100644
--- a/csharp/test/Ice/dictMapping/Client.cs
+++ b/csharp/test/Ice/dictMapping/Client.cs
@@ -7,32 +7,33 @@
//
// **********************************************************************
-using System;
-using System.Diagnostics;
-using System.Reflection;
+using Test;
-[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 dictMapping
{
- using(var communicator = initialize(ref args))
+ public class Client : TestHelper
{
- Test.MyClassPrx myClass = AllTests.allTests(this, false);
- Console.Out.Write("shutting down server... ");
- Console.Out.Flush();
- myClass.shutdown();
- Console.Out.WriteLine("ok");
- }
- }
+ public override void run(string[] args)
+ {
+ var properties = createTestProperties(ref args);
+ properties.setProperty("Ice.Package.Test", "Ice.dictMapping");
+ using(var communicator = initialize(properties))
+ {
+ var output = getWriter();
+ var myClass = AllTests.allTests(this, false);
+ output.Write("shutting down server... ");
+ output.Flush();
+ myClass.shutdown();
+ output.WriteLine("ok");
+ }
+ }
- public static int Main(string[] args)
- {
- return Test.TestDriver.runTest<Client>(args);
+ public static int Main(string[] args)
+ {
+ return TestDriver.runTest<Client>(args);
+ }
+ }
}
}