This source file includes following definitions.
- IN_PROC_BROWSER_TEST_F
- IN_PROC_BROWSER_TEST_F
- IN_PROC_BROWSER_TEST_F
- IN_PROC_BROWSER_TEST_F
#include "base/command_line.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/test/base/ui_test_utils.h"
namespace extensions {
#if defined(SYZYASAN)
#define MAYBE_Cookies DISABLED_Cookies
#else
#define MAYBE_Cookies Cookies
#endif
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_Cookies) {
ASSERT_TRUE(RunExtensionTest("cookies/api")) << message_;
}
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CookiesEvents) {
ASSERT_TRUE(RunExtensionTest("cookies/events")) << message_;
}
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CookiesEventsSpanning) {
ui_test_utils::OpenURLOffTheRecord(browser()->profile(),
GURL("chrome://newtab/"));
ASSERT_TRUE(RunExtensionTestIncognito("cookies/events_spanning")) << message_;
}
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CookiesNoPermission) {
ASSERT_TRUE(RunExtensionTest("cookies/no_permission")) << message_;
}
}