#include "ui/views/controls/link_fragment.h"
#include <array>
#include <memory>
#include "base/memory/raw_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/test/event_generator.h"
#include "ui/views/controls/base_control_test_widget.h"
#include "ui/views/controls/focus_ring.h"
#include "ui/views/test/view_metadata_test_utils.h"
#include "ui/views/widget/widget.h"
namespace views {
namespace {
constexpr char16_t kLinkLabel[] = …;
class LinkFragmentTest : public test::BaseControlTestWidget { … };
}
TEST_F(LinkFragmentTest, Metadata) { … }
TEST_F(LinkFragmentTest, TestUnderlineOnHover) { … }
TEST_F(LinkFragmentTest, TestUnderlineAndFocusRingOnFocus) { … }
}