Lines Matching refs:stat2

123     nvs_stats_t stat2;  variable
164 TEST_ESP_OK(nvs_get_stats(NULL, &stat2));
165 TEST_ASSERT_TRUE(stat2.free_entries + 1 == stat1.free_entries);
166 TEST_ASSERT_TRUE(stat2.namespace_count == 1);
167 TEST_ASSERT_TRUE(stat2.total_entries == stat1.total_entries);
168 TEST_ASSERT_TRUE(stat2.used_entries == 1);
173 TEST_ASSERT_TRUE(stat1.free_entries + 1 == stat2.free_entries);
175 TEST_ASSERT_TRUE(stat1.total_entries == stat2.total_entries);
180 TEST_ESP_OK(nvs_get_stats(NULL, &stat2));
181 TEST_ASSERT_TRUE(stat2.free_entries == stat1.free_entries);
182 TEST_ASSERT_TRUE(stat2.namespace_count == 1);
183 TEST_ASSERT_TRUE(stat2.total_entries != 0);
184 TEST_ASSERT_TRUE(stat2.used_entries == 2);
189 TEST_ASSERT_TRUE(stat1.free_entries + 1 == stat2.free_entries);
202 TEST_ESP_OK(nvs_get_stats(NULL, &stat2));
203 TEST_ASSERT_TRUE(stat2.free_entries + 1 == stat1.free_entries);
204 TEST_ASSERT_TRUE(stat2.namespace_count == 2);
205 TEST_ASSERT_TRUE(stat2.total_entries == stat1.total_entries);
206 TEST_ASSERT_TRUE(stat2.used_entries == 4);
213 TEST_ASSERT_TRUE(stat1.free_entries + 3 == stat2.free_entries);
215 TEST_ASSERT_TRUE(stat1.total_entries == stat2.total_entries);
239 TEST_ESP_OK(nvs_get_stats(NULL, &stat2));
240 TEST_ASSERT_TRUE(stat2.free_entries + 1 == stat1.free_entries);
241 TEST_ASSERT_TRUE(stat2.namespace_count == 3);
242 TEST_ASSERT_TRUE(stat2.total_entries == stat1.total_entries);
243 TEST_ASSERT_TRUE(stat2.used_entries == 8);
249 TEST_ASSERT_TRUE(stat1.free_entries + 4 == stat2.free_entries);
251 TEST_ASSERT_TRUE(stat1.total_entries == stat2.total_entries);