summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/namespacemd/Server.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/namespacemd/Server.cs')
-rw-r--r--csharp/test/Ice/namespacemd/Server.cs37
1 files changed, 37 insertions, 0 deletions
diff --git a/csharp/test/Ice/namespacemd/Server.cs b/csharp/test/Ice/namespacemd/Server.cs
new file mode 100644
index 00000000000..ce7de2bf359
--- /dev/null
+++ b/csharp/test/Ice/namespacemd/Server.cs
@@ -0,0 +1,37 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+using Test;
+
+namespace Ice
+{
+ namespace namespacemd
+ {
+ public class Server : TestHelper
+ {
+ public override void run(string[] args)
+ {
+ using(var communicator = initialize(ref args))
+ {
+ communicator.getProperties().setProperty("TestAdapter.Endpoints", getTestEndpoint(0));
+ var adapter = communicator.createObjectAdapter("TestAdapter");
+ adapter.add(new InitialI(), Ice.Util.stringToIdentity("initial"));
+ adapter.activate();
+ serverReady();
+ communicator.waitForShutdown();
+ }
+ }
+
+ public static int Main(string[] args)
+ {
+ return TestDriver.runTest<Server>(args);
+ }
+ }
+ }
+}