• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2019 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_XFA_TEST_ENVIRONMENT_H_
6 #define TESTING_XFA_TEST_ENVIRONMENT_H_
7 
8 #include "testing/gtest/include/gtest/gtest.h"
9 
10 #ifndef PDF_ENABLE_XFA
11 #error "XFA must be enabled"
12 #endif
13 
14 class XFATestEnvironment : public testing::Environment {
15  public:
16   XFATestEnvironment();
17   ~XFATestEnvironment();
18 
19   // testing::TestEnvironment:
20   void SetUp() override;
21   void TearDown() override;
22 };
23 
24 #endif  // TESTING_XFA_TEST_ENVIRONMENT_H_
25