|
| | DepthExpector (std::vector< uint32_t > expectations) |
| |
| void | save () override |
| |
| void | save (uint32_t total_content_depth) override |
| |
| void | saveLayer (const DlRect &bounds, SaveLayerOptions options, const DlImageFilter *backdrop, std::optional< int64_t > backdrop_id) override |
| |
| void | saveLayer (const DlRect &bounds, const SaveLayerOptions &options, uint32_t total_content_depth, DlBlendMode max_content_mode, const DlImageFilter *backdrop, std::optional< int64_t > backdrop_id) override |
| |
| bool | all_depths_checked () const |
| |
| virtual void | saveLayer (const DlRect *bounds, const SaveLayerOptions options, const DlImageFilter *backdrop=nullptr, std::optional< int64_t > backdrop_id=std::nullopt) final |
| |
Definition at line 4103 of file display_list_unittests.cc.
◆ DepthExpector()
| flutter::testing::DepthExpector::DepthExpector |
( |
std::vector< uint32_t > |
expectations | ) |
|
|
inlineexplicit |
◆ all_depths_checked()
| bool flutter::testing::DepthExpector::all_depths_checked |
( |
| ) |
const |
|
inline |
◆ save() [1/2]
| void flutter::testing::DepthExpector::save |
( |
| ) |
|
|
inlineoverridevirtual |
◆ save() [2/2]
| void flutter::testing::DepthExpector::save |
( |
uint32_t |
total_content_depth | ) |
|
|
inlineoverridevirtual |
Reimplemented from flutter::DlOpReceiver.
Definition at line 4118 of file display_list_unittests.cc.
4118 {
4119 ASSERT_LT(index_, depth_expectations_.size());
4120 EXPECT_EQ(depth_expectations_[index_], total_content_depth)
4121 << "at index " << index_;
4122 index_++;
4123 }
◆ saveLayer() [1/2]
| void flutter::testing::DepthExpector::saveLayer |
( |
const DlRect & |
bounds, |
|
|
const SaveLayerOptions & |
options, |
|
|
uint32_t |
total_content_depth, |
|
|
DlBlendMode |
max_content_mode, |
|
|
const DlImageFilter * |
backdrop, |
|
|
std::optional< int64_t > |
backdrop_id |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from flutter::DlOpReceiver.
Definition at line 4134 of file display_list_unittests.cc.
4139 {
4140 ASSERT_LT(index_, depth_expectations_.size());
4141 EXPECT_EQ(depth_expectations_[index_], total_content_depth)
4142 << "at index " << index_;
4143 index_++;
4144 }
◆ saveLayer() [2/2]
The documentation for this class was generated from the following file: