aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-02 14:45:37 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-02 14:45:37 +0200
commit293343b3ce326b742be2332c8a536fadf59c3f92 (patch)
tree90c127e9351dca54378ece967da60440599c3970 /storage
parentc0518dde43775f24955612ab46398a1c21f3ff50 (diff)
Add missing file
Diffstat (limited to 'storage')
-rw-r--r--storage/src/tests/common/testnodestateupdater.cpp14
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() { }
+
+}