2017-10-19 09:42:55 +00:00
|
|
|
/*
|
|
|
|
Tests for the Wi-Fi
|
|
|
|
*/
|
|
|
|
#include "unity.h"
|
|
|
|
#include "esp_log.h"
|
|
|
|
#include "esp_wifi_internal.h"
|
|
|
|
|
2018-05-29 12:25:20 +00:00
|
|
|
static const char* TAG = "test_header_files_md5";
|
2017-10-19 09:42:55 +00:00
|
|
|
|
|
|
|
TEST_CASE("wifi os adapter MD5","[wifi]")
|
|
|
|
{
|
|
|
|
const char *test_wifi_os_funcs_md5 = WIFI_OS_ADAPTER_MD5;
|
|
|
|
|
|
|
|
ESP_LOGI(TAG, "test wifi os adapter MD5...");
|
|
|
|
TEST_ESP_OK(esp_wifi_internal_osi_funcs_md5_check(test_wifi_os_funcs_md5));
|
|
|
|
|
|
|
|
ESP_LOGI(TAG, "test passed...");
|
|
|
|
}
|
2018-05-29 12:25:20 +00:00
|
|
|
|
|
|
|
TEST_CASE("wifi crypto types MD5","[wifi]")
|
|
|
|
{
|
|
|
|
const char *test_wifi_crypto_funcs_md5 = WIFI_CRYPTO_MD5;
|
|
|
|
|
|
|
|
ESP_LOGI(TAG, "test wifi crypto adapter MD5...");
|
|
|
|
TEST_ESP_OK(esp_wifi_internal_crypto_funcs_md5_check(test_wifi_crypto_funcs_md5));
|
|
|
|
|
|
|
|
ESP_LOGI(TAG, "test passed...");
|
|
|
|
}
|