diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-02 14:45:37 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-02 14:45:37 +0200 |
commit | 293343b3ce326b742be2332c8a536fadf59c3f92 (patch) | |
tree | 90c127e9351dca54378ece967da60440599c3970 /storage | |
parent | c0518dde43775f24955612ab46398a1c21f3ff50 (diff) |
Add missing file
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/tests/common/testnodestateupdater.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/storage/src/tests/common/testnodestateupdater.cpp b/storage/src/tests/common/testnodestateupdater.cpp new file mode 100644 index 00000000000..27f71d23142 --- /dev/null +++ b/storage/src/tests/common/testnodestateupdater.cpp @@ -0,0 +1,14 @@ +// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +#include "testnodestateupdater.h" + +namespace storage { + +TestNodeStateUpdater::TestNodeStateUpdater(const lib::NodeType& type) + : _reported(new lib::NodeState(type, lib::State::UP)), + _current(new lib::NodeState(type, lib::State::UP)) +{ } + +TestNodeStateUpdater::~TestNodeStateUpdater() { } + +} |