summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-10-30 08:55:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-10-30 08:55:11 +1000
commit6b169aba698660d7a30052a6922281d6bdcba731 (patch)
treee5872a2d04aafc2915181af8c6078ff0761f00e1
parentc4df9c1a7c710a06a17f76660e983b9d188d3e47 (diff)
server/xi2: convert leftover SCOPED_TRACE to XORG_TESTCASE
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--tests/server/xi2.cpp23
1 files changed, 11 insertions, 12 deletions
diff --git a/tests/server/xi2.cpp b/tests/server/xi2.cpp
index de92ff0..eda0578 100644
--- a/tests/server/xi2.cpp
+++ b/tests/server/xi2.cpp
@@ -145,11 +145,10 @@ TEST_P(XInput2Test, XITouchscreenPointerEmulation)
TEST_P(XInput2Test, XIQueryPointerTouchscreen)
{
- SCOPED_TRACE("\n"
- "XIQueryPointer for XInput 2.1 and earlier should report the\n"
- "first button pressed if a touch is physically active. For \n"
- "XInput 2.2 and later clients, the first button should not be\n"
- "reported.");
+ XORG_TESTCASE("XIQueryPointer for XInput 2.1 and earlier should report the\n"
+ "first button pressed if a touch is physically active. For \n"
+ "XInput 2.2 and later clients, the first button should not be\n"
+ "reported.");
XIEventMask mask;
mask.deviceid = XIAllDevices;
mask.mask_len = XIMaskLen(XI_HierarchyChanged);
@@ -217,8 +216,8 @@ TEST_P(XInput2Test, XIQueryPointerTouchscreen)
#ifdef HAVE_XI22
TEST_P(XInput2Test, DisableDeviceEndTouches)
{
- SCOPED_TRACE("When a device is disabled, any physically active touches\n"
- "should end.");
+ XORG_TESTCASE("When a device is disabled, any physically active touches\n"
+ "should end.");
/* This is an XInput 2.2 and later test only */
if (GetParam() < 2)
return;
@@ -320,11 +319,11 @@ static int fail_error_handler(Display *dpy, XErrorEvent *ev) {
TEST_P(XInput2TouchSelectionTest, TouchSelectionConflicts)
{
- SCOPED_TRACE("If client A has a selection on a device,\n"
- "client B selecting on the same device returns BadAccess.\n"
- "If client A has a selection on XIAll(Master)Devices, \n"
- "selecting on the same or a specific device returns"
- "BadAccess\n");
+ XORG_TESTCASE("If client A has a selection on a device,\n"
+ "client B selecting on the same device returns BadAccess.\n"
+ "If client A has a selection on XIAll(Master)Devices, \n"
+ "selecting on the same or a specific device returns"
+ "BadAccess\n");
unsigned char m[XIMaskLen(XI_TouchEnd)] = {0};
XIEventMask mask;