// Copyright 2020 PDFium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
#include "testing/pdf_test_environment.h" | |
#include "core/fxge/cfx_gemodule.h" | |
PDFTestEnvironment::PDFTestEnvironment() = default; | |
PDFTestEnvironment::~PDFTestEnvironment() = default; | |
// testing::Environment: | |
void PDFTestEnvironment::SetUp() { | |
CFX_GEModule::Create(nullptr); | |
} | |
void PDFTestEnvironment::TearDown() { | |
CFX_GEModule::Destroy(); | |
} |