~oif-packaging/grail/raring

« back to all changes in this revision

Viewing changes to test/x11/no-premature-gestures.cpp

  • Committer: Chase Douglas
  • Date: 2012-06-21 20:30:14 UTC
  • mto: This revision was merged to the branch mainline in revision 234.
  • Revision ID: chase.douglas@ubuntu.com-20120621203014-g2uhy6mg779aufop
Rename utouch-grail to grail

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
#include <set>
43
43
#include <gtest/gtest.h>
44
 
#include <utouch/frame_x11.h>
 
44
#include <oif/frame_x11.h>
45
45
 
46
46
// evemu wrappers
47
47
#include "device.h"
49
49
 
50
50
#include "x11/fixture.h"
51
51
 
52
 
class NoPrematureGestures : public utouch::grail::x11::testing::Test {
 
52
class NoPrematureGestures : public oif::grail::x11::testing::Test {
53
53
 public:
54
54
  NoPrematureGestures() : device_(nullptr) {}
55
55
 protected:
198
198
}
199
199
 
200
200
TEST_F(NoPrematureGestures, Recording) {
201
 
  utouch::evemu::Device device(TEST_ROOT_DIR "recordings/apple_magic_trackpad/device.prop");
 
201
  oif::evemu::Device device(TEST_ROOT_DIR "recordings/apple_magic_trackpad/device.prop");
202
202
 
203
203
  /* Pump once to ensure the X server has initialized the device */
204
204
  PumpEvents();
205
205
  ASSERT_NE(device_, nullptr) << "X server failed to initialize trackpad";
206
206
 
207
 
  utouch::evemu::Recording recording(
 
207
  oif::evemu::Recording recording(
208
208
      device,
209
209
      TEST_ROOT_DIR "recordings/apple_magic_trackpad/synced_4_drag.record");
210
210