#include "components/autofill/core/browser/payments/wait_for_signal_or_timeout.h"
#include "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
class WaitForSignalOrTimeoutTest : public testing::Test { … };
TEST_F(WaitForSignalOrTimeoutTest, InitThenSignal) { … }
TEST_F(WaitForSignalOrTimeoutTest, SignalThenInit) { … }
TEST_F(WaitForSignalOrTimeoutTest, InitThenTimeout) { … }
TEST_F(WaitForSignalOrTimeoutTest, DestroyedBeforeSignal) { … }
TEST_F(WaitForSignalOrTimeoutTest, Reset) { … }
TEST_F(WaitForSignalOrTimeoutTest, OnEventOrTimeOutCalledTwice) { … }