K. Moon | 832a694 | 2022-10-31 20:11:31 +0000 | [diff] [blame] | 1 | // Copyright 2020 The PDFium Authors |
Tom Sepez | 2281853 | 2020-07-22 20:40:56 +0000 | [diff] [blame] | 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" |
Tom Anderson | d4fe5f7 | 2021-12-03 20:52:52 +0000 | [diff] [blame] | 9 | #include "testing/test_fonts.h" |
Tom Sepez | 2281853 | 2020-07-22 20:40:56 +0000 | [diff] [blame] | 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; |
Tom Anderson | 331f3eb | 2021-10-22 00:49:44 +0000 | [diff] [blame] | 19 | |
| 20 | private: |
Tom Anderson | d4fe5f7 | 2021-12-03 20:52:52 +0000 | [diff] [blame] | 21 | TestFonts test_fonts_; |
Tom Sepez | 2281853 | 2020-07-22 20:40:56 +0000 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | #endif // TESTING_PDF_TEST_ENVIRONMENT_H_ |