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

@ -59,7 +59,7 @@ int64_t RunComplexityTest(const AudioEncoderOpusConfig& config) {
// mobiles, the regular complexity is 5, and we expect the resulting ratio to
// be higher, since we have explicitly asked for a higher complexity setting at
// the lower rate.
TEST(AudioEncoderOpusComplexityAdaptationTest, AdaptationOn) {
TEST(AudioEncoderOpusComplexityAdaptationTest, Adaptation_On) {
// Create config.
AudioEncoderOpusConfig config;
// The limit -- including the hysteresis window -- at which the complexity
@ -79,7 +79,7 @@ TEST(AudioEncoderOpusComplexityAdaptationTest, AdaptationOn) {
// This test is identical to the one above, but without the complexity
// adaptation enabled (neither on desktop, nor on mobile). The expectation is
// that the resulting ratio is less than 100% at all times.
TEST(AudioEncoderOpusComplexityAdaptationTest, AdaptationOff) {
TEST(AudioEncoderOpusComplexityAdaptationTest, Adaptation_Off) {
// Create config.
AudioEncoderOpusConfig config;
// The limit -- including the hysteresis window -- at which the complexity