chromium/remoting/base/result_unittest.cc

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

#include <memory>
#include <string>

#include "base/memory/raw_ptr_exclusion.h"
#include "remoting/base/result.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace remoting {

TEST(Result, DefaultConstruction) {}

namespace {
struct NotDefaultConstructible {};
}  // namespace

static_assert;

TEST(Result, TaggedSuccessConstruction) {}

TEST(Result, TaggedErrorConstruction) {}

static_assert;

TEST(Result, ImplicitSuccessConstruction) {}

TEST(Result, ImplicitErrorConstruction) {}

static_assert;

TEST(Result, SuccessCopyConstruction) {}

TEST(Result, ErrorCopyConstruction) {}

static_assert;

TEST(Result, SuccessMoveConstruction) {}

TEST(Result, ErrorMoveConstruction) {}

TEST(Result, SuccessCopyConversion) {}

TEST(Result, ErrorCopyConversion) {}

TEST(Result, SuccessMoveConversion) {}

TEST(Result, ErrorMoveConversion) {}

TEST(Result, Destruction) {}

TEST(Result, CopyAssignment) {}

TEST(Result, MoveAssignment) {}

TEST(Result, CopyConversionAssignment) {}

TEST(Result, MoveConversionAssignment) {}

TEST(Result, EmplaceSuccess) {}

TEST(Result, EmplaceError) {}

TEST(Result, MapLvalue) {}

TEST(Result, MapRvalue) {}

TEST(Result, MapPassesErrorThrough) {}

TEST(Result, MapErrorLvalue) {}

TEST(Result, MapErrorRvalue) {}

TEST(Result, MapErrorPassesSuccessThrough) {}

TEST(Result, AndThenLvalue) {}

TEST(Result, AndThenRvalue) {}

TEST(Result, AndThenPassesErrorThrough) {}

TEST(Result, OrElseLvalue) {}

TEST(Result, OrElseRvalue) {}

TEST(Result, OrElsePassesSuccessThrough) {}

TEST(Result, Visit) {}

}  // namespace remoting