Hello,

in the last week I have started to implement an automatic test suite for
lensfun using the GLib test framework. As the tests/ subfolder was not
empty this induced many movements in the source tree. In particular:

* Moved examples.c and tfun.cpp to docs/examples as they are not real
applications or tests

* Deleted trwxml.cpp and moved spline.py to tools/

* Moved tmod.cpp to apps/lenstool/ with the intention to enhance this to
become a commandline reference implementation for lensfun. I already
changed it a bit, so it can perform database lookups independently from
image modifications. For the near future we should implement tiff and
jpeg loading capabilities. Currently only PNG is supported.

* Moved images.cpp/h to apps/lenstool/ as this is not part of the
library but only contains helper functions for the above tool

* The tests/ subfolder already includes two example tests for the
database and modifier. The whole test structure and way of
implementation is not set in stone. So if you have any ideas what can be
improved feel free! Of course we need more test case in the future

* Changed modifier.cpp to check asin() arguments to avoid NaN values. At
least in the basic tests no more NaN values appear after geometry
transformations

* Due to the restructuring many modifications to the build system were
necessary

That's it so far. Torsten, maybe if you have some time and ideas for
further test cases it would be great if you could contribute some. I
think you have the best knowledge about the really critical cases.

Sebastian

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to