summaryrefslogtreecommitdiff
path: root/writerperfect/qa/unit/wpftimport.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-02-13 22:51:31 +0100
committerDavid Tardon <dtardon@redhat.com>2017-02-13 22:56:52 +0100
commit1f7441211a5aa3c6ef379ae10b192a162ea6bdc8 (patch)
tree9aa18581912ca7a3f8ad0c823f29fdb80a6ca315 /writerperfect/qa/unit/wpftimport.cxx
parentd9b6edc0981c3f064d580df53e35dec11809afc5 (diff)
test result of text document import
Change-Id: I6830da0c6692f0be212e0d45597fa563917b5fb2
Diffstat (limited to 'writerperfect/qa/unit/wpftimport.cxx')
-rw-r--r--writerperfect/qa/unit/wpftimport.cxx28
1 files changed, 28 insertions, 0 deletions
diff --git a/writerperfect/qa/unit/wpftimport.cxx b/writerperfect/qa/unit/wpftimport.cxx
new file mode 100644
index 000000000000..27b566c37df2
--- /dev/null
+++ b/writerperfect/qa/unit/wpftimport.cxx
@@ -0,0 +1,28 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "wpftimport.hxx"
+
+#include <cppunit/plugin/TestPlugIn.h>
+
+#include <comphelper/seqstream.hxx>
+
+#include <rtl/ref.hxx>
+
+#include <sal/types.h>
+
+css::uno::Reference<css::io::XInputStream> createDummyInput()
+{
+ rtl::Reference<comphelper::SequenceInputStream> xDummyInput{new comphelper::SequenceInputStream({})};
+ return xDummyInput.get();
+}
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */