Classes | |
| struct | Pixel |
| class | PortableUITest |
| class | Screenshot |
Functions | |
| bool | CheckViewExistsInSnapshot (const fuchsia::ui::observation::geometry::ViewTreeSnapshot &snapshot, zx_koid_t view_ref_koid) |
| bool | CheckViewExistsInUpdates (const std::vector< fuchsia::ui::observation::geometry::ViewTreeSnapshot > &updates, zx_koid_t view_ref_koid) |
| std::ostream & | operator<< (std::ostream &stream, const Pixel &pixel) |
| bool fuchsia_test_utils::CheckViewExistsInSnapshot | ( | const fuchsia::ui::observation::geometry::ViewTreeSnapshot & | snapshot, |
| zx_koid_t | view_ref_koid | ||
| ) |
Returns true if a view with the given |view_ref_koid| exists in a |snapshot| of the view tree, false otherwise.
Definition at line 11 of file check_view.cc.
References CheckViewExistsInSnapshot(), and view.
Referenced by CheckViewExistsInSnapshot(), and fuchsia_test_utils::PortableUITest::HasViewConnected().
| bool fuchsia_test_utils::CheckViewExistsInUpdates | ( | const std::vector< fuchsia::ui::observation::geometry::ViewTreeSnapshot > & | updates, |
| zx_koid_t | view_ref_koid | ||
| ) |
Returns true if any of the snapshots of the view tree in |updates| contain a view with the given |view_ref_koid|, false otherwise.
Definition at line 27 of file check_view.cc.
References CheckViewExistsInUpdates().
Referenced by CheckViewExistsInUpdates().
| std::ostream & fuchsia_test_utils::operator<< | ( | std::ostream & | stream, |
| const Pixel & | pixel | ||
| ) |
Definition at line 46 of file screenshot.cc.
References fuchsia_test_utils::Pixel::alpha, fuchsia_test_utils::Pixel::blue, fuchsia_test_utils::Pixel::green, and fuchsia_test_utils::Pixel::red.