Efl object: Simplify test that was unneededly prone to breaking
authorTom Hacohen <tom@stosb.com>
Mon, 5 Sep 2016 14:25:14 +0000 (15:25 +0100)
committerTom Hacohen <tom@stosb.com>
Mon, 5 Sep 2016 15:00:07 +0000 (16:00 +0100)
src/tests/eo/suite/eo_test_class_errors.c

index 410174b..a63d9f5 100644 (file)
@@ -236,7 +236,6 @@ END_TEST
 START_TEST(eo_wrong_override)
 {
    efl_object_init();
-   eina_log_print_cb_set(eo_test_print_cb, &ctx);
 
    const Efl_Class *klass;
 
@@ -253,12 +252,8 @@ START_TEST(eo_wrong_override)
         NULL
    };
 
-   TEST_EO_ERROR("_eo_class_funcs_set", "Class '%s': Can't find api func description in class hierarchy (%p->%p) (%s).");
    klass = efl_class_new(&class_desc, NULL, NULL);
    fail_if(klass);
-   fail_unless(ctx.did);
-
-   eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
 
    efl_object_shutdown();
 }