// 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/fragment_directive/text_fragment_finder.h" #include "third_party/blink/renderer/core/testing/sim/sim_request.h" #include "third_party/blink/renderer/core/testing/sim/sim_test.h" _; Mock; namespace blink { class MockTextFragmentFinder : public TextFragmentFinder { … }; class MockTextFragmentFinderClient : public TextFragmentFinder::Client { … }; class TextFragmentFinderTest : public SimTest { … }; // Tests that Find tasks will fail gracefully when DOM mutations invalidate the // Find task properties. TEST_F(TextFragmentFinderTest, DOMMutation) { … } } // namespace blink