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

Side by Side Diff: talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.h

Issue 1361213002: Adding 20-second timeout to Java and Objective-C tests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 - (void)expectAddStream:(NSString *)label; 47 - (void)expectAddStream:(NSString *)label;
48 - (void)expectRemoveStream:(NSString *)label; 48 - (void)expectRemoveStream:(NSString *)label;
49 - (void)expectICECandidates:(int)count; 49 - (void)expectICECandidates:(int)count;
50 - (void)expectICEConnectionChange:(RTCICEConnectionState)state; 50 - (void)expectICEConnectionChange:(RTCICEConnectionState)state;
51 - (void)expectICEGatheringChange:(RTCICEGatheringState)state; 51 - (void)expectICEGatheringChange:(RTCICEGatheringState)state;
52 - (void)expectDataChannel:(NSString*)label; 52 - (void)expectDataChannel:(NSString*)label;
53 - (void)expectStateChange:(RTCDataChannelState)state; 53 - (void)expectStateChange:(RTCDataChannelState)state;
54 - (void)expectMessage:(NSData*)message isBinary:(BOOL)isBinary; 54 - (void)expectMessage:(NSData*)message isBinary:(BOOL)isBinary;
55 55
56 // Wait until all registered expectations above have been observed. 56 // Wait until all registered expectations above have been observed.
57 - (void)waitForAllExpectationsToBeSatisfied; 57 // Return false if expectations aren't met within |timeoutSeconds|.
58 - (BOOL)waitForAllExpectationsToBeSatisfiedWithTimeout:(int)timeoutSeconds;
tkchin_webrtc 2015/09/25 15:40:32 Don't use int type in ObjC unless you're interop-i
Taylor Brandstetter 2015/09/25 18:01:57 Done.
58 59
59 @end 60 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698