Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for failIfExpected (0.08 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            throw e
          } catch (e: Throwable) {
            failed = true
            rethrowIfNotExpected(e)
          } finally {
            resetPlatform()
          }
          if (!failed) {
            failIfExpected()
          }
        }
    
        fun setupPlatform() {
          if (requiredPlatformName != null) {
            assumeTrue(getPlatformSystemProperty() == requiredPlatformName)
          }
    
          if (platform != null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 15.5K bytes
    - Click Count (1)
Back to Top