Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.contains;
    import static org.hamcrest.Matchers.is;
    
    /**
     * MavenMerger is based on same instances, subclasses should override KeyComputer per type
     *
     *
     */
    class MavenMergerTest {
        private MavenMerger mavenMerger = new MavenMerger();
    
        @Test
        void mergeArtifactId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top