blob: f8356bd7c316209cf87bd699e75e53b4d5eafa5d [file] [log] [blame]
K. Moon832a6942022-10-31 20:11:31 +00001// Copyright 2019 The PDFium Authors
Tom Sepez22818532020-07-22 20:40:56 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Lei Zhang9c47be72020-09-11 19:43:34 +00005#ifndef TESTING_XFA_TEST_ENVIRONMENT_H_
6#define TESTING_XFA_TEST_ENVIRONMENT_H_
Tom Sepez22818532020-07-22 20:40:56 +00007
Tom Sepez22818532020-07-22 20:40:56 +00008#include "testing/gtest/include/gtest/gtest.h"
9
10#ifndef PDF_ENABLE_XFA
11#error "XFA must be enabled"
12#endif
13
Tom Sepez22818532020-07-22 20:40:56 +000014class XFATestEnvironment : public testing::Environment {
15 public:
16 XFATestEnvironment();
17 ~XFATestEnvironment();
18
19 // testing::TestEnvironment:
20 void SetUp() override;
21 void TearDown() override;
Tom Sepez22818532020-07-22 20:40:56 +000022};
23
Lei Zhang9c47be72020-09-11 19:43:34 +000024#endif // TESTING_XFA_TEST_ENVIRONMENT_H_