#include "ui/views/interaction/interactive_views_test.h"
#include <functional>
#include <memory>
#include <string>
#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "base/test/mock_callback.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/interaction/element_tracker.h"
#include "ui/base/interaction/expect_call_in_scope.h"
#include "ui/base/interaction/state_observer.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/controls/tabbed_pane/tabbed_pane.h"
#include "ui/views/interaction/polling_view_observer.h"
#include "ui/views/layout/flex_layout_view.h"
#include "ui/views/layout/layout_types.h"
#include "ui/views/test/widget_test.h"
#include "ui/views/view.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/view_utils.h"
namespace views::test {
namespace {
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(…);
constexpr char16_t kButton1Caption[] = …;
constexpr char16_t kButton2Caption[] = …;
constexpr char16_t kTab1Title[] = …;
constexpr char16_t kTab2Title[] = …;
constexpr char16_t kTab3Title[] = …;
constexpr char16_t kTab1Contents[] = …;
constexpr char16_t kTab2Contents[] = …;
constexpr char16_t kTab3Contents[] = …;
constexpr char kViewName[] = …;
constexpr char kViewName2[] = …;
}
class InteractiveViewsTestTest : public InteractiveViewsTest { … };
TEST_F(InteractiveViewsTestTest, WithView) { … }
TEST_F(InteractiveViewsTestTest, CheckView) { … }
TEST_F(InteractiveViewsTestTest, CheckViewFails) { … }
TEST_F(InteractiveViewsTestTest, CheckViewProperty) { … }
TEST_F(InteractiveViewsTestTest, CheckViewPropertyFails) { … }
TEST_F(InteractiveViewsTestTest, WaitForViewProperty_AlreadyTrue) { … }
TEST_F(InteractiveViewsTestTest, WaitForViewProperty_BecomesTrue) { … }
TEST_F(InteractiveViewsTestTest, PollView) { … }
TEST_F(InteractiveViewsTestTest, PollViewProperty) { … }
TEST_F(InteractiveViewsTestTest, WaitForViewPropertyFails) { … }
TEST_F(InteractiveViewsTestTest, WaitForViewPropertyInParallel) { … }
TEST_F(InteractiveViewsTestTest, NameViewAbsoluteValue) { … }
TEST_F(InteractiveViewsTestTest, NameViewAbsoluteDeferred) { … }
TEST_F(InteractiveViewsTestTest, NameViewAbsoluteCallback) { … }
TEST_F(InteractiveViewsTestTest, NameChildViewByIndex) { … }
TEST_F(InteractiveViewsTestTest, NameChildViewByFilter) { … }
TEST_F(InteractiveViewsTestTest, NameDescendantView) { … }
TEST_F(InteractiveViewsTestTest, NameViewRelative) { … }
TEST_F(InteractiveViewsTestTest, NameChildViewFails) { … }
TEST_F(InteractiveViewsTestTest, NameChildViewByTypeAndIndex) { … }
TEST_F(InteractiveViewsTestTest, NameDescendantViewByTypeAndIndex) { … }
TEST_F(InteractiveViewsTestTest, IfViewTrue) { … }
TEST_F(InteractiveViewsTestTest, IfViewFalse) { … }
TEST_F(InteractiveViewsTestTest, IfViewMatchesTrue) { … }
TEST_F(InteractiveViewsTestTest, IfViewMatchesFalse) { … }
TEST_F(InteractiveViewsTestTest, IfViewPropertyMatchesTrue) { … }
TEST_F(InteractiveViewsTestTest, IfViewPropertyMatchesFalse) { … }
TEST_F(InteractiveViewsTestTest, InParallelNamedView) { … }
TEST_F(InteractiveViewsTestTest, BindingMethods) { … }
TEST_F(InteractiveViewsTestTest, ScrollIntoView) { … }
}
class InteractiveViewsTestCompileTest
: public views::test::InteractiveViewsTestTest { … };