This series introduces a C++ unit test framework called Catch to the
codebase, adds a simple unit test for the options parsing for the mjpeg
plugin and improves on the option parsing code.

Since we more or less agreed we can solve the Catch package in RHEL one
way or another, I suppose we can proceed here.

Changes since v1:
- squash the two test patches and keep the BDD version
- update for the explicit namespaces
- use syslog instead of std::cerr for logging the error message
- add temporary files to .gitignore

Lukáš Hrázký (3):
  mjpeg-fallback: a more C++ way of handling options
  src/unitests: add temporary files to .gitignore
  mjpeg-fallback: unittest for the options parsing

 configure.ac                          |  3 ++
 src/mjpeg-fallback.cpp                | 46 ++++++++++++++-------------
 src/mjpeg-fallback.hpp                |  1 +
 src/unittests/.gitignore              |  8 ++++-
 src/unittests/Makefile.am             | 14 +++++++++
 src/unittests/test-mjpeg-fallback.cpp | 58 +++++++++++++++++++++++++++++++++++
 6 files changed, 108 insertions(+), 22 deletions(-)
 create mode 100644 src/unittests/test-mjpeg-fallback.cpp

-- 
2.16.1

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to