diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-06-17 15:25:02 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-06-17 15:25:02 +0000 |
commit | 2bc0f2b81423bb51c8649fefdeae23c602a56558 (patch) | |
tree | da5dc69eda441fe23345267d1606da5266413f94 /cpp/test/IceGrid/update/TestI.cpp | |
parent | build fix (diff) | |
download | ice-2bc0f2b81423bb51c8649fefdeae23c602a56558.tar.bz2 ice-2bc0f2b81423bb51c8649fefdeae23c602a56558.tar.xz ice-2bc0f2b81423bb51c8649fefdeae23c602a56558.zip |
Fixed bugs + added "update" test suite
Diffstat (limited to 'cpp/test/IceGrid/update/TestI.cpp')
-rw-r--r-- | cpp/test/IceGrid/update/TestI.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/update/TestI.cpp b/cpp/test/IceGrid/update/TestI.cpp new file mode 100644 index 00000000000..f33c9a227a9 --- /dev/null +++ b/cpp/test/IceGrid/update/TestI.cpp @@ -0,0 +1,29 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2005 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. +// +// ********************************************************************** + +#include <Ice/Ice.h> +#include <TestI.h> + +TestI::TestI(const Ice::ObjectAdapterPtr& adapter, const Ice::PropertiesPtr& properties) : + _adapter(adapter), + _properties(properties) +{ +} + +void +TestI::shutdown(const Ice::Current&) +{ + _adapter->getCommunicator()->shutdown(); +} + +std::string +TestI::getProperty(const std::string& name, const Ice::Current&) +{ + return _properties->getProperty(name); +} |