- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 724 for WHEN (4.9 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
void testNextReturnsNull() { // When SmbResource result = emptyIterator.next(); // Then assertNull(result, "next() should return null for empty iterator"); } @Test @DisplayName("next should not throw NoSuchElementException") void testNextDoesNotThrowException() { // When & Then assertDoesNotThrow(() -> { emptyIterator.next();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
void testConstructorWithValidParameters() { // Given long sourceOffset = 1024L; long targetOffset = 2048L; int length = 4096; // When SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); // Then assertNotNull(chunk); } @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
@Test void testInitSecContext_state2_type3Message() throws Exception { // Test the second step (processing Type 2 and creating Type 3 message) when(mockAuth.getDomain()).thenReturn(domain); when(mockAuth.getUsername()).thenReturn(username); when(mockAuth.getPassword()).thenReturn(password); NtlmContext context = new NtlmContext(mockAuth, true); // State 1: Generate Type 1 messageRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/GsaConfigException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * Exception thrown when GSA (Google Search Appliance) configuration errors occur. * This exception extends FessSystemException and is used to handle specific * configuration-related issues when working with GSA integration. * */ public class GsaConfigException extends FessSystemException {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
@DisplayName("RuntimeCIFSException Tests") class RuntimeCIFSExceptionTest extends BaseTest { @Test @DisplayName("Should create RuntimeCIFSException with default constructor") void testDefaultConstructor() { // When RuntimeCIFSException exception = new RuntimeCIFSException(); // Then assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
rpc.retval = 0; return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); LsaPolicyHandle handle = new LsaPolicyHandle(mockDcerpcHandle, "server", 123); // Now, mock the behavior for MsrpcLsarClose to throw IOException doThrow(new IOException("Close network error")).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class)); // Act & AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
@Test @DisplayName("Should encode and decode 16-bit integers") void testInt16Operations() { // Given short value = 0x1234; byte[] buffer = new byte[2]; // When - encode little endian Encdec.enc_uint16le(value, buffer, 0); short decoded = (short) Encdec.dec_uint16le(buffer, 0); // Then assertEquals(value, decoded);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
testAccess = 0x02000000; // SAM_SERVER_CONNECT access right } @Test @DisplayName("Should construct with correct parameters") void constructorShouldInitializeFieldsCorrectly() { // When MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle); // Then assertNotNull(msrpcSamrConnect2, "MsrpcSamrConnect2 should be created successfully");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.HashMap; import javax.security.auth.Subject; import javax.security.auth.callback.Callback; import javax.security.auth.callback.NameCallback; import javax.security.auth.callback.PasswordCallback;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0)