Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for containsExactly (0.13 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.dnsoverhttps
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import java.net.InetAddress
    import java.net.UnknownHostException
    import kotlin.test.assertFailsWith
    import okhttp3.AsyncDns.Companion.TYPE_A
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO)))
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
    
        assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR)))
            .containsExactly(IMPLIES_IMPLIES_FOO_AND_IMPLIES_BAR, IMPLIES_FOO, FOO, IMPLIES_BAR, BAR);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

     * limitations under the License.
     */
    package okhttp3.dnsoverhttps
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNull
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("a", "b", "c").inOrder();
        assertThat(multimap.values()).containsExactly(1, 3, 2, 4).inOrder();
        assertThat(multimap.get("a")).containsExactly(1, 3).inOrder();
        assertThat(multimap.get("b")).containsExactly(2);
        assertThat(multimap.get("c")).containsExactly(4);
      }
    
      public void testEmptyMultimapReads() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isTrue
    import okhttp3.Dns
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

        assertThat(certificatePinner.findMatchingPins("a.example.com")).containsExactly(expectedPin)
        assertThat(certificatePinner.findMatchingPins(".example.com")).containsExactly(expectedPin)
        assertThat(certificatePinner.findMatchingPins("example.example.com"))
          .containsExactly(expectedPin)
      }
    
      @Test fun testGoodPin() {
        val pin =
          Pin(
            "**.example.co.uk",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
        assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testOf4() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          assertThat(headersToList(response)).containsExactly("Content-Length: 0")
        }
      }
    
      @Test
      fun setStatusControlsWholeStatusLine() {
        val response = MockResponse().setStatus("HTTP/1.1 202 That'll do pig")
        assertThat(headersToList(response)).containsExactly("Content-Length: 0")
        assertThat(response.status).isEqualTo("HTTP/1.1 202 That'll do pig")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          assertThat(headersToList(builder)).containsExactly("Content-Length: 0")
        }
      }
    
      @Test
      fun setStatusControlsWholeStatusLine() {
        val builder = MockResponse.Builder().status("HTTP/1.1 202 That'll do pig")
        assertThat(headersToList(builder)).containsExactly("Content-Length: 0")
        assertThat(builder.status).isEqualTo("HTTP/1.1 202 That'll do pig")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .containsExactly(fullpath("base/relative.jar"));
      }
    
      public void testGetClassPathFromManifest_trailingBlanks() throws IOException {
        File jarFile = new File("base/some.jar");
        Manifest manifest = manifestClasspath("relative.jar ");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest))
            .containsExactly(fullpath("base/relative.jar"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top