chromium/third_party/blink/renderer/core/svg/animation/smil_time_container_test.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/svg/animation/smil_time_container.h"

#include "base/time/time.h"
#include "third_party/blink/renderer/core/animation/animation_clock.h"
#include "third_party/blink/renderer/core/animation/document_timeline.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element_traversal.h"
#include "third_party/blink/renderer/core/dom/events/native_event_listener.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/svg/svg_animated_length.h"
#include "third_party/blink/renderer/core/svg/svg_document_extensions.h"
#include "third_party/blink/renderer/core/svg/svg_length.h"
#include "third_party/blink/renderer/core/svg/svg_length_context.h"
#include "third_party/blink/renderer/core/svg/svg_rect_element.h"
#include "third_party/blink/renderer/core/svg/svg_set_element.h"
#include "third_party/blink/renderer/core/svg/svg_svg_element.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"

namespace blink {
namespace {

class SMILTimeContainerTest : public PageTestBase {};

TEST_F(SMILTimeContainerTest, ServiceAnimationsFlushesPendingSynchronizations) {}

TEST_F(SMILTimeContainerTest, ServiceAnimationsResyncOnLag) {}

TEST_F(SMILTimeContainerTest, ServiceAnimationsNoResyncAfterFutureFrame) {}

TEST_F(SMILTimeContainerTest, ServiceAnimationsNoSuspendOnAnimationSync) {}

class ContentLoadedEventListener final : public NativeEventListener {};

class SMILTimeContainerAnimationPolicyOnceTest : public PageTestBase {};

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, NoAction) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, SetElapsedAfterStart) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, SetElapsedBeforeStart) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, PauseAfterStart) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, PauseBeforeStart) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, PauseAndSetElapsedAfterStart) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest,
       PauseAndSetElapsedBeforeStart) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, PauseAndResumeBeforeStart) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, PauseAndResumeAfterSuspended) {}

TEST_F(SMILTimeContainerAnimationPolicyOnceTest, SetElapsedAfterSuspended) {}

}  // namespace
}  // namespace blink