Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions
ax_platform_node_textprovider_win_unittest.cc File Reference
#include "ax/platform/ax_platform_node_win_unittest.h"
#include <UIAutomationClient.h>
#include <UIAutomationCoreApi.h>
#include <vector>
#include "ax/ax_action_data.h"
#include "ax/platform/ax_fragment_root_win.h"
#include "ax/platform/ax_platform_node_textprovider_win.h"
#include "ax/platform/ax_platform_node_textrangeprovider_win.h"
#include "ax/platform/test_ax_node_wrapper.h"
#include "base/win/scoped_bstr.h"
#include "base/win/scoped_safearray.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/platform/win/wstring_conversion.h"

Go to the source code of this file.

Classes

class  ui::AXPlatformNodeTextProviderTest
 

Namespaces

namespace  ui
 

Macros

#define EXPECT_UIA_INVALIDOPERATION(expr)    EXPECT_EQ(static_cast<HRESULT>(UIA_E_INVALIDOPERATION), (expr))
 
#define EXPECT_INVALIDARG(expr)    EXPECT_EQ(static_cast<HRESULT>(E_INVALIDARG), (expr))
 

Functions

 ui::TEST_F (AXPlatformNodeTextProviderTest, CreateDegenerateRangeFromStart)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, ITextProviderRangeFromChild)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, ITextProviderRangeFromChildMultipleChildren)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, NearestTextIndexToPoint)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, ITextProviderDocumentRange)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, DISABLED_ITextProviderDocumentRangeTrailingIgnored)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, ITextProviderDocumentRangeNested)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, ITextProviderSupportedSelection)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, ITextProviderGetSelection)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, ITextProviderGetActiveComposition)
 
 ui::TEST_F (AXPlatformNodeTextProviderTest, ITextProviderGetConversionTarget)
 

Macro Definition Documentation

◆ EXPECT_INVALIDARG

#define EXPECT_INVALIDARG (   expr)     EXPECT_EQ(static_cast<HRESULT>(E_INVALIDARG), (expr))

◆ EXPECT_UIA_INVALIDOPERATION

#define EXPECT_UIA_INVALIDOPERATION (   expr)     EXPECT_EQ(static_cast<HRESULT>(UIA_E_INVALIDOPERATION), (expr))