chromium/third_party/blink/renderer/modules/canvas/canvas2d/canvas_path_test.cc

// Copyright 2023 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/modules/canvas/canvas2d/canvas_path.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/testing/null_execution_context.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/graphics/path.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/heap/member.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/gfx/geometry/skia_conversions.h"

// GoogleTest macros trigger a bug in IWYU:
// https://github.com/include-what-you-use/include-what-you-use/issues/1546
// IWYU pragma: no_include <string>

namespace blink {

class CanvasPathTest : public testing::Test {};

class TestCanvasPath : public GarbageCollected<TestCanvasPath>,
                       public CanvasPath {};

TEST_F(CanvasPathTest, Line) {}

TEST_F(CanvasPathTest, LineBoundingRect) {}

TEST_F(CanvasPathTest, LineEquality) {}

TEST_F(CanvasPathTest, LineEquality2) {}

TEST_F(CanvasPathTest, MultipleMoveTos) {}

TEST_F(CanvasPathTest, RectMoveToLineTo) {}

TEST_F(CanvasPathTest, MoveToLineToRect) {}

TEST_F(CanvasPathTest, OnlyLineTo) {}

TEST_F(CanvasPathTest, LineToLineTo) {}

TEST_F(CanvasPathTest, MoveToLineToMoveTo) {}

TEST_F(CanvasPathTest, MoveToMoveToLineTo) {}

TEST_F(CanvasPathTest, MoveToLineClosePath) {}

TEST_F(CanvasPathTest, Arc) {}

TEST_F(CanvasPathTest, ArcThenLine) {}

}  // namespace blink