Commit Graph

10 Commits

Author SHA1 Message Date
Kevin Backhouse
b9b2d7741b
Fix some "unsafe vector access" warnings. 2022-07-08 12:48:42 +01:00
Luis Díaz Más
30bf563f4d Update .clang-format file & apply clang-format to whole project 2022-03-16 22:30:53 +01:00
Luis Díaz Más
b17828b454
Use SPDX for licenses (#2122)
* Use SPDX identifier in header files

* Use SPDX identifier in rest of source files

* Fix usage of SPDX for files with 2 licenses

* Add global license file

* Fix compilation
2022-03-04 11:44:39 +01:00
Luis Díaz Más
56b5ab9a29 Use remove from filesystem 2022-02-18 18:01:02 +01:00
Luis Díaz Más
690dde3440 Add tests for ImageFactory::checkMode (for all the supported image types) 2022-02-14 17:08:50 +01:00
Luis Díaz Más
335b4a71ed test ImageFactory::load with existing images in test/data 2022-02-14 17:08:50 +01:00
Luis Díaz Más
f10283f118 bug: Fix crash when calling ImageFactory::create(none) 2022-02-14 17:08:50 +01:00
Luis Díaz Más
012ce835c2 New tests to check what happens with ImageFactory::create(crazyValue) 2022-02-14 17:08:50 +01:00
Luis Díaz Más
fd92ed0a31 No need anymore to include each image header to use the ImageFactory 2022-02-14 17:08:50 +01:00
Luis Díaz Más
c499d02dbf Add characterisation test for ImageFactory::create(type)
- Split test identifying which Images can be created and which not
- Add tests for the ImageFactory::create(type, filePath)
2022-02-14 17:04:55 +01:00