#include "components/reporting/health/health_module_delegate_impl.h"
#include "base/containers/span.h"
#include "base/files/scoped_temp_dir.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
StrEq;
namespace reporting {
namespace {
constexpr char kBaseFileOne[] = …;
constexpr uint32_t kDefaultCallSize = …;
constexpr uint32_t kRepeatedPtrFieldSizeOverhead = …;
constexpr uint32_t kMaxWriteCount = …;
constexpr uint32_t kMaxStorage = …;
constexpr uint32_t kTinyStorage = …;
void CompareHealthData(std::string_view expected, ERPHealthData got) { … }
class HealthModuleDelegateImplTest : public ::testing::Test { … };
TEST_F(HealthModuleDelegateImplTest, TestInit) { … }
TEST_F(HealthModuleDelegateImplTest, TestWrite) { … }
TEST_F(HealthModuleDelegateImplTest, TestOversizedWrite) { … }
}
}