#include "components/content_settings/browser/ui/cookie_controls_util.h"
#include "base/environment.h"
#include "base/test/icu_test_util.h"
#include "base/time/time_override.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content_settings {
namespace {
Eq;
const char kNewYorkTime[] = …;
struct StaticOverrideTime { … };
base::Time StaticOverrideTime::override_time;
class ScopedMockTimezone { … };
}
class CookieControlsUtilTest : public ::testing::Test { … };
TEST_F(CookieControlsUtilTest, Today) { … }
TEST_F(CookieControlsUtilTest, Tomorrow) { … }
TEST_F(CookieControlsUtilTest, TwoDays) { … }
TEST_F(CookieControlsUtilTest, Past) { … }
#if !BUILDFLAG(IS_FUCHSIA)
TEST_F(CookieControlsUtilTest, DSTOverlap) { … }
#endif
TEST_F(CookieControlsUtilTest, NoDSTOverlapOutsideDST) { … }
TEST_F(CookieControlsUtilTest, NoDSTOverlapInDST) { … }
}