Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,422 for test1 (0.27 sec)

  1. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/OkHttpTest.kt

    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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 247 bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

    /**
     * Superclass for all {@code Multimap} testers.
     *
     * @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.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractMultimapTester<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Optional;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code Comparators}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class ComparatorsTest extends TestCase {
      public void testLexicographical() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Locale;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    @NullUnmarked
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        // Happy path: transport is returned and verified
        @Test
        @DisplayName("getTransport returns mocked transport")
        void getTransport_happy() {
            when(session.getTransport()).thenReturn(transport);
            assertSame(transport, session.getTransport());
            verify(session).getTransport();
        }
    
        // Happy path: connect to logon share completes without exception
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacMacTest.java

    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
        /**
         * Test method for
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            assertEquals(1.0, noneRatio, 0.001);
        }
    
        @Test
        @DisplayName("Test configuration limits")
        public void testConfigurationLimits() {
            assertTrue(compressionService.getMinCompressionSize() > 0);
            assertTrue(compressionService.getMaxCompressionSize() > compressionService.getMinCompressionSize());
        }
    
        @Test
        @DisplayName("Test algorithm names")
        public void testAlgorithmNames() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. docs/works_with_okhttp.md

     * [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls.
     * [OkReplay](https://github.com/airbnb/okreplay): Record and replay OkHttp network interaction in your tests.
     * [okhttp-signpost](https://github.com/pakerfeldt/okhttp-signpost): OAuth signing with signpost and OkHttp.
     * [okhttp-spring-boot](https://github.com/freefair/okhttp-spring-boot): Spring Boot starters for OkHttp
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

      @BeforeEach
      fun setUp() {
        // Default after JDK 14, but we are avoiding tests that assume special setup.
        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    
        platform.assumeJdk9()
      }
    
      @Test
      fun testTlsv13Works() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top