Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 860 for setMap (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

    @DisplayName("Smb2OplockBreakNotification Tests")
    class Smb2OplockBreakNotificationTest extends BaseTest {
    
        private Configuration mockConfig;
        private Smb2OplockBreakNotification notification;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            notification = new Smb2OplockBreakNotification(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/AllocInfoTest.java

    import jcifs.internal.fscc.FileSystemInformation;
    
    /**
     * Test suite for AllocInfo interface
     */
    class AllocInfoTest {
    
        @Mock
        private AllocInfo mockAllocInfo;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        /**
         * Test implementation class for AllocInfo interface
         */
        static class TestAllocInfo implements AllocInfo {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                // Simple implementation for testing
                return 0;
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.isRequireSecureNegotiate()).thenReturn(false);
            response = new TestServerMessageBlock2Response(mockConfig);
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

    public class SuggestAnalyzerTest {
    
        private SuggestAnalyzer analyzer;
        private TestSuggestAnalyzer testAnalyzer;
    
        @Before
        public void setUp() {
            testAnalyzer = new TestSuggestAnalyzer();
            analyzer = testAnalyzer;
        }
    
        @Test
        public void testAnalyzeWithValidInput() {
            // Test normal analyze with valid input
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

        private static final int CHUNK_SIZE = 24;
    
        @Mock
        private SrvCopychunk mockChunk;
    
        @BeforeEach
        void setUp() {
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with source key and single chunk")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SmbFile;
    
    class Trans2FindFirst2ResponseTest {
    
        private Trans2FindFirst2Response response;
    
        @BeforeEach
        void setUp() {
            response = new Trans2FindFirst2Response();
        }
    
        // Test cases for SmbFindFileBothDirectoryInfo inner class
        @Test
        void testSmbFindFileBothDirectoryInfo_Getters() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/MimeMapTest.java

    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    class MimeMapTest {
    
        private MimeMap mimeMap;
    
        @BeforeEach
        void setUp() throws IOException {
            mimeMap = new MimeMap();
        }
    
        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/ResourceManagerTest.java

    import org.junit.jupiter.api.Timeout;
    
    /**
     * Unit tests for ResourceManager
     */
    public class ResourceManagerTest {
    
        private ResourceManager resourceManager;
    
        @BeforeEach
        void setUp() {
            resourceManager = ResourceManager.getInstance();
            // Configure with shorter intervals for testing
            resourceManager.configure(1000, 100, true, true);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/TransportTest.java

                this.disconnectResult = result;
            }
    
            public int getResponseMapSize() {
                return response_map.size();
            }
        }
    
        @BeforeEach
        void setUp() {
            transport = new TestableTransport();
        }
    
        @Nested
        @DisplayName("Static utility method tests")
        class StaticMethodTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        @Mock
        private SmbTreeHandleInternal handle;
    
        @Test
        @DisplayName("release(): verifies it is invoked exactly once")
        void release_invokedOnce() throws Exception {
            // Arrange: no setup needed; we verify interaction only
    
            // Act: call release
            handle.release();
    
            // Assert: verify one invocation and no more
            verify(handle, times(1)).release();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top