Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 1,422 for test1 (0.02 sec)

  1. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

    import java.util.Arrays;
    import java.util.List;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code GeneralRange}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class GeneralRangeTest extends TestCase {
      private static final Ordering<@Nullable Integer> ORDERING =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            }
        }
    
        // Utility to build a minimal locator for connect tests
        private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) {
            return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share"));
        }
    
        @Test
        @DisplayName("Constructor with CIFSContext: creates instance")
        void constructor_withContext_createsInstance() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbConstantsTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SmbConstants interface constants
     */
    @DisplayName("SmbConstants Tests")
    class SmbConstantsTest extends BaseTest {
    
        @Test
        @DisplayName("Should define default connection constants")
        void testDefaultConstants() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/MIENameTest.java

        class EqualityContract {
    
            @Test
            void equalsIgnoresCaseForName() {
                ASN1ObjectIdentifier oid = testOid();
                MIEName a = new MIEName(oid, "Alice");
                MIEName b = new MIEName(oid, "alice");
                assertEquals(a, b);
                assertEquals(a.hashCode(), b.hashCode());
            }
    
            @Test
            void equalsHandlesNullNames() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    import com.google.common.collect.testing.SampleElements.Ints;
    import java.util.List;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create integer sets for collection tests.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> {
      @Override
      public SampleElements<Integer> samples() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import javax.net.SocketFactory
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseStream
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.Flaky
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CloserTest.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Closer}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        fakePool.runAll();
    
        // Check that this thread has been marked as interrupted again now that the thread has been
        // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose
        // JUnit or some other test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
      public void testInterrupt_doesNotInterruptSubsequentTask() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            return "ncacn_np:\\\\" + serverAddress.getHostAddress() + "[\\pipe\\witness]";
        }
    
        /**
         * Tests connectivity to the witness service.
         *
         * @throws IOException if connection fails
         */
        private void testConnection() throws IOException {
            // For now, just test basic connectivity to RPC endpoint
            try (java.net.Socket socket = new java.net.Socket()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/body.md

    <img src="/img/tutorial/body/image04.png">
    
    Ce n'est pas un hasard, ce framework entier a été bâti avec ce design comme objectif.
    
    Et cela a été rigoureusement testé durant la phase de design, avant toute implémentation, pour s'assurer que cela fonctionnerait avec tous les éditeurs.
    
    Des changements sur Pydantic ont même été faits pour supporter cela.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top