#include "mojo/public/cpp/system/handle_signal_tracker.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "mojo/core/embedder/embedder.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "mojo/public/cpp/system/wait.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace {
class HandleSignalTrackerTest : public testing::Test { … };
TEST_F(HandleSignalTrackerTest, StartsWithCorrectState) { … }
TEST_F(HandleSignalTrackerTest, BasicTracking) { … }
TEST_F(HandleSignalTrackerTest, DoesntUpdateOnIrrelevantChanges) { … }
}
}