// 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 "ui/accessibility/platform/ax_platform.h" #include "base/scoped_observation.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/accessibility/ax_mode.h" #include "ui/accessibility/ax_mode_observer.h" #include "ui/accessibility/platform/ax_platform_node.h" namespace ui { _; namespace { class MockAXModeObserver : public AXModeObserver { … }; } // namespace // The test harness creates an instance. Make sure the getter works. TEST(AXPlatformTest, GetInstance) { … } // Tests that observers are notified when mode flags are added. TEST(AXPlatformTest, Observer) { … } } // namespace ui