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

Side by Side Diff: talk/app/webrtc/peerconnectioninterface_unittest.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… 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 unified diff | Download patch
« no previous file with comments | « talk/app/webrtc/peerconnection.cc ('k') | talk/app/webrtc/remotevideocapturer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 static const char kStreamLabel3[] = "local_stream_3"; 51 static const char kStreamLabel3[] = "local_stream_3";
52 static const int kDefaultStunPort = 3478; 52 static const int kDefaultStunPort = 3478;
53 static const char kStunAddressOnly[] = "stun:address"; 53 static const char kStunAddressOnly[] = "stun:address";
54 static const char kStunInvalidPort[] = "stun:address:-1"; 54 static const char kStunInvalidPort[] = "stun:address:-1";
55 static const char kStunAddressPortAndMore1[] = "stun:address:port:more"; 55 static const char kStunAddressPortAndMore1[] = "stun:address:port:more";
56 static const char kStunAddressPortAndMore2[] = "stun:address:port more"; 56 static const char kStunAddressPortAndMore2[] = "stun:address:port more";
57 static const char kTurnIceServerUri[] = "turn:user@turn.example.org"; 57 static const char kTurnIceServerUri[] = "turn:user@turn.example.org";
58 static const char kTurnUsername[] = "user"; 58 static const char kTurnUsername[] = "user";
59 static const char kTurnPassword[] = "password"; 59 static const char kTurnPassword[] = "password";
60 static const char kTurnHostname[] = "turn.example.org"; 60 static const char kTurnHostname[] = "turn.example.org";
61 static const uint32 kTimeout = 10000U; 61 static const uint32_t kTimeout = 10000U;
62 62
63 #define MAYBE_SKIP_TEST(feature) \ 63 #define MAYBE_SKIP_TEST(feature) \
64 if (!(feature())) { \ 64 if (!(feature())) { \
65 LOG(LS_INFO) << "Feature disabled... skipping"; \ 65 LOG(LS_INFO) << "Feature disabled... skipping"; \
66 return; \ 66 return; \
67 } 67 }
68 68
69 using rtc::scoped_ptr; 69 using rtc::scoped_ptr;
70 using rtc::scoped_refptr; 70 using rtc::scoped_refptr;
71 using webrtc::AudioSourceInterface; 71 using webrtc::AudioSourceInterface;
(...skipping 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1227 sdp, NULL); 1227 sdp, NULL);
1228 EXPECT_FALSE(DoSetLocalDescription(local_offer)); 1228 EXPECT_FALSE(DoSetLocalDescription(local_offer));
1229 } 1229 }
1230 1230
1231 // Test that GetStats can still be called after PeerConnection::Close. 1231 // Test that GetStats can still be called after PeerConnection::Close.
1232 TEST_F(PeerConnectionInterfaceTest, CloseAndGetStats) { 1232 TEST_F(PeerConnectionInterfaceTest, CloseAndGetStats) {
1233 InitiateCall(); 1233 InitiateCall();
1234 pc_->Close(); 1234 pc_->Close();
1235 DoGetStats(NULL); 1235 DoGetStats(NULL);
1236 } 1236 }
OLDNEW
« no previous file with comments | « talk/app/webrtc/peerconnection.cc ('k') | talk/app/webrtc/remotevideocapturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698