- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 724 for WHEN (2.95 sec)
-
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
@Test @DisplayName("checkRelease(): when connected and usage>0 performs check without throwing") void checkRelease_connectedAndInUse_doesNotThrow() { // Arrange: spy isConnected() to return true; increment usage via acquire() CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); doReturn(true).when(trace).isConnected();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
@DisplayName("Should verify signature when digest is present and successful") void testVerifySignatureSuccess() throws Exception { byte[] buffer = new byte[1024]; echoResponse.setDigest(mockDigest); setStatus(echoResponse, NtStatus.NT_STATUS_SUCCESS); when(mockConfig.isRequireSecureNegotiate()).thenReturn(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
} @Test @DisplayName("writeBytesWireFormat with null path returns minimal bytes") void testWriteWhenPathIsNull() { // When path is null, Strings.getOEMBytes returns empty array, not NPE when(mockConfig.getOemEncoding()).thenReturn("windows-1252"); SmbComQueryInformation nullPathCmd = new SmbComQueryInformation(mockConfig, null); byte[] buffer = new byte[50];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class); Mockito.when(mock.getAttributes()).thenReturn(7); Mockito.when(mock.getCreateTime()).thenReturn(11L); Mockito.when(mock.getLastWriteTime()).thenReturn(13L); Mockito.when(mock.getLastAccessTime()).thenReturn(17L); Mockito.when(mock.getSize()).thenReturn(19L); // Act: invoke each method once
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java
*/ @Size(max = 20) public String name; /** * The expiration time for the crawling session. * This field indicates when the crawling session should expire or be cleaned up. */ public String expiredTime; /** * The timestamp when this crawling session was created. * Stored as a long value representing milliseconds since epoch. */ @ValidateTypeFailureRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; class NdrSmallTest { @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// We need to create a proper ASN1TaggedObject with APPLICATION tag class // Create a custom base object that throws IOException ASN1Encodable badBase = new ASN1Encodable() { @Override public ASN1Primitive toASN1Primitive() { // Return a primitive that will throw IOException when getEncoded is calledRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertEquals(lastWriteTime / 1000, readTime / 1000); } @Test void testReadParameterWordsWireFormatWithZeroWordCount() { // Test reading when wordCount is 0 response = new SmbComQueryInformationResponse(mockConfig, 0L); // Set wordCount to 0 setFieldValue(response, "wordCount", 0); byte[] buffer = new byte[256];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRenderData.java
/** The actual search query executed against the search engine. */ protected String searchQuery; /** Time taken to execute the search query in milliseconds. */ protected long queryTime; /** Timestamp when the search request was made. */ protected long requestedTime; /** Unique identifier for this search query session. */ protected String queryId; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.junit.jupiter.api.Test; import jcifs.Configuration; class AvSingleHostTest { /** * Test constructor AvSingleHost(byte[] raw). * Should correctly parse the raw bytes. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0)