#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
}