Flutter Engine
The Flutter Engine
Namespaces | Functions
ax_enum_util_unittest.cc File Reference
#include "ax_enum_util.h"
#include <string>
#include <vector>
#include "gtest/gtest.h"
#include "ax_enums.h"
#include "ax_node_data.h"

Go to the source code of this file.

Namespaces

namespace  ui
 

Functions

template<typename T >
void ui::TestEnumStringConversion (T(ParseFunction)(const char *), int32_t(step)(int32_t)=[](int32_t val) { return val+1;})
 
template<typename T , typename U >
void ui::TestAXNodeDataSetter (void(AXNodeData::*Setter)(T, const U &), const U &value)
 
template<typename T , typename U >
void ui::TestAXNodeDataSetter (void(AXNodeData::*Setter)(T, U), U value)
 
 ui::TEST (AXEnumUtilTest, Event)
 
 ui::TEST (AXEnumUtilTest, Role)
 
 ui::TEST (AXEnumUtilTest, State)
 
 ui::TEST (AXEnumUtilTest, Action)
 
 ui::TEST (AXEnumUtilTest, ActionFlags)
 
 ui::TEST (AXEnumUtilTest, DefaultActionVerb)
 
 ui::TEST (AXEnumUtilTest, Mutation)
 
 ui::TEST (AXEnumUtilTest, StringAttribute)
 
 ui::TEST (AXEnumUtilTest, IntAttribute)
 
 ui::TEST (AXEnumUtilTest, FloatAttribute)
 
 ui::TEST (AXEnumUtilTest, BoolAttribute)
 
 ui::TEST (AXEnumUtilTest, IntListAttribute)
 
 ui::TEST (AXEnumUtilTest, StringListAttribute)
 
 ui::TEST (AXEnumUtilTest, MarkerType)
 
 ui::TEST (AXEnumUtilTest, Text_Decoration_Style)
 
 ui::TEST (AXEnumUtilTest, ListStyle)
 
 ui::TEST (AXEnumUtilTest, MoveDirection)
 
 ui::TEST (AXEnumUtilTest, Command)
 
 ui::TEST (AXEnumUtilTest, TextAlign)
 
 ui::TEST (AXEnumUtilTest, TextBoundary)
 
 ui::TEST (AXEnumUtilTest, TextDirection)
 
 ui::TEST (AXEnumUtilTest, TextPosition)
 
 ui::TEST (AXEnumUtilTest, TextStyle)
 
 ui::TEST (AXEnumUtilTest, AriaCurrentState)
 
 ui::TEST (AXEnumUtilTest, HasPopup)
 
 ui::TEST (AXEnumUtilTest, InvalidState)
 
 ui::TEST (AXEnumUtilTest, Restriction)
 
 ui::TEST (AXEnumUtilTest, CheckedState)
 
 ui::TEST (AXEnumUtilTest, SortDirection)
 
 ui::TEST (AXEnumUtilTest, NameFrom)
 
 ui::TEST (AXEnumUtilTest, DescriptionFrom)
 
 ui::TEST (AXEnumUtilTest, EventFrom)
 
 ui::TEST (AXEnumUtilTest, Gesture)
 
 ui::TEST (AXEnumUtilTest, TextAffinity)
 
 ui::TEST (AXEnumUtilTest, TreeOrder)
 
 ui::TEST (AXEnumUtilTest, ImageAnnotationStatus)
 
 ui::TEST (AXEnumUtilTest, Dropeffect)