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

Unified Diff: webrtc/base/bitbuffer_unittest.cc

Issue 1217473011: AppRTCDemo file logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Rebase Created 5 years, 5 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/base/bitbuffer_unittest.cc
diff --git a/webrtc/base/bitbuffer_unittest.cc b/webrtc/base/bitbuffer_unittest.cc
index 89d3524677dc4f6abea1d9e48dba6df60b791ec4..c47f92c59d332c738b4da903fd651d3bad2311ed 100644
--- a/webrtc/base/bitbuffer_unittest.cc
+++ b/webrtc/base/bitbuffer_unittest.cc
@@ -166,10 +166,12 @@ TEST(BitBufferTest, SetOffsetValues) {
// Disable death test on Android because it relies on fork() and doesn't play
// nicely.
+#if defined(GTEST_HAS_DEATH_TEST)
#if !defined(WEBRTC_ANDROID)
// Passing a NULL out parameter is death.
EXPECT_DEATH(buffer.GetCurrentOffset(&byte_offset, NULL), "");
#endif
+#endif
}
uint64 GolombEncoded(uint32 val) {

Powered by Google App Engine
This is Rietveld 408576698