Evan Shrubsole 1d2f30b8b9 Add utility WaitUntil for testing for an eventual condition
This replaces the WaitUntilCondition function that was used in the
peer_connection_encodings_integrationtest previously. Along with that it
adds tests and improved error message printing.

As a drive-by, matchers were added for RTCError as these are the return
type of this utility function.

Bug: webrtc:381524905
Change-Id: If7ff18692396d3996b5b289f2d2c92520226003e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/369980
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43494}
2024-12-04 13:51:30 +00:00
..
2024-04-30 08:47:29 +00:00
2024-04-30 11:15:05 +00:00
2024-04-30 11:15:05 +00:00
2023-12-13 16:10:11 +00:00
2024-08-01 16:17:09 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00