int main() { SUITE("Subscribe"); test_subscribe_no_qos(); test_subscribe_qos_1(); test_subscribe_not_connected(); test_subscribe_invalid_qos(); test_unsubscribe(); test_unsubscribe_not_connected(); FINISH }
int main() { SUITE("Keep-alive"); test_keepalive_pings_idle(); test_keepalive_pings_with_outbound_qos0(); test_keepalive_pings_with_inbound_qos0(); test_keepalive_no_pings_inbound_qos1(); test_keepalive_disconnects_hung(); FINISH }
int main() { SUITE("Publish"); test_publish(); test_publish_bytes(); test_publish_retained(); test_publish_not_connected(); test_publish_P(); FINISH }
int main() { SUITE("Connect"); test_connect_fails_no_network(); test_connect_fails_on_no_response(); test_connect_properly_formatted(); test_connect_accepts_username_password(); test_connect_fails_on_bad_rc(); test_connect_properly_formatted_hostname(); test_connect_accepts_username_no_password(); test_connect_ignores_password_no_username(); test_connect_with_will(); test_connect_with_will_username_password(); test_connect_disconnect_connect(); FINISH }