Index: talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m |
diff --git a/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m b/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m |
index 5c7667241424806962711ed4f3aa78e70a107264..5070b789b899bcec92fa0e9a1854824eabd26367 100644 |
--- a/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m |
+++ b/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m |
@@ -231,6 +231,12 @@ |
} |
- (void)channel:(RTCDataChannel*)channel |
+ didChangeBufferedAmount:(NSUInteger)previousAmount { |
+ NSAssert(channel.bufferedAmount != previousAmount, |
+ @"Invalid bufferedAmount change"); |
+} |
+ |
+- (void)channel:(RTCDataChannel*)channel |
didReceiveMessageWithBuffer:(RTCDataBuffer*)buffer { |
NSAssert([_expectedMessages count] > 0, |
@"Unexpected message received"); |