chromium/sql/sqlite_result_code_unittest.cc

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

#include "sql/sqlite_result_code.h"

#include "base/dcheck_is_on.h"
#include "base/test/gtest_util.h"
#include "base/test/metrics/histogram_tester.h"
#include "sql/sqlite_result_code_values.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/sqlite/sqlite3.h"

namespace sql {

namespace {

TEST(SqliteResultCodeTest, ToSqliteResultCode_Success) {}

TEST(SqliteResultCodeTest, ToSqliteResultCode_PrimaryErrorCodes) {}

TEST(SqliteResultCodeTest, ToSqliteResultCode_ExtendedErrorCodes) {}

TEST(SqliteResultCodeTest, ToSqliteResultCode_MissingLowValue) {}

TEST(SqliteResultCodeTest, ToSqliteResultCode_MissingHighValue) {}

TEST(SqliteResultCodeTest, ToSqliteResultCode_SqliteInternalError) {}

TEST(SqliteResultCodeTest, ToSqliteErrorCode_Success_Ok) {}

TEST(SqliteResultCodeTest, ToSqliteErrorCode_Success_Done) {}

TEST(SqliteResultCodeTest, ToSqliteErrorCode_Success_Row) {}

TEST(SqliteResultCodeTest, ToSqliteErrorCode_PrimaryErrorCodes) {}

TEST(SqliteResultCodeTest, ToSqliteErrorCode_ExtendedErrorCodes) {}

TEST(SqliteResultCodeTest, ToSqliteErrorCode_SqliteInternalError) {}

TEST(SqliteResultCodeTest, ToSqliteErrorCode_Success) {}

TEST(SqliteResultCodeTest, IsSqliteSuccessCode_PrimaryErrorCodes) {}

TEST(SqliteResultCodeTest, IsSqliteSuccessCode_ExtendedErrorCodes) {}

TEST(SqliteResultCodeTest, IsSqliteSuccessCode_SqliteInternalError) {}

TEST(SqliteResultCodeTest, IsSqliteSuccessCode_ChromeBugError) {}

TEST(SqliteResultCodeTest, ToSqliteLoggedResultCode_Success) {}

TEST(SqliteResultCodeTest, ToSqliteLoggedResultCode_PrimaryErrorCodes) {}

TEST(SqliteResultCodeTest, ToSqliteLoggedResultCode_ExtendedErrorCodes) {}

TEST(SqliteResultCodeTest, ToSqliteLoggedResultCode_MissingLowValue) {}

TEST(SqliteResultCodeTest, ToSqliteLoggedResultCode_MissingHighValue) {}

TEST(SqliteResultCodeTest, ToSqliteLoggedResultCode_SqliteInternalError) {}

TEST(SqliteResultCodeTest, ToSqliteLoggedResultCode_ChromeBugError) {}

TEST(SqliteResultCodeTest, UmaHistogramSqliteResult_Success) {}

TEST(SqliteResultCodeTest, UmaHistogramSqliteResult_PrimaryErrorCode) {}

TEST(SqliteResultCodeTest, UmaHistogramSqliteResult_ExtendedErrorCode) {}

TEST(SqliteResultCodeTest, CheckMapping) {}

}  // namespace

}  // namespace sql