summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/common/testnodestateupdater.cpp
blob: 58e8c2ea73d2c30f456e9ce7db81724471547a36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2017 Yahoo Holdings. 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() { }

}