1 // Copyright 2020 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef TESTING_PDF_TEST_ENVIRONMENT_H_ 6 #define TESTING_PDF_TEST_ENVIRONMENT_H_ 7 8 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/test_fonts.h" 10 11 class PDFTestEnvironment : public testing::Environment { 12 public: 13 PDFTestEnvironment(); 14 ~PDFTestEnvironment() override; 15 16 // testing::Environment: 17 void SetUp() override; 18 void TearDown() override; 19 20 private: 21 TestFonts test_fonts_; 22 }; 23 24 #endif // TESTING_PDF_TEST_ENVIRONMENT_H_ 25