~fginther/geis/geis-2.2.9.1-precise

« back to all changes in this revision

Viewing changes to testsuite/libgeis/check_timer.c

  • Committer: Francis Ginther
  • Date: 2012-08-16 13:43:15 UTC
  • mfrom: (49.1.37)
  • Revision ID: francis.ginther@canonical.com-20120816134315-ex9m75nqcv0uryim
* New upstream release.
  - fixes pinch radius and drag delta calculations (lp: #985916)
    (lp: #986215)
  - changes type of geisSubscriptionFlags (lp: #813819)
  - changes direct devices to use window coordinates (lp: #984069)
  - reports device axis extents, if available (lp: #987539)
  - removes XCB back end
  - removes overlapping events when a gesture is accepted (lp: #1001365)
  - avoids trying to start a DBus session if there is none already
    (lp: #997630)
  - detect added devices properly (LP: #1009270)
  - fix crash when accepting a gesture (LP: #1015775)
  - fix result value of geis_subscription_deactivate() (LP: #1021448)
  - upstream project renamed to just 'geis'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * internal unit tests for the uTouch GEIS v2.0 subscription module
 
2
 * internal unit tests for the GEIS v2.0 subscription module
3
3
 */
4
4
#pragma GCC diagnostic ignored "-Wunused-result"
5
5
 
20
20
static void
21
21
construct_geis()
22
22
{
23
 
  g_geis = geis_new(GEIS_INIT_UTOUCH_MOCK_BACKEND, NULL);
 
23
  g_geis = geis_new(GEIS_INIT_MOCK_BACKEND, NULL);
24
24
  geis_get_configuration(g_geis, GEIS_CONFIGURATION_FD, &g_geis_fd);
25
25
}
26
26
 
149
149
Suite *
150
150
make_timer_suite()
151
151
{
152
 
  Suite *s = suite_create("utouch-geis2-geis-timer");
 
152
  Suite *s = suite_create("geis2-geis-timer");
153
153
 
154
154
  TCase *usage = tcase_create("timer");
155
155
  tcase_add_checked_fixture(usage, construct_geis, destroy_geis);