ecore-con tests - remove WRONG connect check
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sun, 22 May 2016 08:18:33 +0000 (17:18 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 24 May 2016 00:20:49 +0000 (09:20 +0900)
sothe ecore-con tests were calling ecore_con_server_connected_get()
every time a server was created on a NUL server object. WTF? this is
pointless. testing if an api returns tre on being connected on an
invalid object? all it does is create lots of eo noise. remove so we
can see the real errors in the output.

@fix

src/tests/ecore_con/ecore_con_test_ecore_con.c

index 33dda2f..1a9ada6 100644 (file)
@@ -225,8 +225,6 @@ void _ecore_con_server_client_tests(Ecore_Con_Type compl_type, const char *name,
                                          _data, (void *) 2);
    fail_if(handlers[5] == NULL);
 
-   fail_if (ecore_con_server_connected_get(server));
-
    server = ecore_con_server_add(compl_type, name, server_port,
                                  server_data);
    fail_if (server == NULL);