chromium/third_party/webrtc/rtc_base/memory/always_valid_pointer_unittest.cc

/*
 *  Copyright 2004 The WebRTC Project Authors. All rights reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "rtc_base/memory/always_valid_pointer.h"

#include <string>

#include "test/gtest.h"

namespace webrtc {

TEST(AlwaysValidPointerTest, DefaultToEmptyValue) {}
TEST(AlwaysValidPointerTest, DefaultWithForwardedArgument) {}
TEST(AlwaysValidPointerTest, DefaultToSubclass) {}
TEST(AlwaysValidPointerTest, NonDefaultValue) {}

TEST(AlwaysValidPointerTest, TakeOverOwnershipOfInstance) {}

TEST(AlwaysValidPointerTest, TakeOverOwnershipFallbackOnPointer) {}

TEST(AlwaysValidPointerTest, TakeOverOwnershipFallbackOnDefault) {}

TEST(AlwaysValidPointerTest,
     TakeOverOwnershipFallbackOnDefaultWithForwardedArgument) {}

TEST(AlwaysValidPointerTest, TakeOverOwnershipDoesNotForwardDefaultArguments) {}

TEST(AlwaysValidPointerTest, DefaultToLambda) {}

TEST(AlwaysValidPointerTest, NoDefaultObjectPassValidPointer) {}

TEST(AlwaysValidPointerTest, NoDefaultObjectWithTakeOverOwnership) {}

#if GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)

TEST(AlwaysValidPointerTest, NoDefaultObjectPassNullPointer) {}

TEST(AlwaysValidPointerTest, NoDefaultObjectPassNullUniquePointer) {}

#endif

}  // namespace webrtc