#include "third_party/blink/renderer/core/animation/animation_effect.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_computed_effect_timing.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_optional_effect_timing.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_timeline_range_offset.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_cssnumericvalue_string_unrestricteddouble.h"
#include "third_party/blink/renderer/core/animation/animation_effect_owner.h"
#include "third_party/blink/renderer/core/animation/timing.h"
#include "third_party/blink/renderer/core/css/cssom/css_unit_values.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
Timing::V8Delay* CreateTimeDelay(double delay_in_ms) { … }
class MockAnimationEffectOwner
: public GarbageCollected<MockAnimationEffectOwner>,
public AnimationEffectOwner { … };
class TestAnimationEffectEventDelegate : public AnimationEffect::EventDelegate { … };
class TestAnimationEffect : public AnimationEffect { … };
TEST(AnimationAnimationEffectTest, Sanity) { … }
TEST(AnimationAnimationEffectTest, FillAuto) { … }
TEST(AnimationAnimationEffectTest, FillForwards) { … }
TEST(AnimationAnimationEffectTest, FillBackwards) { … }
TEST(AnimationAnimationEffectTest, FillBoth) { … }
TEST(AnimationAnimationEffectTest, StartDelay) { … }
TEST(AnimationAnimationEffectTest, ZeroIteration) { … }
TEST(AnimationAnimationEffectTest, InfiniteIteration) { … }
TEST(AnimationAnimationEffectTest, Iteration) { … }
TEST(AnimationAnimationEffectTest, IterationStart) { … }
TEST(AnimationAnimationEffectTest, IterationAlternate) { … }
TEST(AnimationAnimationEffectTest, IterationAlternateReverse) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationSanity) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationFillForwards) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationFillBackwards) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationFillBoth) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationStartDelay) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationIterationStartAndCount) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationInfiniteIteration) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationIteration) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationIterationStart) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationIterationAlternate) { … }
TEST(AnimationAnimationEffectTest, ZeroDurationIterationAlternateReverse) { … }
TEST(AnimationAnimationEffectTest, InfiniteDurationSanity) { … }
TEST(AnimationAnimationEffectTest, InfiniteDurationZeroIterations) { … }
TEST(AnimationAnimationEffectTest, InfiniteDurationInfiniteIterations) { … }
TEST(AnimationAnimationEffectTest, EndTime) { … }
TEST(AnimationAnimationEffectTest, Events) { … }
TEST(AnimationAnimationEffectTest, TimeToEffectChange) { … }
TEST(AnimationAnimationEffectTest, UpdateTiming) { … }
TEST(AnimationAnimationEffectTest, UpdateTimingThrowsWhenExpected) { … }
TEST(AnimationAnimationEffectTest, UpdateTimingInformsOwnerOnChange) { … }
TEST(AnimationAnimationEffectTest, UpdateTimingNoChange) { … }
}