summaryrefslogtreecommitdiff
path: root/java/test/Ice/slicing/exceptions/ssrc/TestI.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2009-03-24 12:31:31 -0230
committerMatthew Newhook <matthew@zeroc.com>2009-03-24 12:31:31 -0230
commit4cc5d77c383b6c91c3af9fe44df9687bb9b15580 (patch)
tree64ce3d6cf35b15497de50f298f7225a8c72f64b6 /java/test/Ice/slicing/exceptions/ssrc/TestI.java
parentMerge commit 'origin/R3_3_branch' (diff)
downloadice-4cc5d77c383b6c91c3af9fe44df9687bb9b15580.tar.bz2
ice-4cc5d77c383b6c91c3af9fe44df9687bb9b15580.tar.xz
ice-4cc5d77c383b6c91c3af9fe44df9687bb9b15580.zip
Merged android-testsuite branch.
Diffstat (limited to 'java/test/Ice/slicing/exceptions/ssrc/TestI.java')
-rw-r--r--java/test/Ice/slicing/exceptions/ssrc/TestI.java161
1 files changed, 0 insertions, 161 deletions
diff --git a/java/test/Ice/slicing/exceptions/ssrc/TestI.java b/java/test/Ice/slicing/exceptions/ssrc/TestI.java
deleted file mode 100644
index 01647a1708b..00000000000
--- a/java/test/Ice/slicing/exceptions/ssrc/TestI.java
+++ /dev/null
@@ -1,161 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2009 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.
-//
-// **********************************************************************
-
-import Test.*;
-
-public final class TestI extends _TestIntfDisp
-{
- public
- TestI(Ice.ObjectAdapter adapter)
- {
- _adapter = adapter;
- }
-
- public void
- shutdown(Ice.Current current)
- {
- _adapter.getCommunicator().shutdown();
- }
-
- public void
- baseAsBase(Ice.Current current)
- throws Base
- {
- Base b = new Base();
- b.b = "Base.b";
- throw b;
- }
-
- public void
- unknownDerivedAsBase(Ice.Current current)
- throws Base
- {
- UnknownDerived d = new UnknownDerived();
- d.b = "UnknownDerived.b";
- d.ud = "UnknownDerived.ud";
- throw d;
- }
-
- public void
- knownDerivedAsBase(Ice.Current current)
- throws Base
- {
- KnownDerived d = new KnownDerived();
- d.b = "KnownDerived.b";
- d.kd = "KnownDerived.kd";
- throw d;
- }
-
- public void
- knownDerivedAsKnownDerived(Ice.Current current)
- throws KnownDerived
- {
- KnownDerived d = new KnownDerived();
- d.b = "KnownDerived.b";
- d.kd = "KnownDerived.kd";
- throw d;
- }
-
- public void
- unknownIntermediateAsBase(Ice.Current current)
- throws Base
- {
- UnknownIntermediate ui = new UnknownIntermediate();
- ui.b = "UnknownIntermediate.b";
- ui.ui = "UnknownIntermediate.ui";
- throw ui;
- }
-
- public void
- knownIntermediateAsBase(Ice.Current current)
- throws Base
- {
- KnownIntermediate ki = new KnownIntermediate();
- ki.b = "KnownIntermediate.b";
- ki.ki = "KnownIntermediate.ki";
- throw ki;
- }
-
- public void
- knownMostDerivedAsBase(Ice.Current current)
- throws Base
- {
- KnownMostDerived kmd = new KnownMostDerived();
- kmd.b = "KnownMostDerived.b";
- kmd.ki = "KnownMostDerived.ki";
- kmd.kmd = "KnownMostDerived.kmd";
- throw kmd;
- }
-
- public void
- knownIntermediateAsKnownIntermediate(Ice.Current current)
- throws KnownIntermediate
- {
- KnownIntermediate ki = new KnownIntermediate();
- ki.b = "KnownIntermediate.b";
- ki.ki = "KnownIntermediate.ki";
- throw ki;
- }
-
- public void
- knownMostDerivedAsKnownIntermediate(Ice.Current current)
- throws KnownIntermediate
- {
- KnownMostDerived kmd = new KnownMostDerived();
- kmd.b = "KnownMostDerived.b";
- kmd.ki = "KnownMostDerived.ki";
- kmd.kmd = "KnownMostDerived.kmd";
- throw kmd;
- }
-
- public void
- knownMostDerivedAsKnownMostDerived(Ice.Current current)
- throws KnownMostDerived
- {
- KnownMostDerived kmd = new KnownMostDerived();
- kmd.b = "KnownMostDerived.b";
- kmd.ki = "KnownMostDerived.ki";
- kmd.kmd = "KnownMostDerived.kmd";
- throw kmd;
- }
-
- public void
- unknownMostDerived1AsBase(Ice.Current current)
- throws Base
- {
- UnknownMostDerived1 umd1 = new UnknownMostDerived1();
- umd1.b = "UnknownMostDerived1.b";
- umd1.ki = "UnknownMostDerived1.ki";
- umd1.umd1 = "UnknownMostDerived1.umd1";
- throw umd1;
- }
-
- public void
- unknownMostDerived1AsKnownIntermediate(Ice.Current current)
- throws KnownIntermediate
- {
- UnknownMostDerived1 umd1 = new UnknownMostDerived1();
- umd1.b = "UnknownMostDerived1.b";
- umd1.ki = "UnknownMostDerived1.ki";
- umd1.umd1 = "UnknownMostDerived1.umd1";
- throw umd1;
- }
-
- public void
- unknownMostDerived2AsBase(Ice.Current current)
- throws Base
- {
- UnknownMostDerived2 umd2 = new UnknownMostDerived2();
- umd2.b = "UnknownMostDerived2.b";
- umd2.ui = "UnknownMostDerived2.ui";
- umd2.umd2 = "UnknownMostDerived2.umd2";
- throw umd2;
- }
- private Ice.ObjectAdapter _adapter;
-}