#include "components/breadcrumbs/core/breadcrumb_manager.h"
#include <string>
#include <vector>
#include "base/strings/string_number_conversions.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
namespace breadcrumbs {
namespace {
void AddEvent(const std::string& event) { … }
void SetPreviousSessionEvents(const std::vector<std::string>& events) { … }
}
class BreadcrumbManagerTest : public PlatformTest { … };
TEST_F(BreadcrumbManagerTest, AddEvent) { … }
TEST_F(BreadcrumbManagerTest, MaxEvents) { … }
TEST_F(BreadcrumbManagerTest, EventTimestampsFormatted) { … }
TEST_F(BreadcrumbManagerTest, SetPreviousSessionEvents) { … }
TEST_F(BreadcrumbManagerTest, SetPreviousSessionEventsMaxEvents) { … }
}