#include "cc/animation/worklet_animation.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/memory/ptr_util.h"
#include "base/time/time.h"
#include "cc/animation/animation_id_provider.h"
#include "cc/animation/keyframe_effect.h"
#include "cc/animation/scroll_timeline.h"
#include "cc/test/animation_test_common.h"
#include "cc/test/animation_timelines_test_common.h"
#include "cc/trees/property_tree.h"
#include "testing/gmock/include/gmock/gmock.h"
_;
Invoke;
Mock;
NiceMock;
Return;
Unused;
namespace cc {
namespace {
class MockKeyframeEffect : public KeyframeEffect { … };
class WorkletAnimationTest : public AnimationTimelinesTest { … };
class MockScrollTimeline : public ScrollTimeline { … };
TEST_F(WorkletAnimationTest, NonImplInstanceDoesNotTickKeyframe) { … }
TEST_F(WorkletAnimationTest, LocalTimeIsUsedWhenTicking) { … }
TEST_F(WorkletAnimationTest, AnimationEventLocalTimeUpdate) { … }
TEST_F(WorkletAnimationTest, CurrentTimeCorrectlyUsesScrollTimeline) { … }
TEST_F(WorkletAnimationTest,
CurrentTimeFromRegularTimelineIsOffsetByStartTime) { … }
TEST_F(WorkletAnimationTest, DocumentTimelineSetPlaybackRate) { … }
TEST_F(WorkletAnimationTest, ScrollTimelineSetPlaybackRate) { … }
TEST_F(WorkletAnimationTest, InactiveScrollTimeline) { … }
TEST_F(WorkletAnimationTest, UpdateInputStateProducesCorrectState) { … }
TEST_F(WorkletAnimationTest, SkipUnchangedAnimations) { … }
std::optional<base::TimeTicks> FakeIncreasingScrollTimelineTime(Unused,
Unused) { … }
TEST_F(WorkletAnimationTest, SkipLockedAnimations) { … }
}
}