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; \ |