summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-05-22 17:18:33 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-05-24 09:20:49 +0900
commitb8b41e668394be9ac84ddff6de8110dc275b88f8 (patch)
treeb1ff6e571c0d5a274159338e7234417469674976
parent1eba9d9de026d9ec28aa5b42457b144e437dbfe3 (diff)
ecore-con tests - remove WRONG connect check
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
-rw-r--r--src/tests/ecore_con/ecore_con_test_ecore_con.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_ecore_con.c b/src/tests/ecore_con/ecore_con_test_ecore_con.c
index 33dda2f3ba..1a9ada6d6f 100644
--- a/src/tests/ecore_con/ecore_con_test_ecore_con.c
+++ b/src/tests/ecore_con/ecore_con_test_ecore_con.c
@@ -225,8 +225,6 @@ void _ecore_con_server_client_tests(Ecore_Con_Type compl_type, const char *name,
225 _data, (void *) 2); 225 _data, (void *) 2);
226 fail_if(handlers[5] == NULL); 226 fail_if(handlers[5] == NULL);
227 227
228 fail_if (ecore_con_server_connected_get(server));
229
230 server = ecore_con_server_add(compl_type, name, server_port, 228 server = ecore_con_server_add(compl_type, name, server_port,
231 server_data); 229 server_data);
232 fail_if (server == NULL); 230 fail_if (server == NULL);