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

Unified Diff: webrtc/base/gunit.h

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Connect to SignalSentPacket when enabling bundle. Created 5 years, 2 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/gunit.h
diff --git a/webrtc/base/gunit.h b/webrtc/base/gunit.h
index c2bc844d5fa229c8a5c67740ce6456d6ae3b8831..0c6d5bcc81922f92acfffb3a345697e4a06735c8 100644
--- a/webrtc/base/gunit.h
+++ b/webrtc/base/gunit.h
@@ -52,6 +52,14 @@
if (!res) EXPECT_EQ(v1, v2); \
} while (0);
+#define EXPECT_GT_WAIT(v1, v2, timeout) \
+ do { \
+ bool res; \
+ WAIT_(v1 > v2, timeout, res); \
+ if (!res) \
+ EXPECT_GT(v1, v2); \
+ } while (0);
+
#define ASSERT_TRUE_WAIT(ex, timeout) \
do { \
bool res; \

Powered by Google App Engine
This is Rietveld 408576698