Today I sent the pull request with modification of unit tests. Every test were moved to their own file and the directory structure correspond to the LibreCAD one (kernel tests are in unittests/kernel...).
Now the unit test creation is faster as before every tests were recompiled on each modification.

I also copied the required files for the DxfLinePattern selector problem, the bug is still present (DxfLinePattern is correct but cast to EntityMetaType is incorrect). One temporary solution is to overload the add function of MetaInfo with a DxfLinePattern parameter.