1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/extensions/extension_apitest.h"
7 class ExtensionModuleApiTest
: public ExtensionApiTest
{
10 IN_PROC_BROWSER_TEST_F(ExtensionModuleApiTest
, CognitoFile
) {
11 ASSERT_TRUE(RunExtensionTest("extension_module/cognito_file")) << message_
;
14 IN_PROC_BROWSER_TEST_F(ExtensionModuleApiTest
, IncognitoFile
) {
15 ASSERT_TRUE(RunExtensionTestIncognito(
16 "extension_module/incognito_file")) << message_
;
19 IN_PROC_BROWSER_TEST_F(ExtensionModuleApiTest
, CognitoNoFile
) {
20 ASSERT_TRUE(RunExtensionTestNoFileAccess(
21 "extension_module/cognito_nofile")) << message_
;
24 IN_PROC_BROWSER_TEST_F(ExtensionModuleApiTest
, IncognitoNoFile
) {
25 ASSERT_TRUE(RunExtensionTestIncognitoNoFileAccess(
26 "extension_module/incognito_nofile")) << message_
;