summaryrefslogtreecommitdiffstats
path: root/vcl/CppunitTest_vcl_graphic_test.mk
Commit message (Collapse)AuthorAgeFilesLines
* introduce graphic format detector (and basic metadata)Tomaž Vajngerl2019-05-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we detect a graphic format in a ImpPeekGraphicFormat method, which is called when reading a graphic from a stream. The code is quite convoluted and doesn't help with readability of graphicfilter.cxx Additionally there exists an detection code written for the UNO class GraphicDescriptor, which duplicates the detection, but can in addition also extract other metadata at the same time. This introduces the initial implementation of GraphicFormatDetector class. It will first replace the code in ImpPeekGraphicFormat to detect the graphic format and then later also be extended to do what the GraphicDescriptor is doing. But currently it only duplicates the implementation of ImpPeekGraphicFormat. The problem with both of the current solution is that there are not any tests written. For the GraphicFormatDetector however the approach is to add test cases to check the current implementation and only then refactor the code. Change-Id: Idb9d3859b4380e3f15237d97aff969ce81e631dd Reviewed-on: https://gerrit.libreoffice.org/72086 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* vcl_graphic_test requires Library_gie for .gifLuboš Luňák2019-02-041-0/+3
| | | | | | | Change-Id: I771ea527cf38c5ba19b337fe1a6b377312de9fbb Reviewed-on: https://gerrit.libreoffice.org/67370 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* add test for ImportUnloadedGraphic and GraphicDescriptorTomaž Vajngerl2018-04-281-0/+54
Change-Id: Ibe4d7661462b0a7039fdd09b6a7b619bd0c0362b Reviewed-on: https://gerrit.libreoffice.org/53584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>