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

Unified Diff: webrtc/base/physicalsocketserver_unittest.cc

Issue 1944683002: Read recv timestamps from socket (posix only). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 7 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
« no previous file with comments | « webrtc/base/physicalsocketserver.cc ('k') | webrtc/base/proxyserver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/physicalsocketserver_unittest.cc
diff --git a/webrtc/base/physicalsocketserver_unittest.cc b/webrtc/base/physicalsocketserver_unittest.cc
index b069baaeae8b2f3939b0e50c5b98ca14c4234036..bd1acfb9a4e7eff33fe6be80935d8880895b9958 100644
--- a/webrtc/base/physicalsocketserver_unittest.cc
+++ b/webrtc/base/physicalsocketserver_unittest.cc
@@ -386,6 +386,21 @@ TEST_F(PhysicalSocketTest, TestGetSetOptionsIPv6) {
#if defined(WEBRTC_POSIX)
+#if !defined(WEBRTC_MAC)
+TEST_F(PhysicalSocketTest, TestSocketRecvTimestampIPv4) {
+ SocketTest::TestSocketRecvTimestamp();
+}
+
+#if defined(WEBRTC_LINUX)
+#define MAYBE_TestSocketRecvTimestampIPv6 DISABLED_TestSocketRecvTimestampIPv6
+#else
+#define MAYBE_TestSocketRecvTimestampIPv6 TestSocketRecvTimestampIPv6
+#endif
+TEST_F(PhysicalSocketTest, MAYBE_TestSocketRecvTimestampIPv6) {
+ SocketTest::TestSocketRecvTimestamp();
+}
+#endif
+
class PosixSignalDeliveryTest : public testing::Test {
public:
static void RecordSignal(int signum) {
« no previous file with comments | « webrtc/base/physicalsocketserver.cc ('k') | webrtc/base/proxyserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698