#include "third_party/blink/renderer/core/annotation/annotation_agent_container_impl.h"
#include <gtest/gtest.h>
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "components/shared_highlighting/core/common/shared_highlighting_metrics.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "third_party/blink/public/mojom/annotation/annotation.mojom-blink.h"
#include "third_party/blink/renderer/core/annotation/annotation_agent_impl.h"
#include "third_party/blink/renderer/core/annotation/annotation_test_utils.h"
#include "third_party/blink/renderer/core/editing/finder/async_find_buffer.h"
#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/editing/iterators/text_iterator.h"
#include "third_party/blink/renderer/core/editing/selection_template.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
namespace blink {
class AnnotationAgentContainerImplTest : public SimTest { … };
TEST_F(AnnotationAgentContainerImplTest, IsConstructedLazily) { … }
TEST_F(AnnotationAgentContainerImplTest, BindingCreatesContainer) { … }
TEST_F(AnnotationAgentContainerImplTest, NavigationBreaksBinding) { … }
TEST_F(AnnotationAgentContainerImplTest, NavigationReplacesContainer) { … }
TEST_F(AnnotationAgentContainerImplTest, CreateUnboundAgent) { … }
TEST_F(AnnotationAgentContainerImplTest, CreateBoundAgent) { … }
TEST_F(AnnotationAgentContainerImplTest, DeferAttachmentUntilFinishedParsing) { … }
TEST_F(AnnotationAgentContainerImplTest, ManuallyRemoveAgent) { … }
TEST_F(AnnotationAgentContainerImplTest, NavigationRemovesBoundAgents) { … }
TEST_F(AnnotationAgentContainerImplTest,
DetachedDocumentContainerBecomesInaccessible) { … }
TEST_F(AnnotationAgentContainerImplTest,
CreateAgentFromSelectionWithNoSelection) { … }
TEST_F(AnnotationAgentContainerImplTest,
CreateAgentFromSelectionWithCollapsedSelection) { … }
TEST_F(AnnotationAgentContainerImplTest,
CreateAgentFromSelectionWithPreemptiveGeneration) { … }
TEST_F(AnnotationAgentContainerImplTest, CreateAgentFromSelection) { … }
TEST_F(AnnotationAgentContainerImplTest, ShutdownDocumentWhileGenerating) { … }
}