The behavior of division-by-zero is undefined, so the DivisionByZeroFails test isn't correct. As we don't need any specific behavior on division-by-zero we leave the current code untouched. Additionally, since the DivisionFailsOnLargeSize EXPECT_DEATH checks rely on DCHECKs, we only run those when DCHECKs are enabled. Bug: webrtc:9443 Change-Id: I0fdd7be55a7bc76b4203b2f6d5cd0ed8ac5cc688 Reviewed-on: https://webrtc-review.googlesource.com/85362 Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23767} |
||
|---|---|---|
| .. | ||
| BUILD.gn | ||
| data_rate_unittest.cc | ||
| data_rate.cc | ||
| data_rate.h | ||
| data_size_unittest.cc | ||
| data_size.cc | ||
| data_size.h | ||
| time_delta_unittest.cc | ||
| time_delta.cc | ||
| time_delta.h | ||
| timestamp_unittest.cc | ||
| timestamp.cc | ||
| timestamp.h | ||