chromium/chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "chrome/test/chromedriver/chrome/heap_snapshot_taker.h"

#include <stddef.h>

#include <list>
#include <memory>
#include <string>
#include <utility>

#include "base/values.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "chrome/test/chromedriver/chrome/stub_devtools_client.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

const char* const chunks[] =;

base::Value GetSnapshotAsValue() {}

class DummyDevToolsClient : public StubDevToolsClient {};

}  // namespace

TEST(HeapSnapshotTaker, SuccessfulCase) {}

TEST(HeapSnapshotTaker, FailIfErrorOnDebuggerEnable) {}

TEST(HeapSnapshotTaker, FailIfErrorOnCollectGarbage) {}

TEST(HeapSnapshotTaker, ErrorBeforeWhenReceivingSnapshot) {}