-
Debarshi Ray authored
The overall idea is to start adding unit tests, wherever possible. Putting the tested code in a private library makes it accessible from test cases because they can link to it. Subsequent commits will add a new codec API for GeglBuffer. It will be very important to have unit tests for those code paths because: * That code will be inherently testable and tests are great. * That code is likely to be security sensitive, will handle all sorts of dodgy input from untrusted sources, and written using very old APIs with brittle error handling. This is a step towards that. A private shared library seems better than a private static archive because the most easily testable code paths are shared across the main application and the thumbnailer. Therefore, the assumption is that the benefits of sharing that code across both processes outweigh the drawbacks of having to resolve symbols from yet another shared library on startup. However, this is just an assumption. There's no data behind it. #63
37a598b0