chromium/pdf/pdfium/pdfium_form_filler_unittest.cc

// Copyright 2020 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/pdfium/pdfium_form_filler.h"

#include <vector>

#include "base/task/single_thread_task_runner.h"
#include "build/build_config.h"
#include "gin/public/isolate_holder.h"
#include "pdf/pdfium/pdfium_engine.h"
#include "pdf/pdfium/pdfium_test_base.h"
#include "pdf/test/test_client.h"
#include "pdf/test/test_helpers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/public/common/input/web_input_event.h"
#include "third_party/pdfium/public/fpdf_annot.h"
#include "third_party/pdfium/public/fpdf_formfill.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
#include "v8/include/v8-isolate.h"

namespace chrome_pdf {

namespace {

Contains;
InSequence;
Return;

class FormFillerTestClient : public TestClient {};

}  // namespace

class FormFillerTest : public PDFiumTestBase {};

TEST_P(FormFillerTest, DoURIActionWithKeyboardModifier) {}

TEST_P(FormFillerTest, FormOnFocusChange) {}

INSTANTIATE_TEST_SUITE_P();

#if defined(PDF_ENABLE_V8)
class FormFillerJavaScriptTest : public FormFillerTest {};

TEST_P(FormFillerJavaScriptTest, IsolateScoping) {}

TEST_P(FormFillerJavaScriptTest, GetFilePath) {}

TEST_P(FormFillerJavaScriptTest, GetFilePathEmpty) {}

TEST_P(FormFillerJavaScriptTest, GetFilePathShortBuffer) {}

INSTANTIATE_TEST_SUITE_P();
#endif  // defined(PDF_ENABLE_V8)

}  // namespace chrome_pdf