| commit | be5355b74c58f432968f49c276e65132c067c43c | [log] [tgz] |
|---|---|---|
| author | Daniel Dougherty <doughertyda@fuchsia.infra.roller.google.com> | Fri Jan 13 18:29:09 2023 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Fri Jan 13 10:30:28 2023 -0800 |
| tree | 39c957a0b505ded11b5ac48f92b7a5fc4536ecf8 | |
| parent | fb92e242fdcce0b6309f579899b0d091f03e606d [diff] |
[roll] Roll fuchsia [emu] Consolidate TestEngine impls Some of the ffx emu code uses a minimal implementation of the EmulatorEngine trait for testing. Previously, these impls have been generated in the file where they're used, but this leads to a lot of duplicated boilerplate code in those locations that must be adjusted whenever that trait is changed. This CL adds a default implementation for each function in the trait that simply contain "unimplemented" statements which panic if executed directly. The test locations that create TestEngines can now implement only the functions they need to mock out, reducing duplicate code in those areas. This also makes it much easier to add TestEngines to some other parts of the code where they are needed for additional testing use cases. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/789177 Original-Revision: 021ac3d1a4b354b4a2d74a2820ffc4748cb80bae GitOrigin-RevId: 1a14103baf9dfc5e24c85ff1141de9fe982cf3ae Change-Id: I937b60a42773b0759ee967cfb194d224a7ab0359
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.