- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 314 for CASE (0.74 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7 + 7) / 8) * 8, request.size()); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle null data with non-zero length") void testNullDataNonZeroLength() { request.setData(null, 0, 100);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(24 + (24 * lockCount), bytesWritten); assertEquals(lockCount, SMBUtil.readInt2(buffer, 2)); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle null locks array") void testNullLocksArray() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
// source.put("version_no", searchLogEvent.getVersionNo()); source.put("event_type", searchLogEvent.getEventType()); return source; } /** * Converts a map to lower hyphen case. * * @param source The source map. * @return The converted map. */ protected Map<String, Object> toLowerHyphen(final Map<String, Object> source) { return source.entrySet()
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 26.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
assertNull(mockSession.getContext()); // Default mock behavior assertNull(mockSession.unwrap(SmbSession.class)); // Default mock behavior } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTest { @Test @DisplayName("Should handle repeated method calls consistently") void shouldHandleRepeatedMethodCallsConsistently() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
* </p> * * <p> * It handles potential exceptions during file creation and storage, throwing * {@link org.codelibs.fess.crawler.exception.CrawlerSystemException} in case of errors. * </p> * * <p> * The {@link #storeData(ResponseData, ResultData)} method is the main entry point for storing * the content of a crawled resource. The {@link #getData(AccessResultData)} method retrievesRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Then - should still read 4 bytes regardless of reserved field value assertEquals(4, bytesRead); } @Test @DisplayName("Should handle edge case structure sizes") void testEdgeCaseStructureSizes() { // Test minimum invalid size (0) byte[] buffer = new byte[256]; SMBUtil.writeInt2(0, buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
* resolved. However, if a SID is constructed explicitly using a SID * constructor, JCIFS will have no knowledge of the server that created the * SID and therefore cannot possibly resolve it automatically. In this case, * this method will be necessary. * * @param authorityServerName * The FQDN of the server that is an authority for the SID. * @param tc * Context to useRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
if (type3.isMICRequired()) { assertNotNull(type3.getMic()); assertEquals(16, type3.getMic().length); // MIC is 16 bytes } } @Test @DisplayName("Should handle case sensitivity correctly") void testCaseSensitivity() throws Exception { // Given Type2Message type2 = createMockType2Message(); String mixedCaseDomain = "TestDomain";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
void unknownPacketTypeHandled() throws IOException { // According to the SocketInputStream implementation, unknown packet types // are handled in the switch statement's default case which continues the loop byte[] data = new byte[] { 1, 2 }; // Use a type that's not SESSION_MESSAGE or SESSION_KEEP_ALIVE byte[] unknownHeader = new byte[] { (byte) 0x90, 0, 0, 0 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
byte[] copiedFileId = new byte[16]; System.arraycopy(buffer, 8, copiedFileId, 0, 16); assertArrayEquals(newFileId, copiedFileId); } @Test @DisplayName("Test edge case with minimum buffer size") void testMinimumBufferSize() { byte[] buffer = new byte[24]; // Exact size needed int written = request.writeBytesWireFormat(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)