| 150 | } |
| 151 | |
| 152 | void test_bad_unix_socket_paths ( |
| 153 | ) |
| 154 | { |
| 155 | const std::string long_socket_name(1000, 'x'); |
| 156 | connection::socket_descriptor_type sock = 0; |
| 157 | connection* con = 0; |
| 158 | |
| 159 | DLIB_TEST(create_listening_socket(sock, long_socket_name) == OTHER_ERROR); |
| 160 | DLIB_TEST(create_connection(con, long_socket_name) == OTHER_ERROR); |
| 161 | DLIB_TEST(con == 0); |
| 162 | } |
| 163 | |
| 164 | void run_tests ( |
| 165 | unsigned long timeout_to_use |
nothing calls this directly
no test coverage detected