#include "testing/xfa_js_embedder_test.h"
#include <memory>
#include <string>
#include "core/fxcrt/check_op.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "fpdfsdk/fpdfxfa/cpdfxfa_context.h"
#include "fxjs/fxv8.h"
#include "fxjs/xfa/cfxjse_engine.h"
#include "fxjs/xfa/cfxjse_isolatetracker.h"
#include "fxjs/xfa/cfxjse_value.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "v8/include/v8-container.h"
#include "v8/include/v8-local-handle.h"
#include "v8/include/v8-value.h"
XFAJSEmbedderTest::XFAJSEmbedderTest() = default;
XFAJSEmbedderTest::~XFAJSEmbedderTest() = default;
void XFAJSEmbedderTest::SetUp() { … }
void XFAJSEmbedderTest::TearDown() { … }
CXFA_Document* XFAJSEmbedderTest::GetXFADocument() const { … }
v8::Local<v8::Value> XFAJSEmbedderTest::GetValue() const { … }
bool XFAJSEmbedderTest::OpenDocumentWithOptions(
const std::string& filename,
const char* password,
LinearizeOption linearize_option,
JavaScriptOption javascript_option) { … }
bool XFAJSEmbedderTest::Execute(ByteStringView input) { … }
bool XFAJSEmbedderTest::ExecuteSilenceFailure(ByteStringView input) { … }
bool XFAJSEmbedderTest::ExecuteHelper(ByteStringView input) { … }