blob: 9f7013c00525bdb751eccdfc9ead577d9c2c2a9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#if HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef _DEVICE_INTERFACE_H_
#define _DEVICE_INTERFACE_H_
#include <xorg/gtest/xorg-gtest.h>
/**
* A test fixture for testing input drivers. This class automates basic
* device setup throught the server config file.
*
* Do not instanciate this class directly, subclass it from the test case
* instead. For simple test cases, use SimpleInputDriverTest.
*/
class DeviceInterface {
protected:
/**
* The evemu device to generate events.
*/
std::auto_ptr<xorg::testing::evemu::Device> dev;
virtual void SetDevice(const std::string& path, const std::string &basedir = RECORDINGS_DIR);
};
#endif
|