#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "cc/paint/skottie_wrapper.h"
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
#include "base/containers/span.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/memory/scoped_refptr.h"
#include "cc/paint/skottie_mru_resource_provider.h"
#include "cc/paint/skottie_resource_metadata.h"
#include "cc/test/lottie_test_data.h"
#include "cc/test/skia_common.h"
#include "cc/test/test_skcanvas.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkSize.h"
#include "ui/gfx/geometry/size.h"
namespace cc {
namespace {
_;
AtLeast;
Contains;
Eq;
FieldsAre;
FloatNear;
IsEmpty;
IsSupersetOf;
Key;
Mock;
Ne;
NotNull;
Optional;
Pair;
SizeIs;
UnorderedElementsAre;
constexpr float kMarkerEpsilon = …;
class MockFrameDataCallback { … };
TEST(SkottieWrapperTest, LoadsValidLottieFileNonSerializable) { … }
TEST(SkottieWrapperTest, LoadsValidLottieFileSerializable) { … }
TEST(SkottieWrapperTest, DetectsInvalidLottieFile) { … }
TEST(SkottieWrapperTest, IdMatchesForSameLottieFile) { … }
TEST(SkottieWrapperTest, IdDoesNotMatchForDifferentLottieFile) { … }
TEST(SkottieWrapperTest, LoadsImageAssetsMetadata) { … }
TEST(SkottieWrapperTest, LoadsCorrectAssetsForDraw) { … }
TEST(SkottieWrapperTest, AllowsNullFrameDataCallbackForDraw) { … }
TEST(SkottieWrapperTest, LoadsCorrectAssetsForSeek) { … }
TEST(SkottieWrapperTest, LoadsColorNodes) { … }
TEST(SkottieWrapperTest, SetsColorNodesWithDraw) { … }
TEST(SkottieWrapperTest, LoadsTextNodes) { … }
TEST(SkottieWrapperTest, SetsTextNodesWithDraw) { … }
TEST(SkottieWrapperTest, Marker) { … }
TEST(SkottieWrapperTest, LoadsTransformNodes) { … }
}
}