#include "third_party/blink/renderer/modules/animationworklet/animation_worklet_proxy_client.h"
#include <memory>
#include <utility>
#include "base/synchronization/waitable_event.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/test_simple_task_runner.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/renderer/bindings/core/v8/worker_or_worklet_script_controller.h"
#include "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/renderer/core/script/classic_script.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/core/workers/worker_reporting_proxy.h"
#include "third_party/blink/renderer/modules/worklet/worklet_thread_test_common.h"
#include "third_party/blink/renderer/platform/graphics/animation_worklet_mutator_dispatcher_impl.h"
namespace blink {
class MockMutatorClient : public MutatorClient { … };
MockMutatorClient::MockMutatorClient(
std::unique_ptr<AnimationWorkletMutatorDispatcherImpl> mutator)
: … { … }
class AnimationWorkletProxyClientTest : public RenderingTest { … };
TEST_F(AnimationWorkletProxyClientTest,
AnimationWorkletProxyClientConstruction) { … }
TEST_F(AnimationWorkletProxyClientTest, RegisteredAnimatorNameShouldSyncOnce) { … }
TEST_F(AnimationWorkletProxyClientTest, SelectGlobalScope) { … }
TEST_F(AnimationWorkletProxyClientTest, MigrateAnimatorsBetweenGlobalScopes) { … }
}