summaryrefslogtreecommitdiff
path: root/testing/test_support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_support.cpp')
-rw-r--r--testing/test_support.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/test_support.cpp b/testing/test_support.cpp
index a530b3ea4c..6e1bb64bc0 100644
--- a/testing/test_support.cpp
+++ b/testing/test_support.cpp
@@ -210,3 +210,15 @@ int TestSaver::WriteBlockCallback(FPDF_FILEWRITE* pFileWrite,
pThis->m_String.append(static_cast<const char*>(data), size);
return 1;
}
+
+namespace pdfium {
+
+void FPDF_Test::SetUp() {
+ FPDF_InitLibrary();
+}
+
+void FPDF_Test::TearDown() {
+ FPDF_DestroyLibrary();
+}
+
+} // namespace pdfium