chromium/chrome/browser/notifications/scheduler/internal/notification_store_unittest.cc

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

#include "chrome/browser/notifications/scheduler/internal/notification_store.h"

#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/task_environment.h"
#include "chrome/browser/notifications/scheduler/internal/proto_conversion.h"
#include "chrome/browser/notifications/scheduler/test/test_utils.h"
#include "components/leveldb_proto/public/proto_database.h"
#include "components/leveldb_proto/testing/fake_db.h"
#include "testing/gtest/include/gtest/gtest.h"

FakeDB;
InitStatus;
Entries;
TestNotificationEntries;
DbEntries;
DbEntriesPtr;

namespace notifications {
namespace {

const char kGuid[] =;

class NotificationStoreTest : public testing::Test {};

// Verifies initialization with empty database.
TEST_F(NotificationStoreTest, Init) {}

// Initialize non-empty database should success.
TEST_F(NotificationStoreTest, InitSuccessWithData) {}

// Failed database initialization will result in error.
TEST_F(NotificationStoreTest, InitFailed) {}

TEST_F(NotificationStoreTest, AddAndUpdate) {}

TEST_F(NotificationStoreTest, Delete) {}

}  // namespace
}  // namespace notifications