Patrik Höglund
73eb784676
Don't crash the test process when X11 isn't available.
...
It's not great to use asserts in util functions like this because it
breaks the arrange-act-assert rule, but using checks is worse because
they will crash the test process on failure (= no other tests get run
after that).
Bug: b/143587130
Change-Id: If4d085311de0792b9fca1584db299fd24199e72e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/162360
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30093}
2019-12-16 09:57:59 +00:00
..
2019-12-09 11:26:20 +00:00
2019-12-03 19:17:24 +00:00
2019-12-05 19:13:03 +00:00
2019-04-09 17:18:20 +00:00
2019-07-08 13:45:15 +00:00
2018-12-22 00:10:40 +00:00
2019-12-13 09:36:25 +00:00
2019-01-11 21:16:22 +00:00
2018-11-28 18:25:07 +00:00
2019-09-17 15:47:29 +00:00
2019-07-08 13:45:15 +00:00
2018-11-28 18:25:07 +00:00
2019-12-13 10:06:07 +00:00
2019-07-08 13:45:15 +00:00
2019-12-03 19:17:24 +00:00
2018-04-10 00:37:59 +00:00
2019-07-08 13:45:15 +00:00
2019-09-17 15:47:29 +00:00
2019-01-11 17:11:39 +00:00
2019-12-13 09:36:25 +00:00
2019-12-13 09:36:25 +00:00
2018-07-25 14:59:26 +00:00
2019-04-09 17:18:20 +00:00
2019-07-08 13:45:15 +00:00
2019-10-23 23:34:46 +00:00
2017-09-15 18:56:26 +00:00
2018-11-28 18:25:07 +00:00
2019-12-13 09:36:25 +00:00
2019-12-13 09:36:25 +00:00
2019-07-08 13:45:15 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-09-17 15:47:29 +00:00
2018-06-19 14:00:39 +00:00
2019-07-08 13:45:15 +00:00
2019-09-17 15:47:29 +00:00
2019-10-15 09:07:44 +00:00
2019-08-21 07:55:07 +00:00
2019-12-09 11:26:20 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-11-07 09:32:24 +00:00
2018-11-28 18:25:07 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2018-12-22 00:10:40 +00:00
2019-12-03 19:17:24 +00:00
2019-12-03 19:17:24 +00:00
2019-12-03 19:17:24 +00:00
2019-12-03 19:17:24 +00:00
2019-07-08 13:45:15 +00:00
2019-12-13 09:36:25 +00:00
2019-12-03 19:17:24 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-08-21 07:55:07 +00:00
2019-04-02 10:13:36 +00:00
2018-06-19 14:00:39 +00:00
2019-04-02 10:13:36 +00:00
2018-09-05 17:42:26 +00:00
2018-11-28 18:25:07 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2018-04-10 00:37:59 +00:00
2019-04-09 17:18:20 +00:00
2018-11-28 18:25:07 +00:00
2019-01-11 17:11:39 +00:00
2019-04-09 17:18:20 +00:00
2019-12-13 09:36:25 +00:00
2019-04-09 17:18:20 +00:00
2019-12-16 09:57:59 +00:00
2018-06-19 14:00:39 +00:00
2019-09-17 15:47:29 +00:00
2017-11-09 11:56:32 +00:00
2019-09-17 15:47:29 +00:00
2019-12-16 09:57:59 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-01-25 20:29:58 +00:00
2018-06-19 14:00:39 +00:00
2019-10-15 09:07:44 +00:00
2019-12-16 09:57:59 +00:00
2018-11-28 18:25:07 +00:00
2019-12-13 09:36:25 +00:00
2019-12-03 19:17:24 +00:00
2019-01-11 17:11:39 +00:00
2019-12-16 09:57:59 +00:00
2019-12-05 19:13:03 +00:00
2019-01-25 20:29:58 +00:00
2019-12-03 19:17:24 +00:00
2019-12-13 09:36:25 +00:00
2019-09-17 15:47:29 +00:00
2017-11-07 01:49:35 +00:00
2019-12-13 09:36:25 +00:00