- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 689 for WHEN (0.02 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
public Integer crawlingThreadCount; /** * Enable or disable search query logging. * When enabled, user search queries are logged for analysis. */ @Size(max = 10) public String searchLog; /** * Enable or disable user information tracking. * When enabled, user information is stored and tracked. */ @Size(max = 10) public String userInfo; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
// Arrange when(mockCtx.getSigningKey()).thenReturn(new byte[] { 7 }); when(mockCtx.isEstablished()).thenReturn(true); when(mockCtx.initSecContext(any(byte[].class), anyInt(), anyInt())).thenReturn(new byte[] { 9 }); when(mockCtx.getNetbiosName()).thenReturn("NB"); when(mockCtx.isSupported(any())).thenReturn(true); when(mockCtx.isPreferredMech(any())).thenReturn(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): throws CIFSException when underlying call fails") void ensureDFSResolved_throws() throws Exception { // Arrange: configure the mock to throw doThrow(new CIFSException("DFS resolution failed")).when(handle).ensureDFSResolved(); // Act + Assert: exception is propagated with message
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
mockConfig = mock(Configuration.class); when(mockConfig.getPid()).thenReturn(12345); } @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // Given int testMid = 42; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
void testConstructorWithNetbiosNames() { when(mockCalledName.getName()).thenReturn("SERVER"); when(mockCalledName.getNameType()).thenReturn(0x20); when(mockCalledName.getScope()).thenReturn(null); when(mockCallingName.getName()).thenReturn("CLIENT"); when(mockCallingName.getNameType()).thenReturn(0x00); when(mockCallingName.getScope()).thenReturn(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
/** * Notify when a directory name changes */ public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2; /** * Notify when file attributes change */ public static final int FILE_NOTIFY_CHANGE_ATTRIBUTES = 0x4; /** * Notify when file size changes */ public static final int FILE_NOTIFY_CHANGE_SIZE = 0x8; /** * Notify when last write time changes */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
when(mockNbtAddress.firstCalledName()).thenReturn("NBT_NAME"); assertEquals("NBT_NAME", uniAddress.firstCalledName()); verify(mockNbtAddress, times(1)).firstCalledName(); } @Test void shouldReturnSmbServerNameWhenInetAddressIsDotQuadIP() throws UnknownHostException { when(mockInetAddress.getHostName()).thenReturn("192.168.1.100");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
void testConstructorWithNullFilename() { // When & Then assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, null)); } @Test @DisplayName("Constructor should handle empty filename") void testConstructorWithEmptyFilename() { // When & Then assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
when(mockChunk1.encode(any(byte[].class), anyInt())).thenReturn(CHUNK_SIZE); when(mockChunk2.encode(any(byte[].class), anyInt())).thenReturn(CHUNK_SIZE); SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, mockChunk1, mockChunk2); byte[] buffer = new byte[200]; // When copy.encode(buffer, 0); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
private void setupParentForUrlCreation() throws CIFSException { // Only set up parent mocks when they're actually needed for URL creation when(parent.getContext()).thenReturn(this.ctx); when(parent.getLocator()).thenReturn(parentLocator); // Make the parent appear as a workgroup to use the simpler URL code-path when(parentLocator.isWorkgroup()).thenReturn(true); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)