Definition at line 1177 of file renderer_unittests.cc.
◆ CompareFunctionUIData()
impeller::testing::CompareFunctionUIData::CompareFunctionUIData |
( |
| ) |
|
|
inline |
Definition at line 1179 of file renderer_unittests.cc.
1180 labels_.push_back(
"Never");
1182 labels_.push_back(
"Always");
1184 labels_.push_back(
"Less");
1186 labels_.push_back(
"Equal");
1188 labels_.push_back(
"LessEqual");
1190 labels_.push_back(
"Greater");
1192 labels_.push_back(
"NotEqual");
1194 labels_.push_back(
"GreaterEqual");
1196 assert(labels_.size() == functions_.size());
@ kEqual
Comparison test passes if new_value == current_value.
@ kLessEqual
Comparison test passes if new_value <= current_value.
@ kGreaterEqual
Comparison test passes if new_value >= current_value.
@ kAlways
Comparison test passes always passes.
@ kLess
Comparison test passes if new_value < current_value.
@ kGreater
Comparison test passes if new_value > current_value.
@ kNotEqual
Comparison test passes if new_value != current_value.
@ kNever
Comparison test never passes.
References impeller::kAlways, impeller::kEqual, impeller::kGreater, impeller::kGreaterEqual, impeller::kLess, impeller::kLessEqual, impeller::kNever, and impeller::kNotEqual.
◆ FunctionOf()
CompareFunction impeller::testing::CompareFunctionUIData::FunctionOf |
( |
int |
index | ) |
const |
|
inline |
◆ IndexOf()
int impeller::testing::CompareFunctionUIData::IndexOf |
( |
CompareFunction |
func | ) |
const |
|
inline |
◆ labels()
const char* const* impeller::testing::CompareFunctionUIData::labels |
( |
| ) |
const |
|
inline |
◆ size()
int impeller::testing::CompareFunctionUIData::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: