summaryrefslogtreecommitdiff
path: root/src/tests/eeze/eeze_suite.c
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-03-27 17:15:27 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2013-03-27 17:15:27 +0000
commitf7c055b0cecd90c4efd8325fc07e8a55dd9c3019 (patch)
treee20ce48869f176b7e39026967d65f8eff06c3c16 /src/tests/eeze/eeze_suite.c
parentfdb479d0609c96338b54d2fe3c79cfc2025ae45c (diff)
eeze/sensor: Setup all ecore event types in init.
We had some set up but not all. Do that and avoid the redo'ing in eeze_sensor test.
Diffstat (limited to 'src/tests/eeze/eeze_suite.c')
-rw-r--r--src/tests/eeze/eeze_suite.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tests/eeze/eeze_suite.c b/src/tests/eeze/eeze_suite.c
index 77ac23a17d..1de767e5eb 100644
--- a/src/tests/eeze/eeze_suite.c
+++ b/src/tests/eeze/eeze_suite.c
@@ -524,9 +524,6 @@ START_TEST(eeze_test_sensor_async_read)
524 ret = eeze_init(); 524 ret = eeze_init();
525 fail_if(ret != 1); 525 fail_if(ret != 1);
526 526
527 EEZE_SENSOR_EVENT_ACCELEROMETER = ecore_event_type_new();
528 fail_if(EEZE_SENSOR_EVENT_ACCELEROMETER < 1);
529
530 handler = ecore_event_handler_add(EEZE_SENSOR_EVENT_ACCELEROMETER, event_cb, NULL); 527 handler = ecore_event_handler_add(EEZE_SENSOR_EVENT_ACCELEROMETER, event_cb, NULL);
531 fail_if(handler == NULL); 528 fail_if(handler == NULL);
532 sens = eeze_sensor_new(EEZE_SENSOR_TYPE_ACCELEROMETER); 529 sens = eeze_sensor_new(EEZE_SENSOR_TYPE_ACCELEROMETER);