chromium/v8/test/unittests/wasm/wasm-code-manager-unittest.cc

// Copyright 2017 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 "test/unittests/test-utils.h"
#include "testing/gmock/include/gmock/gmock.h"

#include "src/wasm/function-compiler.h"
#include "src/wasm/jump-table-assembler.h"
#include "src/wasm/wasm-code-manager.h"
#include "src/wasm/wasm-engine.h"

namespace v8 {
namespace internal {
namespace wasm {
namespace wasm_heap_unittest {

class DisjointAllocationPoolTest : public ::testing::Test {};

void DisjointAllocationPoolTest::CheckPool(
    const DisjointAllocationPool& mem,
    std::initializer_list<base::AddressRegion> expected_regions) {}

void DisjointAllocationPoolTest::CheckRange(base::AddressRegion region1,
                                            base::AddressRegion region2) {}

DisjointAllocationPool DisjointAllocationPoolTest::Make(
    std::initializer_list<base::AddressRegion> regions) {}

TEST_F(DisjointAllocationPoolTest, ConstructEmpty) {}

TEST_F(DisjointAllocationPoolTest, ConstructWithRange) {}

TEST_F(DisjointAllocationPoolTest, SimpleExtract) {}

TEST_F(DisjointAllocationPoolTest, ExtractAll) {}

TEST_F(DisjointAllocationPoolTest, FailToExtract) {}

TEST_F(DisjointAllocationPoolTest, FailToExtractExact) {}

TEST_F(DisjointAllocationPoolTest, ExtractExact) {}

TEST_F(DisjointAllocationPoolTest, Merging) {}

TEST_F(DisjointAllocationPoolTest, MergingFirst) {}

TEST_F(DisjointAllocationPoolTest, MergingAbove) {}

TEST_F(DisjointAllocationPoolTest, MergingMore) {}

TEST_F(DisjointAllocationPoolTest, MergingSkip) {}

TEST_F(DisjointAllocationPoolTest, MergingSkipLargerSrc) {}

TEST_F(DisjointAllocationPoolTest, MergingSkipLargerSrcWithGap) {}

}  // namespace wasm_heap_unittest
}  // namespace wasm
}  // namespace internal
}  // namespace v8