Split wxPersistenceManager-related tests and actually build them

It seems better to organize the tests in different files and just
provide a common fixture-like class to reuse functionality.

Also use this as an opportunity to rewrite the tests to use Catch
directly instead of using CppUnit-compatible macros.

Finally, actually build these tests as part of the test suite.
This commit is contained in:
Vadim Zeitlin
2017-12-15 00:43:24 +01:00
parent 4e82f60b8a
commit 036870ab35
14 changed files with 328 additions and 230 deletions

View File

@@ -355,6 +355,9 @@
<File
RelativePath=".\config\config.cpp">
</File>
<File
RelativePath=".\persistence\dataview.cpp">
</File>
<File
RelativePath=".\controls\dataviewctrltest.cpp">
</File>
@@ -559,6 +562,9 @@
<File
RelativePath=".\controls\textentrytest.cpp">
</File>
<File
RelativePath=".\persistence\tlw.cpp">
</File>
<File
RelativePath=".\controls\togglebuttontest.cpp">
</File>