[components] Remove bad waiting API for tests.

wait_until_component_capability and wait_until_framework_capability
are test APIs that are all too easy to mess up and cause hours of grief.

The reason is that rely on an existing event stream that may receive
multiple event types. Receiving and processing those events may be
blocked on other event streams in the test's main task. If these APIs are also
used on the main task, then deadlock may occur. install_injector
solves this issue by creating a dedicated event stream for injection,
and runs the event stream in a separate task. The events to match on
are specified by an EventMatcher passed into install_injector.

Change-Id: I0445436fec26533611fbb42583a8bb49ab588ace
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/404553
Reviewed-by: Justin Mattson <jmatt@google.com>
Reviewed-by: Shai Barack <shayba@google.com>
Reviewed-by: Bryan Henry <bryanhenry@google.com>
Testability-Review: Fady Samuel <fsamuel@google.com>
Commit-Queue: Fady Samuel <fsamuel@google.com>
10 files changed
tree: b6d4aa20a6f4c26c446b98a98f5317ba2a0f43ea
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.