summaryrefslogtreecommitdiff
path: root/swift/test/Ice/ami/Collocated.swift
diff options
context:
space:
mode:
Diffstat (limited to 'swift/test/Ice/ami/Collocated.swift')
-rw-r--r--swift/test/Ice/ami/Collocated.swift9
1 files changed, 6 insertions, 3 deletions
diff --git a/swift/test/Ice/ami/Collocated.swift b/swift/test/Ice/ami/Collocated.swift
index 5d6f883bd1f..bdec62b40a9 100644
--- a/swift/test/Ice/ami/Collocated.swift
+++ b/swift/test/Ice/ami/Collocated.swift
@@ -41,10 +41,13 @@ class Collocated: TestHelperI {
let adapter = try communicator.createObjectAdapter("TestAdapter")
let adapter2 = try communicator.createObjectAdapter("ControllerAdapter")
- try adapter.add(servant: TestI(helper: self), id: Ice.stringToIdentity("test"))
- try adapter.add(servant: TestII(), id: Ice.stringToIdentity("test2"))
+ try adapter.add(servant: TestIntfDisp(TestI(helper: self)),
+ id: Ice.stringToIdentity("test"))
+ try adapter.add(servant: OuterInnerTestIntfDisp(TestII()),
+ id: Ice.stringToIdentity("test2"))
try adapter.activate()
- try adapter2.add(servant: TestControllerI(adapter: adapter), id: Ice.stringToIdentity("testController"))
+ try adapter2.add(servant: TestIntfControllerDisp(TestControllerI(adapter: adapter)),
+ id: Ice.stringToIdentity("testController"))
try adapter2.activate()
try allTests(self, collocated: true)
}