Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Unified Diff: webrtc/call/call_perf_tests.cc

Issue 2717973005: Test field trial group with startswith rather than equals. (Closed)
Patch Set: const char*, two more IsEnabled Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/call/call_perf_tests.cc
diff --git a/webrtc/call/call_perf_tests.cc b/webrtc/call/call_perf_tests.cc
index 570b19b4ce61ea7945b3c9154bcf4922576fdba1..a510483690e8aadb7e6c646ba365c4b23164f4f1 100644
--- a/webrtc/call/call_perf_tests.cc
+++ b/webrtc/call/call_perf_tests.cc
@@ -290,7 +290,7 @@ void CallPerfTest::TestAudioVideoSync(FecMode fec,
observer.PrintResults();
// In quick test synchronization may not be achieved in time.
- if (field_trial::FindFullName("WebRTC-QuickPerfTest") != "Enabled") {
+ if (field_trial::IsEnabled("WebRTC-QuickPerfTest")) {
danilchap 2017/03/01 12:07:15 should this be negation?
EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.AVSyncOffsetInMs"));
}
}
« no previous file with comments | « no previous file | webrtc/media/engine/internalencoderfactory.cc » ('j') | webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698