Coverage Report

Created: 2024-09-19 09:45

/proc/self/cwd/test/mocks/upstream/health_checker.cc
Line
Count
Source (jump to first uncovered line)
1
#include "health_checker.h"
2
3
#include "gmock/gmock.h"
4
#include "gtest/gtest.h"
5
6
namespace Envoy {
7
namespace Upstream {
8
using ::testing::_;
9
using ::testing::Invoke;
10
0
MockHealthChecker::MockHealthChecker() {
11
0
  ON_CALL(*this, addHostCheckCompleteCb(_)).WillByDefault(Invoke([this](HostStatusCb cb) -> void {
12
0
    callbacks_.push_back(cb);
13
0
  }));
14
0
}
15
16
0
MockHealthChecker::~MockHealthChecker() = default;
17
18
} // namespace Upstream
19
} // namespace Envoy