diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-27 10:36:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-27 12:27:24 +0100 |
commit | 7abe82d525caba1d7ad607d730bc75a6d7f05174 (patch) | |
tree | 6f6c5db338ba7b83488957a9aa6e4ce44d2d6b8b | |
parent | add regression test for gif that nobbled XnView (diff) | |
download | core-7abe82d525caba1d7ad607d730bc75a6d7f05174.tar.gz core-7abe82d525caba1d7ad607d730bc75a6d7f05174.zip |
add pict regression test
Change-Id: I6765bd2de27971c441a7d3f8879e4fd9bc3112cf
-rw-r--r-- | filter/CppunitTest_filter_pict_test.mk | 38 | ||||
-rw-r--r-- | filter/Module_filter.mk | 1 | ||||
-rw-r--r-- | filter/qa/cppunit/data/pict/fail/.gitignore | 0 | ||||
-rw-r--r-- | filter/qa/cppunit/data/pict/fail/CVE-2012-0277-1.pct | bin | 0 -> 30649 bytes | |||
-rw-r--r-- | filter/qa/cppunit/data/pict/indeterminate/.gitignore | 0 | ||||
-rw-r--r-- | filter/qa/cppunit/data/pict/pass/.gitignore | 0 | ||||
-rw-r--r-- | filter/qa/cppunit/data/pict/pass/ooo25876-2.pict | bin | 0 -> 11168 bytes |
7 files changed, 39 insertions, 0 deletions
diff --git a/filter/CppunitTest_filter_pict_test.mk b/filter/CppunitTest_filter_pict_test.mk new file mode 100644 index 000000000000..ce9eeb6dbfe6 --- /dev/null +++ b/filter/CppunitTest_filter_pict_test.mk @@ -0,0 +1,38 @@ +# -*- 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,filter_pict_test)) + +$(eval $(call gb_CppunitTest_add_exception_objects,filter_pict_test, \ + filter/qa/cppunit/filters-pict-test \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,filter_pict_test, \ + ipt \ + sal \ + test \ + tl \ + unotest \ + vcl \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_CppunitTest_use_api,filter_pict_test,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_CppunitTest_use_ure,filter_pict_test)) + +$(eval $(call gb_CppunitTest_use_components,filter_pict_test,\ + configmgr/source/configmgr \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,filter_pict_test)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Module_filter.mk b/filter/Module_filter.mk index c3554f948e6d..d719a387dde5 100644 --- a/filter/Module_filter.mk +++ b/filter/Module_filter.mk @@ -77,6 +77,7 @@ $(eval $(call gb_Module_add_targets,filter,\ endif $(eval $(call gb_Module_add_check_targets,filter,\ + CppunitTest_filter_pict_test \ CppunitTest_filter_tga_test \ CppunitTest_filter_tiff_test \ )) diff --git a/filter/qa/cppunit/data/pict/fail/.gitignore b/filter/qa/cppunit/data/pict/fail/.gitignore new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/filter/qa/cppunit/data/pict/fail/.gitignore diff --git a/filter/qa/cppunit/data/pict/fail/CVE-2012-0277-1.pct b/filter/qa/cppunit/data/pict/fail/CVE-2012-0277-1.pct Binary files differnew file mode 100644 index 000000000000..5683a55b5f1d --- /dev/null +++ b/filter/qa/cppunit/data/pict/fail/CVE-2012-0277-1.pct diff --git a/filter/qa/cppunit/data/pict/indeterminate/.gitignore b/filter/qa/cppunit/data/pict/indeterminate/.gitignore new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/filter/qa/cppunit/data/pict/indeterminate/.gitignore diff --git a/filter/qa/cppunit/data/pict/pass/.gitignore b/filter/qa/cppunit/data/pict/pass/.gitignore new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/filter/qa/cppunit/data/pict/pass/.gitignore diff --git a/filter/qa/cppunit/data/pict/pass/ooo25876-2.pict b/filter/qa/cppunit/data/pict/pass/ooo25876-2.pict Binary files differnew file mode 100644 index 000000000000..9807e36f74cb --- /dev/null +++ b/filter/qa/cppunit/data/pict/pass/ooo25876-2.pict |