diff options
author | Mike Salmela <mike.salmela@iki.fi> | 2023-04-29 21:04:33 +0300 |
---|---|---|
committer | Mike Salmela <mike.salmela@iki.fi> | 2023-04-29 21:48:03 +0300 |
commit | dea11643a9024874a355b7d7dcd26fd6bff01d6f (patch) | |
tree | f558f5f390fdebfbd7b87dc29bfca7fa16ea9380 | |
parent | 8a67f0c5c22225b70d0859585b7285e79c4107ca (diff) | |
download | glib-dea11643a9024874a355b7d7dcd26fd6bff01d6f.tar.gz |
Rename confusing socket test filenames
The gio/tests/socket-client.c doesn't use GSocketClient, which makes the
filename confusing. What the file actually tests is the GSocket. Rename
it to socket-testclient.c
The corresponding GSocket server test file naming doesn't conflict with other
class names, but rename it to socket-testserver.c for consistency.
Closes #2855
-rw-r--r-- | gio/tests/meson.build | 4 | ||||
-rw-r--r-- | gio/tests/socket-common.c | 2 | ||||
-rw-r--r-- | gio/tests/socket-testclient.c (renamed from gio/tests/socket-client.c) | 0 | ||||
-rw-r--r-- | gio/tests/socket-testserver.c (renamed from gio/tests/socket-server.c) | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/gio/tests/meson.build b/gio/tests/meson.build index 8da884001..2ff34a5d0 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -590,8 +590,8 @@ test_extra_programs += { 'proxy' : {'install' : false}, 'resolver' : {'install' : false}, 'send-data' : {'install' : false}, - 'socket-server' : {'install' : false}, - 'socket-client' : { + 'socket-testserver' : {'install' : false}, + 'socket-testclient' : { 'extra_sources' : ['gtlsconsoleinteraction.c'], 'install' : false, }, diff --git a/gio/tests/socket-common.c b/gio/tests/socket-common.c index 18d083a30..b740f68e7 100644 --- a/gio/tests/socket-common.c +++ b/gio/tests/socket-common.c @@ -1,4 +1,4 @@ -/* #included into both socket-client.c and socket-server.c */ +/* #included into both socket-testclient.c and socket-testserver.c */ #ifdef G_OS_UNIX static const char *unix_socket_address_types[] = { diff --git a/gio/tests/socket-client.c b/gio/tests/socket-testclient.c index 025632767..025632767 100644 --- a/gio/tests/socket-client.c +++ b/gio/tests/socket-testclient.c diff --git a/gio/tests/socket-server.c b/gio/tests/socket-testserver.c index 61715b02d..61715b02d 100644 --- a/gio/tests/socket-server.c +++ b/gio/tests/socket-testserver.c |