#include "third_party/blink/renderer/platform/scheduler/main_thread/render_widget_signals.h"
#include <memory>
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/scheduler/main_thread/widget_scheduler_impl.h"
AnyNumber;
Mock;
_;
namespace blink {
namespace scheduler {
namespace render_widget_signals_unittest {
class MockObserver : public RenderWidgetSignals::Observer { … };
class RenderWidgetSignalsTest : public testing::Test { … };
TEST_F(RenderWidgetSignalsTest, RenderWidgetSchedulingStateLifeCycle) { … }
TEST_F(RenderWidgetSignalsTest, RenderWidget_Hidden) { … }
TEST_F(RenderWidgetSignalsTest, RenderWidget_HiddenThreeTimesShownOnce) { … }
TEST_F(RenderWidgetSignalsTest, MultipleRenderWidgetsBecomeHiddenThenVisible) { … }
}
}
}