Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 104 for unneeded (0.07 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

        // KerberosCredentials requires mocking the constructor of KerberosCredentials,
        // which is not possible with standard Mockito. A tool like PowerMock would be needed.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtStatus.java

                "The remote system is not reachable by the transport.",
                "The layered file system driver for this I/O tag did not handle it when needed.",
                "No more files were found that match the file specification.", };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        void testWriteSetupWireFormatBufferBoundary() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0xFFFF, 0xFFFFFFFF, true);
            byte[] dst = new byte[8]; // Exact size needed
    
            int bytesWritten = notifyChange.writeSetupWireFormat(dst, 0);
    
            assertEquals(8, bytesWritten);
            assertEquals(0xFFFFFFFF, SMBUtil.readInt4(dst, 0));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            }
        }
    
        @Test
        @DisplayName("Test decode with minimum buffer size")
        void testDecodeWithMinimumBuffer() throws SMBProtocolDecodingException {
            // Create buffer with exact size needed
            byte[] buffer = new byte[8];
            long value = 42L;
            SMBUtil.writeInt8(value, buffer, 0);
    
            // Decode with minimum length
            int bytesRead = fileInfo.decode(buffer, 0, 8);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. CLAUDE.md

    }
    ```
    
    ### Testing Best Practices
    
    - Minimize `Thread.sleep()` - use only when absolutely necessary
    - For timestamp tests: use minimal delays (50-100ms)
    - Clean only test-specific indices (not `_all` unless needed)
    - Use `runner.refresh()` after index operations
    - Test with realistic multilingual content
    
    ### Key Test Classes
    
    - `SuggesterRefactoringTest` - Index lifecycle, alias management
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            }
            return url.toString();
        }
    
        /**
         * Builds a URL from protocol, hostname string, port, and path.
         * Properly handles IPv6 addresses by wrapping them in brackets if needed.
         *
         * @param protocol the protocol (e.g., "http", "https")
         * @param host the hostname or IP address string
         * @param port the port number
         * @param path the path (should start with "/" or be empty)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeTest.java

        private SmbTree smbTree;
    
        @Mock
        private SmbTree mockWrappedTree;
    
        /**
         * Setup method executed before each test.
         */
        @BeforeEach
        void setUp() {
            // Common setup if needed
        }
    
        /**
         * Test for unwrap() method with matching type.
         * Verifies that unwrap returns the correct instance when the type matches.
         */
        @Test
        void testUnwrap_withMatchingType() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle null buffer")
            void testReadBytesWithNullBuffer() {
                // This is expected behavior for echo request - no reading needed
                assertDoesNotThrow(() -> {
                    int result = echoRequest.readBytesWireFormat(null, 0);
                    assertEquals(0, result);
                });
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                        encodingMap.put("/" + encInfos[0] + "/", encInfos[1]);
                    }
                }
            }
        }
    
        /**
         * Processes requests and applies character encoding conversion if needed.
         * Checks if the request path matches any configured encoding rule and
         * performs URL redirection with proper parameter encoding.
         *
         * @param request the servlet request to process
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top