public void SmallEntries() { SortedFolderEntries.FreePool(); SortedFolderEntries.InitializePools(new MockTracer(), indexEntryCount: 0); SortedFolderEntries.FilePoolSize().ShouldBeAtLeast(1); SortedFolderEntries.FolderPoolSize().ShouldBeAtLeast(1); SortedFolderEntries.ResetPool(new MockTracer(), indexEntryCount: 0); SortedFolderEntries.FilePoolSize().ShouldBeAtLeast(1); SortedFolderEntries.FolderPoolSize().ShouldBeAtLeast(1); }
public void TestSetup() { LazyUTF8String.ResetPool(new MockTracer(), DefaultIndexEntryCount); SortedFolderEntries.ResetPool(new MockTracer(), DefaultIndexEntryCount); }