test: prefix custom test devices with "litest"
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 3 Jul 2014 21:55:51 +0000 (07:55 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 3 Jul 2014 21:57:59 +0000 (07:57 +1000)
Follow-up from 6c4778f891a77e06c0fccbfad1a1bfd4f64f86f3

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/keyboard.c
test/misc.c
test/pointer.c
test/touch.c

index bf5d55af50ba8f80cf20d3e9f919f23fc3202dbd..a55405cb1ccea2887e168665de89fb5d3ee7b7c6 100644 (file)
@@ -41,7 +41,7 @@ START_TEST(keyboard_seat_key_count)
 
        libinput = litest_create_context();
        for (i = 0; i < num_devices; ++i) {
-               sprintf(device_name, "Generic keyboard (%d)", i);
+               sprintf(device_name, "litest Generic keyboard (%d)", i);
                devices[i] = litest_add_device_with_overrides(libinput,
                                                              LITEST_KEYBOARD,
                                                              device_name,
index 7e028321d7bff68cdf3e2f21dea69bd22c32f590..983c3f9bb9a7154895a5038230011a8074912c1f 100644 (file)
@@ -95,7 +95,7 @@ START_TEST(event_conversion_device_notify)
        struct libinput_event *event;
        int device_added = 0, device_removed = 0;
 
-       uinput = create_simple_test_device("test device",
+       uinput = create_simple_test_device("litest test device",
                                           EV_REL, REL_X,
                                           EV_REL, REL_Y,
                                           EV_KEY, BTN_LEFT,
@@ -149,7 +149,7 @@ START_TEST(event_conversion_pointer)
        struct libinput_event *event;
        int motion = 0, button = 0;
 
-       uinput = create_simple_test_device("test device",
+       uinput = create_simple_test_device("litest test device",
                                           EV_REL, REL_X,
                                           EV_REL, REL_Y,
                                           EV_KEY, BTN_LEFT,
@@ -210,7 +210,7 @@ START_TEST(event_conversion_pointer_abs)
        struct libinput_event *event;
        int motion = 0, button = 0;
 
-       uinput = create_simple_test_device("test device",
+       uinput = create_simple_test_device("litest test device",
                                           EV_ABS, ABS_X,
                                           EV_ABS, ABS_Y,
                                           EV_KEY, BTN_LEFT,
@@ -270,7 +270,7 @@ START_TEST(event_conversion_key)
        struct libinput_event *event;
        int key = 0;
 
-       uinput = create_simple_test_device("test device",
+       uinput = create_simple_test_device("litest test device",
                                           EV_KEY, KEY_A,
                                           EV_KEY, KEY_B,
                                           -1, -1);
@@ -319,7 +319,7 @@ START_TEST(event_conversion_touch)
        struct libinput_event *event;
        int touch = 0;
 
-       uinput = create_simple_test_device("test device",
+       uinput = create_simple_test_device("litest test device",
                                           EV_KEY, BTN_TOUCH,
                                           EV_ABS, ABS_X,
                                           EV_ABS, ABS_Y,
index 8f1ab1fe571c49d55e31836298de9bcf16d413f0..3db0165b417dd5bd101ed69396e351d76c35c745 100644 (file)
@@ -223,7 +223,7 @@ START_TEST(pointer_seat_button_count)
 
        libinput = litest_create_context();
        for (i = 0; i < num_devices; ++i) {
-               sprintf(device_name, "Generic mouse (%d)", i);
+               sprintf(device_name, "litest Generic mouse (%d)", i);
                devices[i] = litest_add_device_with_overrides(libinput,
                                                              LITEST_MOUSE,
                                                              device_name,
index 2a7c966abd6579aa5b6c0de54188ba440df64889..5d704c53768b5d98af9f595b3d1095c664572a33 100644 (file)
@@ -80,7 +80,7 @@ START_TEST(touch_abs_transform)
        };
 
        dev = litest_create_device_with_overrides(LITEST_WACOM_TOUCH,
-                                                 "Highres touch device",
+                                                 "litest Highres touch device",
                                                  NULL, abs, NULL);
 
        libinput = dev->libinput;
@@ -129,7 +129,7 @@ START_TEST(touch_many_slots)
        };
 
        dev = litest_create_device_with_overrides(LITEST_WACOM_TOUCH,
-                                                 "Multi-touch device",
+                                                 "litest Multi-touch device",
                                                  NULL, abs, NULL);
        libinput = dev->libinput;