diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-10-11 11:20:46 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-10-16 13:21:04 +1000 |
commit | bb8db8a056858894c170afa0736904565461cbac (patch) | |
tree | 966e8daaa7d5a23e38f9be9c2de0cc9fadab8340 /include | |
parent | 6d95952c25cd82ce4cc054b08e83270156e42e3a (diff) |
include: add XORG_TESTCASE() macro for standardised printing of descriptions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/xorg/gtest/xorg-gtest.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xorg/gtest/xorg-gtest.h b/include/xorg/gtest/xorg-gtest.h index 6a621bd..a61bc35 100644 --- a/include/xorg/gtest/xorg-gtest.h +++ b/include/xorg/gtest/xorg-gtest.h @@ -33,3 +33,9 @@ #ifdef HAVE_EVEMU #include "evemu/xorg-gtest-device.h" #endif + +#define XORG_TESTCASE(message) \ + SCOPED_TRACE("\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n" \ + "TESTCASE:\n" \ + message \ + "\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n"); |