#include "third_party/blink/renderer/core/timing/performance_observer.h"
#include <optional>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/origin_trials/scoped_test_origin_trial_policy.h"
#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_performance_mark_options.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_performance_observer_callback.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_performance_observer_init.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/origin_trials/origin_trial_context.h"
#include "third_party/blink/renderer/core/timing/layout_shift.h"
#include "third_party/blink/renderer/core/timing/performance.h"
#include "third_party/blink/renderer/core/timing/performance_mark.h"
#include "third_party/blink/renderer/core/timing/window_performance.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
namespace blink {
class MockPerformance : public Performance { … };
class PerformanceObserverTest : public testing::Test { … };
TEST_F(PerformanceObserverTest, Observe) { … }
TEST_F(PerformanceObserverTest, ObserveWithBufferedFlag) { … }
TEST_F(PerformanceObserverTest, Enqueue) { … }
TEST_F(PerformanceObserverTest, Deliver) { … }
TEST_F(PerformanceObserverTest, Disconnect) { … }
TEST_F(PerformanceObserverTest, ObserveAfterContextDetached) { … }
}