chromium/components/services/storage/dom_storage/session_storage_area_impl_unittest.cc

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

#include "components/services/storage/dom_storage/session_storage_area_impl.h"

#include "base/barrier_closure.h"
#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "base/test/bind.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/task_environment.h"
#include "base/threading/thread.h"
#include "base/uuid.h"
#include "components/services/storage/dom_storage/async_dom_storage_database.h"
#include "components/services/storage/dom_storage/session_storage_data_map.h"
#include "components/services/storage/dom_storage/session_storage_metadata.h"
#include "components/services/storage/dom_storage/storage_area_test_util.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "url/gurl.h"

namespace storage {

namespace {

std::vector<uint8_t> StdStringToUint8Vector(const std::string& s) {}

MATCHER(OKStatus, "Equality matcher for type OK leveldb::Status") {}

class MockListener : public SessionStorageDataMap::Listener {};

class SessionStorageAreaImplTest : public testing::Test {};
}  // namespace

TEST_F(SessionStorageAreaImplTest, BasicUsage) {}

TEST_F(SessionStorageAreaImplTest, ExplicitlyEmptyMap) {}

TEST_F(SessionStorageAreaImplTest, DoubleBind) {}

TEST_F(SessionStorageAreaImplTest, Cloning) {}

TEST_F(SessionStorageAreaImplTest, NotifyAllDeleted) {}

TEST_F(SessionStorageAreaImplTest, DeleteAllOnShared) {}

TEST_F(SessionStorageAreaImplTest, DeleteAllWithoutBinding) {}

TEST_F(SessionStorageAreaImplTest, DeleteAllWithoutBindingOnShared) {}

}  // namespace storage