diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-09-01 22:55:22 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-09-01 22:55:22 +0000 |
commit | c8e248c5452923f4f4692ebe6f142d59d4172ff4 (patch) | |
tree | 3c28c5c58edba2cab0288e90f18cff810c2ae05d /py/test/Ice/facets/Server.py | |
parent | Added missing .depend (diff) | |
download | ice-c8e248c5452923f4f4692ebe6f142d59d4172ff4.tar.bz2 ice-c8e248c5452923f4f4692ebe6f142d59d4172ff4.tar.xz ice-c8e248c5452923f4f4692ebe6f142d59d4172ff4.zip |
global definition fixes for tests & demos cleaning up translator adding
support for dynamically loading Slice files modifying tests to
dynamically load Slice
Diffstat (limited to 'py/test/Ice/facets/Server.py')
-rw-r--r-- | py/test/Ice/facets/Server.py | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/py/test/Ice/facets/Server.py b/py/test/Ice/facets/Server.py index 77fd3ad756b..cf72515ea97 100644 --- a/py/test/Ice/facets/Server.py +++ b/py/test/Ice/facets/Server.py @@ -7,33 +7,36 @@ # # ********************************************************************** -import sys, Ice, Test, _Top +import sys, Ice -class AI(_Top.A): +Ice.loadSlice('Test.ice') +import Test + +class AI(Test.A): def callA(self, current=None): return "A" -class BI(_Top.B, AI): +class BI(Test.B, AI): def callB(self, current=None): return "B" -class CI(_Top.C, AI): +class CI(Test.C, AI): def callC(self, current=None): return "C" -class DI(_Top.D, BI, CI): +class DI(Test.D, BI, CI): def callD(self, current=None): return "D" -class EI(_Top.E): +class EI(Test.E): def callE(self, current=None): return "E" -class FI(_Top.F, EI): +class FI(Test.F, EI): def callF(self, current=None): return "F" -class GI(_Top.G): +class GI(Test.G): def __init__(self, communicator): self._communicator = communicator @@ -43,7 +46,7 @@ class GI(_Top.G): def callG(self, current=None): return "G" -class HI(_Top.H, GI): +class HI(Test.H, GI): def __init__(self, communicator): GI.__init__(self, communicator) |