chromium/extensions/common/message_bundle_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "extensions/common/message_bundle.h"

#include <stddef.h>

#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

#include "base/i18n/rtl.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/extension_l10n_util.h"
#include "extensions/common/manifest_constants.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace extensions {

errors;

class MessageBundleTest : public testing::Test {};

TEST_F(MessageBundleTest, ReservedMessagesCount) {}

TEST_F(MessageBundleTest, InitEmptyDictionaries) {}

TEST_F(MessageBundleTest, InitGoodDefaultDict) {}

TEST_F(MessageBundleTest, InitAppDictConsultedFirst) {}

TEST_F(MessageBundleTest, InitBadAppDict) {}

TEST_F(MessageBundleTest, ReservedMessagesOverrideDeveloperMessages) {}

TEST_F(MessageBundleTest, AppendReservedMessagesForLTR) {}

TEST_F(MessageBundleTest, AppendReservedMessagesForRTL) {}

TEST_F(MessageBundleTest, IsValidNameCheckValidCharacters) {}

struct ReplaceVariables {};

TEST(MessageBundle, ReplaceMessagesInText) {}

}  // namespace extensions