- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 160 for mocked (1.06 sec)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(tree, times(1)).close(); } // SMB1 path: on error code 0x10B the handle should be marked closed @Test @DisplayName("watch() SMB1 marks handle closed on error 0x10B") void watch_smb1_marksClosed_onError10B() throws Exception { NotifyResponse resp = mock(NotifyResponse.class); when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0x10B);
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/org/codelibs/fess/auth/chain/CommandChain.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
assertFalse(entry.isComplete()); entry.markComplete(); assertTrue(entry.isComplete()); assertFalse(entry.hasChanges()); // Changes are cleared when marked complete } @Test public void testInvalidate() { // Add some children entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * Property {@code jcifs.smb.client.soTimeout} (int, default 35000) * * @return socket timeout, in milliseconds */ int getSoTimeout(); /** * * Property {@code jcifs.smb.client.connTimeout} (int, default 35000) * * @return timeout for establishing a socket connection, in milliseconds */ int getConnTimeout(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
@DisplayName("Should define getSID method returning SID") void shouldDefineMethods() { ACE ace = mock(ACE.class); SID mockSid = mock(SID.class); when(ace.getSID()).thenReturn(mockSid); SID result = ace.getSID(); assertSame(mockSid, result); verify(ace).getSID(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/JobLogService.java
}); } /** * Updates the status of expired jobs that haven't finished. * Jobs that have been running longer than the expired job interval * without an end time are marked as failed. */ public void updateStatus() { final long expiry = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - expiredJobInterval; final List<JobLog> list = jobLogBhv.selectList(cb -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
return inputStream.read(b); } /** * Repositions this stream to the position at the time the mark method was last called. * * @throws IOException if this stream has not been marked or if the mark has been invalidated */ @Override public synchronized void reset() throws IOException { inputStream.reset(); } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
} cookie.setSecure(isSecureCookie()); LaResponseUtil.getResponse().addCookie(cookie); } /** * Determines whether the user identification cookie should be marked as secure. * Checks the configured secure setting or examines request headers to detect HTTPS. * * @return true if the cookie should be secure, false otherwise */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
LICENSE
and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal EntityRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Jan 11 04:26:17 UTC 2021 - 11.1K bytes - Viewed (0) -
LICENSE
and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal EntityRegistered: Sat Dec 20 08:54:13 UTC 2025 - Last Modified: Thu Feb 20 19:53:57 UTC 2020 - 11.1K bytes - Viewed (0)