[roll] Roll fuchsia [settings] Add unit test to verify light controller calls without
restore

In fxr/715324, an EnvironmentBuilder test was added to verify that Set
calls and the OnMicMute event don't panic when they're made after the
light controller times out and is started again. That test was a quick
test we added as the fix needed to go in quickly, so it indirectly tests
the behavior at the service-level and has to wait 6 seconds per test for
the controller to timeout.

This CL moves those tests over to a unit test that creates the
controller and calls methods directly, which no longer depends on the
controller discarding behavior.

The test itself is still pretty verbose and a good example of a test
that would benefit from mocking out objects.

Original-Fixed: 107545
Original-Bug: 103274
Test: setui_service_tests
Multiply: setui_service_tests
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/738902
Original-Revision: 01a731887b7ee0abc461997f260f70d284df4842
GitOrigin-RevId: f0ba2d84b73d595c6075edad092eee67c4084365
Change-Id: I18616bed65e3cfbf497f3c8b216d276e7f427e5f
1 file changed
tree: 1d633c84b34880b42d84d452062c961de73a382f
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.