summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/scope/Server.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/scope/Server.cs')
-rw-r--r--csharp/test/Ice/scope/Server.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/csharp/test/Ice/scope/Server.cs b/csharp/test/Ice/scope/Server.cs
index 32824923b80..edeb767cf55 100644
--- a/csharp/test/Ice/scope/Server.cs
+++ b/csharp/test/Ice/scope/Server.cs
@@ -228,9 +228,10 @@ namespace Ice
public override void run(string[] args)
{
- Ice.Properties properties = createTestProperties(ref args);
- properties.setProperty("Ice.Package.Test", "Ice.scope");
- using(var communicator = initialize(properties))
+ var initData = new InitializationData();
+ initData.typeIdNamespaces = new string[]{"Ice.scope.TypeId"};
+ initData.properties = createTestProperties(ref args);
+ using(var communicator = initialize(initData))
{
communicator.getProperties().setProperty("TestAdapter.Endpoints", getTestEndpoint(0));
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter");