diff options
author | Michi Henning <michi@zeroc.com> | 2004-02-23 02:11:23 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-02-23 02:11:23 +0000 |
commit | e144f79172ef8992b1d498618d50b47ebe8827cf (patch) | |
tree | b9fa234d76a5f9d708503d2285de4700af3d4c3f /cpp/test/Ice/slicing/exceptions/TestAMDI.h | |
parent | fix (diff) | |
download | ice-e144f79172ef8992b1d498618d50b47ebe8827cf.tar.bz2 ice-e144f79172ef8992b1d498618d50b47ebe8827cf.tar.xz ice-e144f79172ef8992b1d498618d50b47ebe8827cf.zip |
Added AMI and AMD tests.
Diffstat (limited to 'cpp/test/Ice/slicing/exceptions/TestAMDI.h')
-rw-r--r-- | cpp/test/Ice/slicing/exceptions/TestAMDI.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/cpp/test/Ice/slicing/exceptions/TestAMDI.h b/cpp/test/Ice/slicing/exceptions/TestAMDI.h new file mode 100644 index 00000000000..4e8c3ad10a0 --- /dev/null +++ b/cpp/test/Ice/slicing/exceptions/TestAMDI.h @@ -0,0 +1,55 @@ +// ********************************************************************** +// +// Copyright (c) 2003 +// ZeroC, Inc. +// Billerica, MA, USA +// +// All Rights Reserved. +// +// Ice is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License version 2 as published by +// the Free Software Foundation. +// +// ********************************************************************** + +#ifndef TESTAMDI_H +#define TESTAMDI_H + +#include <ServerPrivateAMD.h> + +class TestI : virtual public Test +{ +public: + + TestI(const ::Ice::ObjectAdapterPtr&); + virtual void baseAsBase_async(const ::AMD_Test_baseAsBasePtr&, const ::Ice::Current&); + + virtual void unknownDerivedAsBase_async(const ::AMD_Test_unknownDerivedAsBasePtr&, const ::Ice::Current&); + virtual void knownDerivedAsBase_async(const ::AMD_Test_knownDerivedAsBasePtr&, const ::Ice::Current&); + virtual void knownDerivedAsKnownDerived_async(const ::AMD_Test_knownDerivedAsKnownDerivedPtr&, + const ::Ice::Current&); + + virtual void unknownIntermediateAsBase_async(const ::AMD_Test_unknownIntermediateAsBasePtr&, const ::Ice::Current&); + virtual void knownIntermediateAsBase_async(const ::AMD_Test_knownIntermediateAsBasePtr&, const ::Ice::Current&); + virtual void knownMostDerivedAsBase_async(const ::AMD_Test_knownMostDerivedAsBasePtr&, const ::Ice::Current&); + virtual void knownIntermediateAsKnownIntermediate_async(const ::AMD_Test_knownIntermediateAsKnownIntermediatePtr&, + const ::Ice::Current&); + virtual void knownMostDerivedAsKnownIntermediate_async(const ::AMD_Test_knownMostDerivedAsKnownIntermediatePtr&, + const ::Ice::Current&); + virtual void knownMostDerivedAsKnownMostDerived_async(const ::AMD_Test_knownMostDerivedAsKnownMostDerivedPtr&, + const ::Ice::Current&); + + virtual void unknownMostDerived1AsBase_async(const ::AMD_Test_unknownMostDerived1AsBasePtr&, const ::Ice::Current&); + virtual void unknownMostDerived1AsKnownIntermediate_async( + const ::AMD_Test_unknownMostDerived1AsKnownIntermediatePtr&, + const ::Ice::Current&); + virtual void unknownMostDerived2AsBase_async(const ::AMD_Test_unknownMostDerived2AsBasePtr&, const ::Ice::Current&); + + virtual void shutdown_async(const ::AMD_Test_shutdownPtr&, const ::Ice::Current&); + +private: + + const ::Ice::ObjectAdapterPtr& _adapter; +}; + +#endif |