// Copyright 2015 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. #ifndef HEAP_HEAP_TESTER_H_ #define HEAP_HEAP_TESTER_H_ #include "src/heap/spaces.h" #include "src/objects/fixed-array.h" // Tests that should have access to private methods of {v8::internal::Heap}. // Those tests need to be defined using HEAP_TEST(Name) { ... }. #define HEAP_TEST_METHODS … #define HEAP_TEST(Name) … #define UNINITIALIZED_HEAP_TEST(Name) … #define THREADED_HEAP_TEST(Name) … namespace v8 { namespace internal { namespace heap { class HeapTester { … }; } // namespace heap } // namespace internal } // namespace v8 #endif // HEAP_HEAP_TESTER_H_