Lines Matching refs:testDevice_

65     UdevTestDevice testDevice_;
77 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
78 auto* device = testDevice_.GetDevice();
80 EXPECT_EQ(udev_device_get_udev(device), testDevice_.GetUdev());
118 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
119 auto* device = testDevice_.GetDevice();
120 auto devnum = testDevice_.GetDevNum();
150 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
151 auto* udev = udev_device_get_udev(testDevice_.GetDevice());
155 EXPECT_EQ(udev_device_new_from_syspath(nullptr, testDevice_.GetSysPath()), nullptr);
181 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
182 auto* device = testDevice_.GetDevice();
197 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
198 auto* device = testDevice_.GetDevice();
200 EXPECT_STREQ(udev_device_get_devnode(device), testDevice_.GetDevNode());
213 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
214 auto* device = testDevice_.GetDevice();
216 EXPECT_EQ(std::string("/dev/input/") + udev_device_get_sysname(device), testDevice_.GetDevNode());
229 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
230 auto* device = testDevice_.GetDevice();
233 testDevice_.GetSysPath() + std::string("/") + udev_device_get_sysname(device));
250 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
251 auto* device = testDevice_.GetDevice();
253 EXPECT_STREQ(udev_device_get_property_value(device, "DEVNAME"), testDevice_.GetDevNode());
255 auto devnum = testDevice_.GetDevNum();
278 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
279 auto* device = testDevice_.GetDevice();
283 EXPECT_STREQ(udev_device_get_syspath(parent), testDevice_.GetSysPath());
296 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
297 auto* device = testDevice_.GetDevice();
301 EXPECT_NE(udev_device_get_syspath(parent), testDevice_.GetSysPath());
322 ASSERT_NO_FATAL_FAILURE(testDevice_.Init());
323 auto* device = testDevice_.GetDevice();
340 testDevice_.WheelSetup();
341 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
342 auto* device = testDevice_.GetDevice();
353 testDevice_.KeyboardSetup();
354 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
355 auto* device = testDevice_.GetDevice();
367 testDevice_.SwitchSetup();
368 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
369 auto* device = testDevice_.GetDevice();
380 testDevice_.AccelerometerSetup();
381 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
382 auto* device = testDevice_.GetDevice();
393 testDevice_.StickSetup();
394 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
395 auto* device = testDevice_.GetDevice();
406 testDevice_.TouchpadSetup();
407 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
408 auto* device = testDevice_.GetDevice();
419 testDevice_.TouchscreenSetup();
420 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
421 auto* device = testDevice_.GetDevice();
432 testDevice_.JoystickSetup();
433 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
434 auto* device = testDevice_.GetDevice();
445 testDevice_.JoystickSetup1();
446 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
447 auto* device = testDevice_.GetDevice();
458 testDevice_.TabletSetup();
459 ASSERT_NO_FATAL_FAILURE(testDevice_.Init(false));
460 auto* device = testDevice_.GetDevice();