//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @AfterEach void afterEach()
        internal virtual void AfterEach()
        {
            _container.close();
            assertEquals(0, _memoryTracker.usedDirectMemory(), "Got memory leak");
            _blockAllocator.release();
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @AfterEach void tearDown()
        internal virtual void TearDown()
        {
            _map.close();
            assertEquals(0, _memoryTracker.usedDirectMemory(), "Leaking memory");
            _blockAllocator.release();
        }
Пример #3
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @AfterEach void afterEach()
        internal virtual void AfterEach()
        {
            _allocator.release();
            assertEquals(0, _memoryTracker.usedDirectMemory(), "Native memory is leaking");
        }