< prev index next >

test/native/memory/test_chunkManager.cpp

Print this page

        

*** 21,32 **** * questions. */ #include "precompiled.hpp" #include "unittest.hpp" void ChunkManager_test_list_index(); ! TEST(ChunkManager, list_index_humongous) { ChunkManager_test_list_index(); } --- 21,39 ---- * questions. */ #include "precompiled.hpp" + // The test function is only available in debug builds + #ifdef ASSERT + #include "unittest.hpp" void ChunkManager_test_list_index(); ! TEST(ChunkManager, list_index) { ! // The ChunkManager is only available in metaspace.cpp, ! // so the test code is located in that file. ChunkManager_test_list_index(); } + + #endif // ASSERT
< prev index next >