#ifdef UNSAFE_BUFFERS_BUILD
#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) { … }
}