#include "chrome/browser/prefs/incognito_mode_prefs.h"
#include "base/test/gtest_util.h"
#include "components/policy/core/common/policy_pref_names.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "testing/gtest/include/gtest/gtest.h"
class IncognitoModePrefsTest : public testing::Test { … };
TEST_F(IncognitoModePrefsTest, IntToAvailability) { … }
TEST_F(IncognitoModePrefsTest, GetAvailability) { … }
IncognitoModePrefsDeathTest;
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
#define MAYBE_GetAvailabilityBadValue …
#else
#define MAYBE_GetAvailabilityBadValue …
#endif
TEST_F(IncognitoModePrefsDeathTest, MAYBE_GetAvailabilityBadValue) { … }