Re: Directory layout for unit tests

2013-04-29 Thread Vincent van Ravesteijn
Op 29-4-2013 9:30, Elmar Hinz schreef: Hello, I understand why you think it is rather hard to do unit testing for lyx. There are class files with up to 6403 lines of code. src/Buffer.cpp has 4803 lines and many files depend on that. So, what exactly is the problem with large files ? What does

Re: Directory layout for unit tests

2013-04-29 Thread Elmar Hinz
Hello, I understand why you think it is rather hard to do unit testing for lyx. There are class files with up to 6403 lines of code. src/Buffer.cpp has 4803 lines and many files depend on that. After all setting up a wall of unit test is the prerequest for refactoring to more maintainable code an

Directory layout for unit tests

2013-04-28 Thread Elmar Hinz
Hello, Scott Kostyshak was interested in unit tests. For me working with unit tests is the most simple way to fix a bug, as I only need to focus on the iussue, without running the rest of the system. As a proof of concept I testet the googletest framework today. It is controlled by cmake. I thin