Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 1,355 for TestIs (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Unit tests for NtTransNotifyChangeResponse class
     */
    class NtTransNotifyChangeResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NtTransNotifyChangeResponse response;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb2Constants
     * Tests all SMB2 protocol constants and their expected values
     */
    @DisplayName("Smb2Constants Test Suite")
    class Smb2ConstantsTest {
    
        @Test
        @DisplayName("Should have private constructor to prevent instantiation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

    /*
     * Tests for Smb2CreateResponse decoding and behavior.
     */
    package jcifs.internal.smb2.create;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.SmbResource;
    
    /**
     * Tests for {@link DirFileEntryAdapterIterator}.
     *
     * This test class verifies the basic functionality of DirFileEntryAdapterIterator.
     * Due to the iterator's constructor calling advance() immediately, which requires
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import jcifs.NameServiceClient;
    import jcifs.RuntimeCIFSException;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmHttpURLConnection class.
     * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            remoteRepositories.add(remoteRepository());
    
            return remoteRepositories;
        }
    
        // ----------------------------------------------------------------------
        // Test artifact generation for unit tests
        // ----------------------------------------------------------------------
    
        protected Artifact createLocalArtifact(String artifactId, String version) throws Exception {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

                        entry.invalidate();
                    }
                    invalidateChildren(child);  // Recursive
                }
            }
        }
    }
    ```
    
    ## 8. Testing Strategy
    
    ### 8.1 Unit Tests
    ```java
    @Test
    public void testDirectoryCacheEntry() {
        DirectoryCacheEntry entry = new DirectoryCacheEntry(
            "/test/dir", new Smb2LeaseKey(), DirectoryCacheScope.IMMEDIATE_CHILDREN);
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. docs/smb3-features/05-rdma-smb-direct-design.md

    }
    
    private boolean isRdmaAvailable() {
        return new DisniRdmaProvider().isAvailable() || 
               new JxioRdmaProvider().isAvailable();
    }
    ```
    
    ## 7. Testing Strategy
    
    ### 7.1 Unit Tests
    ```java
    @Test
    public void testRdmaProviderSelection() {
        RdmaProvider provider = RdmaProviderFactory.createProvider("auto");
        assertNotNull(provider);
        assertTrue(provider.isAvailable());
    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code EnumHashBiMap}.
     *
     * @author Mike Bostock
     */
    @J2ktIncompatible // EnumHashBiMap
    @GwtCompatible
    @NullUnmarked
    public class EnumHashBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import java.util.Arrays;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4.
     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class Crc32cHashFunctionTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top