chromium/chrome/browser/extensions/api/i18n/i18n_apitest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/threading/thread_restrictions.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h"
#include "extensions/common/extension.h"
#include "extensions/test/result_catcher.h"
#include "extensions/test/test_extension_dir.h"
#include "net/test/embedded_test_server/embedded_test_server.h"

namespace extensions {

ContextType;

class ExtensionI18nTest : public ExtensionApiTest,
                          public testing::WithParamInterface<ContextType> {};

INSTANTIATE_TEST_SUITE_P();

INSTANTIATE_TEST_SUITE_P();

IN_PROC_BROWSER_TEST_P(ExtensionI18nTest, Basic) {}

IN_PROC_BROWSER_TEST_F(ExtensionApiTest, I18NUpdate) {}

// detectLanguage has some custom hooks that handle the asynchronous response
// manually, so explicitly test that it stays working as expected with promises.
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, I18NDetectLanguage) {}

}  // namespace extensions