Lines Matching refs:NSAssert
68 NSAssert([array count] > 0, @"Empty array");
75 NSAssert([array count] > 0, @"Empty expectation array");
168 NSAssert(expectedState == (int)stateChanged, message);
175 NSAssert([expectedLabel isEqual:stream.label], @"Stream not expected");
182 NSAssert([expectedLabel isEqual:stream.label], @"Stream not expected");
205 NSAssert([_expectedICEGatheringChanges count] > 0,
208 NSAssert(expectedState == (int)newState,
217 NSAssert([_expectedICEConnectionChanges count] > 0,
220 NSAssert(expectedState == (int)newState,
228 NSAssert([expectedLabel isEqual:dataChannel.label],
232 NSAssert(kRTCDataChannelStateConnecting == dataChannel.state,
239 NSAssert([_expectedStateChanges count] > 0,
242 NSAssert(expectedState == channel.state, @"Channel state should match");
247 NSAssert(channel.bufferedAmount != previousAmount,
253 NSAssert([_expectedMessages count] > 0,
256 NSAssert(expectedBuffer.isBinary == buffer.isBinary,
258 NSAssert([expectedBuffer.data isEqual:buffer.data],