extension_info_private_apitest_chromeos.cc revision ddb351dbec246cf1fab5ec20d2d5520909041de1
1// Copyright (c) 2011 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.
4#include "chrome/browser/extensions/extension_apitest.h"
5
6IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CustomizationPrivateTest) {
7  ASSERT_TRUE(RunComponentExtensionTest("chromeos_info_private")) << message_;
8}
9
10IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CustomizationPrivateFailTest) {
11  // Only component extensions can use it.
12  ASSERT_FALSE(RunExtensionTest("chromeos_info_private")) << message_;
13}
14