Open Bug 1508977 Opened 6 years ago Updated 2 years ago

[Meta]Make GeckoView easier to mock

Categories

(GeckoView :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: fluffyemily, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

A-C wants to run unit tests that run locally (on desktop) GV native code prevents running locally. A-C has to mock most GV APIs to run unit tests locally, some of which is hard to do due to visibility. Possible ways to improve: * Add getters on data objects, instead of just fields? * Make GV constructors public or protected so apps can mock? * Can GV provide our own mock objects or a mocking mode?
Depends on: 1508442
Product: Firefox for Android → GeckoView
Severity: normal → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.