Kaydet (Commit) b6ea5de5 authored tarafından David Tardon's avatar David Tardon

add writerperfect calc integration test

Change-Id: I3ce072f5f7d54b063988f8413251eab00f5321e4
üst eccfc727
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_calc))
$(eval $(call gb_CppunitTest_use_externals,writerperfect_calc,\
boost_headers \
))
$(eval $(call gb_CppunitTest_use_api,writerperfect_calc,\
offapi \
udkapi \
))
$(eval $(call gb_CppunitTest_use_libraries,writerperfect_calc,\
comphelper \
cppu \
cppuhelper \
sal \
test \
ucbhelper \
unotest \
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_static_libraries,writerperfect_calc,\
writerperfect_importtestbase \
))
$(eval $(call gb_CppunitTest_use_ure,writerperfect_calc))
$(eval $(call gb_CppunitTest_use_rdb,writerperfect_calc,services))
$(eval $(call gb_CppunitTest_use_configuration,writerperfect_calc))
$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_calc,\
writerperfect/qa/unit/WpftCalcFilterTest \
))
# vim: set noet sw=4 ts=4:
...@@ -32,6 +32,7 @@ $(eval $(call gb_Module_add_check_targets,writerperfect,\ ...@@ -32,6 +32,7 @@ $(eval $(call gb_Module_add_check_targets,writerperfect,\
)) ))
$(eval $(call gb_Module_add_slowcheck_targets,writerperfect,\ $(eval $(call gb_Module_add_slowcheck_targets,writerperfect,\
CppunitTest_writerperfect_calc \
CppunitTest_writerperfect_draw \ CppunitTest_writerperfect_draw \
CppunitTest_writerperfect_impress \ CppunitTest_writerperfect_impress \
CppunitTest_writerperfect_writer \ CppunitTest_writerperfect_writer \
......
/* -*- 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 "WpftImportTestBase.hxx"
namespace
{
class WpftCalcFilterTest : public writerperfect::test::WpftImportTestBase
{
public:
WpftCalcFilterTest();
void test();
CPPUNIT_TEST_SUITE(WpftCalcFilterTest);
CPPUNIT_TEST(test);
CPPUNIT_TEST_SUITE_END();
};
WpftCalcFilterTest::WpftCalcFilterTest()
: writerperfect::test::WpftImportTestBase("private:factory/scalc")
{
}
void WpftCalcFilterTest::test()
{
doTest("com.sun.star.comp.Calc.MSWorksCalcImportFilter", "/writerperfect/qa/unit/data/calc/libwps/");
}
CPPUNIT_TEST_SUITE_REGISTRATION(WpftCalcFilterTest);
}
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment