blob: 4abeb360f8bae155f0e3e7f1a6d96a8a113a553f [file] [log] [blame] [edit]
// 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(test_fonts_.font_paths());
}
void PDFTestEnvironment::TearDown() {
CFX_GEModule::Destroy();
}