chromium/v8/test/unittests/heap/cppgc/object-start-bitmap-unittest.cc

// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {};

}  // namespace

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) {}

}  // namespace internal
}  // namespace cppgc