Better to call this msfilter test
Change-Id: I2abd6aedb16303d8988c17e7204c9607bf8336a3
This commit is contained in:
@@ -7,18 +7,18 @@
|
|||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
#
|
#
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_CppunitTest,filter_utils))
|
$(eval $(call gb_CppunitTest_CppunitTest,filter_msfilter))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_use_sdk_api,filter_utils))
|
$(eval $(call gb_CppunitTest_use_sdk_api,filter_msfilter))
|
||||||
$(eval $(call gb_CppunitTest_use_ure,filter_utils))
|
$(eval $(call gb_CppunitTest_use_ure,filter_msfilter))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_use_configuration,filter_utils))
|
$(eval $(call gb_CppunitTest_use_configuration,filter_msfilter))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_use_externals,filter_utils, \
|
$(eval $(call gb_CppunitTest_use_externals,filter_msfilter, \
|
||||||
boost_headers \
|
boost_headers \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_use_libraries,filter_utils, \
|
$(eval $(call gb_CppunitTest_use_libraries,filter_msfilter, \
|
||||||
tl \
|
tl \
|
||||||
comphelper \
|
comphelper \
|
||||||
unotest \
|
unotest \
|
||||||
@@ -29,7 +29,7 @@ $(eval $(call gb_CppunitTest_use_libraries,filter_utils, \
|
|||||||
$(gb_UWINAPI) \
|
$(gb_UWINAPI) \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_use_components,filter_utils,\
|
$(eval $(call gb_CppunitTest_use_components,filter_msfilter,\
|
||||||
configmgr/source/configmgr \
|
configmgr/source/configmgr \
|
||||||
filter/source/config/cache/filterconfig1 \
|
filter/source/config/cache/filterconfig1 \
|
||||||
framework/util/fwk \
|
framework/util/fwk \
|
||||||
@@ -39,8 +39,8 @@ $(eval $(call gb_CppunitTest_use_components,filter_utils,\
|
|||||||
ucb/source/ucp/file/ucpfile1 \
|
ucb/source/ucp/file/ucpfile1 \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call gb_CppunitTest_add_exception_objects,filter_utils, \
|
$(eval $(call gb_CppunitTest_add_exception_objects,filter_msfilter, \
|
||||||
filter/qa/cppunit/utils-test \
|
filter/qa/cppunit/msfilter-test \
|
||||||
))
|
))
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
@@ -81,7 +81,7 @@ endif
|
|||||||
$(eval $(call gb_Module_add_check_targets,filter,\
|
$(eval $(call gb_Module_add_check_targets,filter,\
|
||||||
CppunitTest_filter_xslt \
|
CppunitTest_filter_xslt \
|
||||||
CppunitTest_filter_priority \
|
CppunitTest_filter_priority \
|
||||||
CppunitTest_filter_utils \
|
CppunitTest_filter_msfilter \
|
||||||
))
|
))
|
||||||
|
|
||||||
ifneq ($(DISABLE_CVE_TESTS),TRUE)
|
ifneq ($(DISABLE_CVE_TESTS),TRUE)
|
||||||
|
@@ -20,18 +20,18 @@
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
class UtilsTest
|
class MSFilterTest
|
||||||
: public test::BootstrapFixtureBase
|
: public test::BootstrapFixtureBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void testTransColToIco();
|
void testTransColToIco();
|
||||||
|
|
||||||
CPPUNIT_TEST_SUITE(UtilsTest);
|
CPPUNIT_TEST_SUITE(MSFilterTest);
|
||||||
CPPUNIT_TEST(testTransColToIco);
|
CPPUNIT_TEST(testTransColToIco);
|
||||||
CPPUNIT_TEST_SUITE_END();
|
CPPUNIT_TEST_SUITE_END();
|
||||||
};
|
};
|
||||||
|
|
||||||
void UtilsTest::testTransColToIco()
|
void MSFilterTest::testTransColToIco()
|
||||||
{
|
{
|
||||||
const sal_uInt32 aStdCol[] = {
|
const sal_uInt32 aStdCol[] = {
|
||||||
0xeeeeee, 0xffff99, 0xff6600, 0xff3333, 0xff00cc, 0xff33ff, 0x9900ff, 0x6666ff, 0x00ccff, 0x66ffff, 0x33ff99, 0x99ff66, 0xccff00,
|
0xeeeeee, 0xffff99, 0xff6600, 0xff3333, 0xff00cc, 0xff33ff, 0x9900ff, 0x6666ff, 0x00ccff, 0x66ffff, 0x33ff99, 0x99ff66, 0xccff00,
|
||||||
@@ -68,7 +68,7 @@ void UtilsTest::testTransColToIco()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CPPUNIT_TEST_SUITE_REGISTRATION(UtilsTest);
|
CPPUNIT_TEST_SUITE_REGISTRATION(MSFilterTest);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user