#include "media/base/callback_timeout_helpers.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
class CallbackTimeoutHelpersTest : public testing::Test { … };
TEST_F(CallbackTimeoutHelpersTest, TimeoutHandler_RunBeforeTimeout) { … }
TEST_F(CallbackTimeoutHelpersTest, TimeoutHandler_RunAfterTimeout) { … }
TEST_F(CallbackTimeoutHelpersTest, TimeoutHandler_Timeout) { … }
TEST_F(CallbackTimeoutHelpersTest, TimeoutHandler_Destruction) { … }
TEST_F(CallbackTimeoutHelpersTest, DefaultInvoke_RunBeforeTimeout) { … }
TEST_F(CallbackTimeoutHelpersTest, DefaultInvoke_RunAfterTimeout) { … }
TEST_F(CallbackTimeoutHelpersTest, DefaultInvoke_Timeout) { … }
TEST_F(CallbackTimeoutHelpersTest, DefaultInvoke_Destruction) { … }
}