#include "ui/views/controls/tabbed_pane/tabbed_pane.h"
#include <memory>
#include <utility>
#include "base/i18n/rtl.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/accessibility/ax_action_data.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/events/keycodes/keyboard_code_conversion.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/test/ax_event_counter.h"
#include "ui/views/test/test_views.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/widget/widget.h"
ASCIIToUTF16;
namespace views::test {
namespace {
std::u16string DefaultTabTitle() { … }
std::u16string GetAccessibleName(View* view) { … }
ax::mojom::Role GetAccessibleRole(View* view) { … }
}
TabbedPaneTest;
TEST_F(TabbedPaneTest, HorizontalOrientationDefault) { … }
TEST_F(TabbedPaneTest, VerticalOrientation) { … }
TEST_F(TabbedPaneTest, TabStripBorderStyle) { … }
TEST_F(TabbedPaneTest, TabStripHighlightStyle) { … }
TEST_F(TabbedPaneTest, ScrollingDisabled) { … }
TEST_F(TabbedPaneTest, ScrollingEnabled) { … }
TEST_F(TabbedPaneTest, SizeAndLayoutInVerticalOrientation) { … }
TEST_F(TabbedPaneTest, AccessibleAttributes) { … }
class TabbedPaneWithWidgetTest : public ViewsTestBase { … };
TEST_F(TabbedPaneWithWidgetTest, SizeAndLayout) { … }
TEST_F(TabbedPaneWithWidgetTest, AddAndSelect) { … }
TEST_F(TabbedPaneWithWidgetTest, ArrowKeyBindings) { … }
TEST_F(TabbedPaneWithWidgetTest, ArrowKeyBindingsWithRTL) { … }
TEST_F(TabbedPaneWithWidgetTest, SelectTabWithAccessibleAction) { … }
TEST_F(TabbedPaneWithWidgetTest, AccessiblePaneTitleTracksActiveTabTitle) { … }
TEST_F(TabbedPaneWithWidgetTest, AccessiblePaneContentsTitleTracksTabTitle) { … }
TEST_F(TabbedPaneWithWidgetTest, AccessiblePaneContentsRoleIsTabPanel) { … }
TEST_F(TabbedPaneWithWidgetTest, AccessibleEvents) { … }
TEST_F(TabbedPaneWithWidgetTest, AccessibleNameTest) { … }
TEST_F(TabbedPaneWithWidgetTest, AccessibleSelected) { … }
}