Add quiet fixture for commandline tests 10/35610/2
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 17 Feb 2015 15:29:15 +0000 (16:29 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 24 Feb 2015 15:02:32 +0000 (16:02 +0100)
commita733a2ecfb267aa5e35b2b98d4baf7aefc0fecbe
tree67a0b573b422be33e8c395e5d26208d18378c7ca
parentcf6c8394d13b0132d271deaa8a3fa1d8e519e3b6
Add quiet fixture for commandline tests

This patch introduces fixture which suppresses printing output to
std::cout or std::cerr. Data is redirected to temporary buffers and
accessible from there.

Change-Id: Ia1b8b240be95d1d672a56cd9eaf6e13320bb375b
test/test-common/QuietCommandlineTest.h [new file with mode: 0644]