(t *testing.T)
| 260 | } |
| 261 | |
| 262 | func TestMemoryList_CleanAll(t *testing.T) { |
| 263 | var list = caches.NewMemoryList().(*caches.MemoryList) |
| 264 | _ = list.Add("a", &caches.Item{}) |
| 265 | _ = list.CleanAll() |
| 266 | logs.PrintAsJSON(list.ItemMaps(), t) |
| 267 | t.Log(list.Count()) |
| 268 | } |
| 269 | |
| 270 | func TestMemoryList_GC(t *testing.T) { |
| 271 | if !testutils.IsSingleTesting() { |