stefan pushed a commit to branch master.

commit fdb479d0609c96338b54d2fe3c79cfc2025ae45c
Author: Stefan Schmidt <[email protected]>
Date:   Wed Mar 27 17:14:31 2013 +0000

    eeze/sensor/test: Remove useless check.
    
    Thsi would only test ecore_event_add and nothing wrt to eeze sensor.
---
 src/tests/eeze/eeze_suite.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/tests/eeze/eeze_suite.c b/src/tests/eeze/eeze_suite.c
index 88850d1..77ac23a 100644
--- a/src/tests/eeze/eeze_suite.c
+++ b/src/tests/eeze/eeze_suite.c
@@ -568,8 +568,6 @@ START_TEST(eeze_test_sensor_async_read)
    fail_if(event == NULL);
 
    /* Error case */
-   event = ecore_event_add(42, sens, NULL, NULL);
-   fail_if(event != NULL);
    sens = eeze_sensor_new(EEZE_SENSOR_TYPE_LAST + 1);
    fail_if(sens != NULL);
    rc = eeze_sensor_async_read(NULL, NULL);

-- 

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d

Reply via email to