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
This commit is contained in:
Mike Salmela 2023-04-29 21:04:33 +03:00
parent 8a67f0c5c2
commit dea11643a9
4 changed files with 3 additions and 3 deletions

View File

@ -590,8 +590,8 @@ test_extra_programs += {
'proxy' : {'install' : false}, 'proxy' : {'install' : false},
'resolver' : {'install' : false}, 'resolver' : {'install' : false},
'send-data' : {'install' : false}, 'send-data' : {'install' : false},
'socket-server' : {'install' : false}, 'socket-testserver' : {'install' : false},
'socket-client' : { 'socket-testclient' : {
'extra_sources' : ['gtlsconsoleinteraction.c'], 'extra_sources' : ['gtlsconsoleinteraction.c'],
'install' : false, 'install' : false,
}, },

View File

@ -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 #ifdef G_OS_UNIX
static const char *unix_socket_address_types[] = { static const char *unix_socket_address_types[] = {