#include "media/base/callback_registry.h"
#include "base/functional/callback.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
namespace {
_;
Invoke;
IsNull;
class CallbackRegistryTest : public testing::Test { … };
TEST_F(CallbackRegistryTest, RegisterWithNoParam) { … }
TEST_F(CallbackRegistryTest, RegisterWithOneParam) { … }
TEST_F(CallbackRegistryTest, RegisterWithTwoParams) { … }
TEST_F(CallbackRegistryTest, RegisterWithMoveOnlyParam) { … }
TEST_F(CallbackRegistryTest, RegisterWithPointerParam) { … }
TEST_F(CallbackRegistryTest, RegisterWithReferenceParam) { … }
TEST_F(CallbackRegistryTest, RegisterAfterNotify) { … }
TEST_F(CallbackRegistryTest, EmptyRegistry) { … }
TEST_F(CallbackRegistryTest, UnregisterCallback) { … }
TEST_F(CallbackRegistryTest, RegisterDuringNotification) { … }
}
}