Searched refs:stat1 (Results 1 – 2 of 2) sorted by relevance
122 nvs_stats_t stat1; variable124 TEST_ESP_ERR(ESP_ERR_NVS_NOT_INITIALIZED, nvs_get_stats(NULL, &stat1));125 TEST_ASSERT_TRUE(stat1.free_entries == 0);126 TEST_ASSERT_TRUE(stat1.namespace_count == 0);127 TEST_ASSERT_TRUE(stat1.total_entries == 0);128 TEST_ASSERT_TRUE(stat1.used_entries == 0);147 TEST_ESP_OK(nvs_get_stats(NULL, &stat1));148 if(stat1.namespace_count != 0) {155 TEST_ESP_OK(nvs_get_stats(NULL, &stat1));156 TEST_ASSERT_TRUE(stat1.free_entries != 0);[all …]
1855 nvs_stats_t stat1; variable1857 TEST_ESP_ERR(nvs_get_stats(NULL, &stat1), ESP_ERR_NVS_NOT_INITIALIZED);1858 CHECK(stat1.free_entries == 0);1859 CHECK(stat1.namespace_count == 0);1860 CHECK(stat1.total_entries == 0);1861 CHECK(stat1.used_entries == 0);1876 TEST_ESP_OK(nvs_get_stats(NULL, &stat1));1877 CHECK(stat1.free_entries != 0);1878 CHECK(stat1.namespace_count == 0);1879 CHECK(stat1.total_entries == 6 * p.ENTRY_COUNT);[all …]