New issue
Advanced search Search tips

Issue 709492 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

Improve testability of code that uses OzonePlatform

Project Member Reported by jamescook@chromium.org, Apr 7 2017

Issue description

(Rob, do you still think this is useful?)

From https://codereview.chromium.org/2795503002/ consider these ideas:

* a new Ozone entry OzonePlatform* EnsureInstance(const *char name) that makes a
specific platform pointer and returns it with the promise (noted in the
comments) that it does not alter the default instance or do anything that would
interfere with the existing platform where the string specifies the desired
platform by name.

* a new test platform (or set of options for configuring headless because that
was what it was for) that is appropriate for unit tests like this

See also TestOzonePlatform in platform_display_default_unittest.cc

 
Components: -UI>GFX Internals>GPU
Labels: -Type-Bug Proj-Ozone Type-Feature
I think there some opportunity to make ozone better here. Thanks for filing.


Sign in to add a comment