Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 3,143 for test (0.03 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link StandardMutableValueGraph} and related functionality. */
    // TODO(user): Expand coverage and move to proper test suite.
    @RunWith(JUnit4.class)
    public final class ValueGraphTest {
      private static final String DEFAULT = "default";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(0, response.getNum());
        }
    
        @Test
        public void test_indexElevateWord() throws Exception {
            ElevateWord elevateWord =
                    new ElevateWord("Test", 2.0f, Collections.singletonList("Test"), Collections.singletonList("content"), null, null);
            suggester.indexer().addElevateWord(elevateWord, true);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        assertThat(client.pingIntervalMillis).isEqualTo(0)
        assertThat(client.webSocketCloseTimeout).isEqualTo(60_000)
      }
    
      @Test fun webSocketDefaults() {
        val client = clientTestRule.newClient()
        assertThat(client.minWebSocketMessageToCompress).isEqualTo(1024)
      }
    
      @Test fun timeoutValidRange() {
        val builder = OkHttpClient.Builder()
        try {
          builder.callTimeout(Duration.ofNanos(1))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertMediaType("text/plain; \t \n \r a=b")
        assertMediaType("text/plain;")
        assertMediaType("text/plain; ")
        assertMediaType("text/plain; a=1;")
        assertMediaType("text/plain; a=1; ")
        assertMediaType("text/plain; a=1;; b=2")
        assertMediaType("text/plain;;")
        assertMediaType("text/plain; ;")
      }
    
      @Test fun testInvalidParse() {
        assertInvalid("", "No subtype found for: \"\"")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

    import org.codelibs.core.exception.ClIndexOutOfBoundsException;
    import org.codelibs.core.io.SerializeUtil;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class SLinkedListTest {
    
        private final SLinkedList<String> list = new SLinkedList<String>();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFirstEntry() throws Exception {
            assertThat(list.getFirstEntry(), is(nullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/ContextConfigTest.java

            Credentials setCreds = testCtx.getCredentials();
            assertThat(setCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class)));
            NtlmPasswordAuthenticator setCredsNtlm = setCreds.unwrap(NtlmPasswordAuthenticator.class);
            assertEquals("TEST", setCredsNtlm.getUserDomain());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

    import okhttp3.Request
    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Tests for SNI overriding on Android.
     */
    @Tag("Remote")
    class SniOverrideTest {
      var client =
        OkHttpClient.Builder()
          .build()
    
      @Test
      fun getWithCustomSocketFactory() {
        assumeTrue(Build.VERSION.SDK_INT >= 24)
    
        class CustomSSLSocketFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top