OLD | NEW |
---|---|
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 Loading... | |
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 |
OLD | NEW |