- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for checkForStartEvent (0.08 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt
for (lock in forbiddenLocks) { assertThat(Thread.holdsLock(lock), lock.toString()).isFalse() } if (enforceOrder) { checkForStartEvent(e) } eventsForMatching.offer(e) eventSequence.offer(e) } private fun checkForStartEvent(e: CallEvent) { if (eventsForMatching.isEmpty()) { assertThat(e).matchesPredicate { it is CallStart || it is Canceled } } else {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 4.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
for (lock in forbiddenLocks) { assertThat(Thread.holdsLock(lock), "Called with lock $lock") .isFalse() } if (enforceOrder) { checkForStartEvent(e) } eventSequence.offer(e) } private fun checkForStartEvent(e: ConnectionEvent) { if (eventSequence.isEmpty()) { assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java) } else {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0)