Check for unused refdata values
authorTeemu Murtola <teemu.murtola@gmail.com>
Mon, 1 Aug 2016 05:16:12 +0000 (08:16 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 18 Aug 2016 15:54:17 +0000 (17:54 +0200)
commitee97114e64e63d90f51e185ff3b1bf8f30711462
tree6b9a50578daf6b63986e65fd9ded6725e98e6645
parent177b2b4c2c33320b44aac2356c15c5b97c8dde8d
Check for unused refdata values

Make a test using refdata fail if it does not produce some reference
values at all.  Use this instead of checkPresent() for some cases where
the new functionality is a clearer fit for the purpose.  It is possible
to trigger the check explicitly for a subtree, but if not done
otherwise, it is always done for all values at the end of the test.

Change-Id: I722abd978f0c8fa9dc279264ff90cdad02e02b9d
src/testutils/interactivetest.cpp
src/testutils/refdata-impl.h
src/testutils/refdata.cpp
src/testutils/refdata.h
src/testutils/tests/refdata_tests.cpp
src/testutils/tests/xvgtest_tests.cpp
src/testutils/xvgtest.cpp