summaryrefslogtreecommitdiff
path: root/test/source/unoapi_test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/unoapi_test.cxx')
-rw-r--r--test/source/unoapi_test.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx
index ff566c8ffa10..10ee4f01c06b 100644
--- a/test/source/unoapi_test.cxx
+++ b/test/source/unoapi_test.cxx
@@ -218,4 +218,11 @@ std::unique_ptr<vcl::pdf::PDFiumDocument> UnoApiTest::parsePDFExport(const OStri
return pPdfDocument;
}
+void UnoApiTest::createTempCopy(std::u16string_view fileName)
+{
+ OUString url = createFileURL(fileName);
+ auto const e = osl::File::copy(url, maTempFile.GetURL());
+ CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, e);
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */