#include "extensions/common/api/scripts_internal/script_serialization.h"
#include <string_view>
#include "base/test/values_test_util.h"
#include "extensions/common/api/scripts_internal.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/manifest_constants.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions::script_serialization {
SerializedUserScript;
namespace {
SerializedUserScript SerializedScriptFromJson(std::string_view json) { … }
}
TEST(ScriptSerializationUnitTest, ParseMinimalScript) { … }
TEST(ScriptSerializationUnitTest, ParseMaximalScript) { … }
TEST(ScriptSerializationUnitTest, SerializeUserScript) { … }
TEST(ScriptSerializationUnitTest, DisallowMatchOriginAsFallbackWithPaths) { … }
}