#include "gin/v8_isolate_memory_dump_provider.h"
#include <memory>
#include "base/containers/contains.h"
#include "base/task/single_thread_task_runner.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/process_memory_dump.h"
#include "base/trace_event/trace_event.h"
#include "build/build_config.h"
#include "gin/public/isolate_holder.h"
#include "gin/test/v8_test.h"
#include "v8/include/v8-initialization.h"
namespace gin {
class V8MemoryDumpProviderTest : public V8Test { … };
class V8MemoryDumpProviderWorkerTest : public V8MemoryDumpProviderTest { … };
TEST_F(V8MemoryDumpProviderTest, DumpStatistics) { … }
TEST_F(V8MemoryDumpProviderTest, DumpGlobalHandlesSize) { … }
TEST_F(V8MemoryDumpProviderTest, DumpContextStatistics) { … }
TEST_F(V8MemoryDumpProviderWorkerTest, DumpContextStatistics) { … }
TEST_F(V8MemoryDumpProviderTest, DumpCodeStatistics) { … }
TEST_F(V8MemoryDumpProviderTest, Deterministic) { … }
}