| 214 | |
| 215 | |
| 216 | int main(int argc, char **argv) |
| 217 | { |
| 218 | int success_count = 0; |
| 219 | int test_count = 0; |
| 220 | |
| 221 | internal_callbacks_t callbacks; |
| 222 | |
| 223 | memset(&callbacks, 0, sizeof(callbacks)); |
| 224 | |
| 225 | context = internal_init( &callbacks ); |
| 226 | |
| 227 | const char* stun[] = { HUMBLENET_SERVER_URL }; |
| 228 | internal_set_stun_servers(context, stun, 1); |
| 229 | |
| 230 | { |
| 231 | success_count += run_webrtc_data_test(); test_count++; |
| 232 | success_count += run_webrtc_data_test(); test_count++; |
| 233 | success_count += run_webrtc_data_test(); test_count++; |
| 234 | |
| 235 | //success_count += run_test(HUMBLENET_SERVER_URL); test_count++; |
| 236 | |
| 237 | printf("\n%d / %d test were successful\n", success_count, test_count); |
| 238 | } |
| 239 | |
| 240 | internal_deinit(context); |
| 241 | |
| 242 | return test_count - success_count; |
| 243 | } |
nothing calls this directly
no test coverage detected