#include "components/reporting/health/health_module.h"
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/strings/strcat.h"
#include "base/task/thread_pool.h"
#include "base/test/protobuf_matchers.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/reporting/util/test_support_callbacks.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
EqualsProto;
_;
DoAll;
Invoke;
Return;
StrEq;
WithoutArgs;
namespace reporting {
namespace {
class MockHealthModuleDelegate : public HealthModuleDelegate { … };
HealthDataHistory AddEnqueueRecordCall() { … }
class HealthModuleTest : public ::testing::Test { … };
TEST_F(HealthModuleTest, Init) { … }
TEST_F(HealthModuleTest, InitFails) { … }
TEST_F(HealthModuleTest, WriteAndReadData) { … }
TEST_F(HealthModuleTest, UseRecorder) { … }
}
}