#include "components/user_notes/storage/user_note_database.h"
#include <vector>
#include "base/containers/contains.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/path_service.h"
#include "base/ranges/algorithm.h"
#include "components/user_notes/model/user_note_model_test_utils.h"
#include "sql/database.h"
#include "sql/meta_table.h"
#include "sql/statement.h"
#include "sql/test/test_helpers.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace user_notes {
class UserNoteDatabaseTest : public testing::Test { … };
TEST_F(UserNoteDatabaseTest, InitDatabase) { … }
TEST_F(UserNoteDatabaseTest, DatabaseNewVersion) { … }
TEST_F(UserNoteDatabaseTest, DatabaseHasSchemaNoMeta) { … }
TEST_F(UserNoteDatabaseTest, CreateNote) { … }
TEST_F(UserNoteDatabaseTest, UpdateNote) { … }
TEST_F(UserNoteDatabaseTest, DeleteNote) { … }
TEST_F(UserNoteDatabaseTest, GetNotesById) { … }
TEST_F(UserNoteDatabaseTest, DeleteAllNotes) { … }
TEST_F(UserNoteDatabaseTest, DeleteAllForOrigin) { … }
TEST_F(UserNoteDatabaseTest, DeleteAllForUrl) { … }
TEST_F(UserNoteDatabaseTest, GetNoteMetadataForUrls) { … }
}