Change gtest name to allow filtering based on the story name.

It is meant for Pinpoint to run only the relevant tests when running a bisection.
The Pinpoint side of this change can be found here:
https://crrev.com/c/2404161

Bug: webrtc:11084
Change-Id: I466f39816b83e2f83a3a49845c99605f4d5a857b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/183763
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32082}
This commit is contained in:
Jeremy Leconte
2020-09-10 20:46:33 +02:00
committed by Commit Bot
parent aeac9f8859
commit c8850cbf55
6 changed files with 151 additions and 132 deletions

View File

@ -15,7 +15,7 @@
// Runs a test with 10% packet losses and 10% clock drift, to exercise
// both loss concealment and time-stretching code.
TEST(NetEqPerformanceTest, Run) {
TEST(NetEqPerformanceTest, 10_Pl_10_Drift) {
const int kSimulationTimeMs = 10000000;
const int kQuickSimulationTimeMs = 100000;
const int kLossPeriod = 10; // Drop every 10th packet.
@ -33,7 +33,7 @@ TEST(NetEqPerformanceTest, Run) {
// Runs a test with neither packet losses nor clock drift, to put
// emphasis on the "good-weather" code path, which is presumably much
// more lightweight.
TEST(NetEqPerformanceTest, RunClean) {
TEST(NetEqPerformanceTest, 0_Pl_0_Drift) {
const int kSimulationTimeMs = 10000000;
const int kQuickSimulationTimeMs = 100000;
const int kLossPeriod = 0; // No losses.