chromium/pdf/parsed_params_unittest.cc

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

#include "pdf/parsed_params.h"

#include <optional>
#include <string>

#include "pdf/pdfium/pdfium_form_filler.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/platform/web_vector.h"
#include "third_party/blink/public/web/web_plugin_params.h"
#include "third_party/skia/include/core/SkColor.h"

namespace chrome_pdf {

namespace {

AnyOf;

constexpr char kFakeSrcUrl[] =;

// Creates a `blink::WebPluginParams` with only required attributes.
blink::WebPluginParams CreateMinimalWebPluginParams() {}

}  // namespace

TEST(ParsedParamsTest, ParseWebPluginParamsMinimal) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithoutSourceUrl) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithOriginalUrl) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithTopLevelUrl) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithFullFrame) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithFullFrameNonEmpty) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithBackgroundColor) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithInvalidBackgroundColor) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithJavascriptAllow) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithJavascriptEmpty) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithJavascriptNonEmpty) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithHasEdits) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithHasEditsNonEmpty) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithHasUseSkia) {}

TEST(ParsedParamsTest, ParseWebPluginParamsWithHasUseSkiaNonEmpty) {}

}  // namespace chrome_pdf