0
Commit Graph

4 Commits

Author SHA1 Message Date
Andrew Williams
7b429451f2 Improve Mojo testing docs
Specifically:
 - Fixes some issues with how the PendingRemote is constructed in the
   examples
 - Uses TestFuture instead of Run loops in the example code
 - Removes the AsyncWaiter doc section, since this is deprecated
 - Adds a section about InterceptorForTesting
 - Adds a section about FlushForTesting
 - Some other minor refactoring

Bug: 1456835
Change-Id: Iae86b7d128e96eb916c4d4d45cf33baa08af8c72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4730893
Reviewed-by: Oksana Zhuravlova <oksamyt@chromium.org>
Commit-Queue: Andrew Williams <awillia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1177921}
2023-08-01 17:31:20 +00:00
Shuhai Peng
376a0cb188 Fix misspelled function name in mojo_testing.md
Bug: None
Change-Id: I526986e59d4d5080d298620ff1473838f385cb6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3963638
Commit-Queue: Shuhai Peng <shuhai.peng@intel.com>
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1061329}
2022-10-19 23:57:50 +00:00
Martin Bidlingmaier
5b835870ab Adapt mojo docs to async waiter with return value
This adapts the mojo documentation on async waiter to the changes of
this commit:

  2ec454610e
  Add mojo async waiter functions with return type

Change-Id: I4d0f1b12d9567abe64aa0efbe490486723be25a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3892911
Commit-Queue: Oksana Zhuravlova <oksamyt@chromium.org>
Reviewed-by: Oksana Zhuravlova <oksamyt@chromium.org>
Auto-Submit: Martin Bidlingmaier <mbid@google.com>
Cr-Commit-Position: refs/heads/main@{#1046469}
2022-09-13 18:24:36 +00:00
Elly Fong-Jones
99516e2e69 docs: add mojo testing sketch
Change-Id: Ie449ab12891f60d70db097cce4542c0201132dae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2891199
Reviewed-by: Ken Rockot <rockot@google.com>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#882696}
2021-05-13 21:01:41 +00:00