Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 2,194 for Rtest (0.03 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    
    class HostnamesTest {
      @Test
      fun canonicalizeInetAddressNotMapped() {
        val addressA = decodeIpv6("::1")!!
        assertThat(canonicalizeInetAddress(addressA)).isEqualTo(addressA)
    
        val addressB = byteArrayOf(127, 0, 0, 1)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
     * implementation.
     */
    @GwtIncompatible
    public class SortedMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
      public static <K, V> SortedMapTestSuiteBuilder<K, V> using(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#computeIfPresent}. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
      /**
       * This first test doesn't test anything in Uninterruptibles, just demonstrates some normal
       * behavior of futures so that you can contrast the next test with it.
       */
      public void testRegularFutureInterrupted() throws ExecutionException {
        /*
         * Here's the order of events that we want.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. .github/workflows/contributor-pr.yml

            if: always()
            uses: actions/upload-artifact@v7
            with:
              name: binary-compatibility-report
              path: testing/architecture-test/build/reports/binary-compatibility/report.html
    
      unit-test:
        name: "${{ matrix.bucket.name }} (Unit Test)"
        permissions:
          contents: read
        runs-on: ubuntu-latest
        needs: build
        strategy:
          matrix:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 22:06:44 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#putIfAbsent}. Can't be invoked directly; please see
     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /**
     * Tests for round-tripping headers through hpack.
     *
     * TODO: update hpack-test-case with the output of our encoder.
     * This test will hide complementary bugs in the encoder and decoder,
     * We should test that the encoder is producing responses that are
     */
    class HpackRoundTripTest : HpackDecodeTestBase() {
      internal class StoriesTestProvider : SimpleProvider() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import okhttp3.Protocol.Companion.get
    import org.junit.jupiter.api.Assertions.assertThrows
    import org.junit.jupiter.api.Test
    
    class ProtocolTest {
      @Test
      fun testGetKnown() {
        assertThat(get("http/1.0")).isEqualTo(Protocol.HTTP_1_0)
        assertThat(get("http/1.1")).isEqualTo(Protocol.HTTP_1_1)
        assertThat(get("spdy/3.1")).isEqualTo(Protocol.SPDY_3)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.nio.charset.StandardCharsets
    import okio.Buffer
    import org.junit.jupiter.api.Test
    
    class FormBodyTest {
      @Test
      fun urlEncoding() {
        val body =
          FormBody
            .Builder()
            .add("a+=& b", "c+=& d")
            .add("space, the", "final frontier")
            .add("%25", "%25")
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top