chromium/components/reporting/util/status_unittest.cc

// Copyright 2020 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/reporting/util/status.h"

#include <memory>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback_forward.h"
#include "base/logging.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "base/test/task_environment.h"
#include "components/reporting/proto/synced/status.pb.h"
#include "components/reporting/util/status_macros.h"
#include "components/reporting/util/test_support_callbacks.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

AllOf;
Eq;
Property;
StrEq;

namespace reporting {
namespace {

TEST(Status, Empty) {}

TEST(Status, GenericCodes) {}

TEST(Status, OkConstructorIgnoresMessage) {}

TEST(Status, CheckOK) {}

TEST(Status, ErrorMessage) {}

TEST(Status, Copy) {}

TEST(Status, Assign) {}

TEST(Status, AssignEmpty) {}

TEST(Status, EqualsOK) {}

TEST(Status, EqualsSame) {}

TEST(Status, EqualsCopy) {}

TEST(Status, EqualsDifferentCode) {}

TEST(Status, EqualsDifferentMessage) {}

TEST(Status, SaveOkTo) {}

TEST(Status, SaveTo) {}

TEST(Status, RestoreFromOk) {}

TEST(Status, RestoreFromNonOk) {}

TEST(Status, ConvertStatusToString) {}

TEST(Status, CallbackAfterDeletion) {}
}  // namespace
}  // namespace reporting