chromium/services/network/shared_dictionary/shared_dictionary_on_disk_unittest.cc

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

#include "services/network/shared_dictionary/shared_dictionary_on_disk.h"

#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/unguessable_token.h"
#include "net/base/hash_value.h"
#include "net/base/io_buffer.h"
#include "net/disk_cache/mock/mock_backend_impl.h"
#include "net/disk_cache/mock/mock_entry_impl.h"
#include "services/network/shared_dictionary/shared_dictionary_disk_cache.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace network {
namespace {

const std::string kTestData =;

class FakeSharedDictionaryDiskCache : public SharedDictionaryDiskCache {};

TEST(SharedDictionaryOnDiskTest, AsyncOpenEntryAsyncReadData) {}

TEST(SharedDictionaryOnDiskTest, SyncOpenEntryAsyncReadData) {}

TEST(SharedDictionaryOnDiskTest, AsyncOpenEntrySyncReadData) {}

TEST(SharedDictionaryOnDiskTest, SyncOpenEntrySyncReadData) {}

TEST(SharedDictionaryOnDiskTest, AsyncOpenEntryFailure) {}

TEST(SharedDictionaryOnDiskTest, SyncOpenEntryFailure) {}

TEST(SharedDictionaryOnDiskTest, AsyncOpenEntryAsyncReadDataFailure) {}

TEST(SharedDictionaryOnDiskTest, AsyncOpenEntrySyncReadDataFailure) {}
TEST(SharedDictionaryOnDiskTest, SyncOpenEntryAsyncReadDataFailure) {}

TEST(SharedDictionaryOnDiskTest, SyncOpenEntrySyncReadDataFailure) {}

TEST(SharedDictionaryOnDiskTest, UnexpectedDataSize) {}

}  // namespace

}  // namespace network