#include "src/heap/cppgc/object-start-bitmap.h"
#include "include/cppgc/allocation.h"
#include "src/base/macros.h"
#include "src/base/page-allocator.h"
#include "src/heap/cppgc/globals.h"
#include "src/heap/cppgc/heap-object-header.h"
#include "src/heap/cppgc/page-memory.h"
#include "src/heap/cppgc/raw-heap.h"
#include "test/unittests/heap/cppgc/tests.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cppgc {
namespace internal {
namespace {
class PageWithBitmap final { … };
class ObjectStartBitmapTest : public ::testing::Test { … };
}
TEST_F(ObjectStartBitmapTest, MoreThanZeroEntriesPossible) { … }
TEST_F(ObjectStartBitmapTest, InitialEmpty) { … }
TEST_F(ObjectStartBitmapTest, SetBitImpliesNonEmpty) { … }
TEST_F(ObjectStartBitmapTest, SetBitCheckBit) { … }
TEST_F(ObjectStartBitmapTest, SetBitClearbitCheckBit) { … }
TEST_F(ObjectStartBitmapTest, SetBitClearBitImpliesEmpty) { … }
TEST_F(ObjectStartBitmapTest, AdjacentObjectsAtBegin) { … }
TEST_F(ObjectStartBitmapTest, AdjacentObjectsAtEnd) { … }
TEST_F(ObjectStartBitmapTest, FindHeaderExact) { … }
TEST_F(ObjectStartBitmapTest, FindHeaderApproximate) { … }
TEST_F(ObjectStartBitmapTest, FindHeaderIteratingWholeBitmap) { … }
TEST_F(ObjectStartBitmapTest, FindHeaderNextCell) { … }
TEST_F(ObjectStartBitmapTest, FindHeaderSameCell) { … }
}
}