Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for failIfExpected (0.06 sec)

  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) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
Back to top