Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testVersion (0.05 sec)

  1. okhttp/src/test/java/okhttp3/OkHttpTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.matches
    import org.junit.jupiter.api.Test
    
    class OkHttpTest {
      @Test
      fun testVersion() {
        assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?"))
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 848 bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConscryptTest.kt

          }
        }
      }
    
      @Test
      fun testBuildIfSupported() {
        val actual = ConscryptPlatform.buildIfSupported()
        assertThat(actual).isNotNull()
      }
    
      @Test
      fun testVersion() {
        val version = Conscrypt.version()
    
        assertTrue(ConscryptPlatform.atLeastVersion(1, 4, 9))
        assertTrue(ConscryptPlatform.atLeastVersion(version.major()))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top