- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 193 for unkown (0.1 sec)
-
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testGetMessageByDcerpcError_unknownCode() { int unknownCode = 0x99999999; String message = DcerpcException.getMessageByDcerpcError(unknownCode); assertEquals("0x99999999", message, "Should return hex string for unknown error code."); } /** * Test getMessageByDcerpcError() with an error code smaller than any known. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java
String expected = "ERR_NAM_SRVC/Unknown error code: 99"; assertEquals(expected, NbtException.getErrorString(NbtException.ERR_NAM_SRVC, unknown)); } @ParameterizedTest(name = "session error {1} -\\u003e {2}") @CsvSource({ "-1,Connection refused", "0x80,Not listening on called name", "0x81,Not listening for calling name",
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
@DisplayName("Unknown codes: lookup returns empty Optional") void lookup_returns_empty_for_unknown_codes(int unknownCode) { // Invalid inputs: codes not present should yield no message // Guard to ensure test remains valid if constants change in future for (int c : WinError.WINERR_CODES) { assertNotEquals(unknownCode, c, "Chosen unknown code unexpectedly clashes with a known code");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
case FileSystemInformation.FS_FULL_SIZE_INFO -> new FileFsFullSizeInformation(); case FileSystemInformation.FS_SIZE_INFO -> new FileFsSizeInformation(); default -> throw new SMBProtocolDecodingException("Unknown filesystem info class " + infoClass); }; } /** * @param infoClass * @return * @throws SMBProtocolDecodingException */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals("0x0004", getResultMessageMethod.invoke(null, 4), "Should return hex format for unknown code 4"); assertEquals("0x00FF", getResultMessageMethod.invoke(null, 255), "Should return hex format for unknown code 255"); assertEquals("0x1000", getResultMessageMethod.invoke(null, 4096), "Should return hex format for large unknown code"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
} @Test @DisplayName("Unknown DOS error code yields empty Optional") void testUnknownCode() { Optional<Integer> noMatch = findNtStatus(0xdeadbeef); assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent"); } @Test @DisplayName("Mocked consumer receives correct NTSTATUS value")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
} @ParameterizedTest @DisplayName("Should handle various default values") @ValueSource(strings = { "text/unknown", "application/x-unknown", "custom/type", "" }) void testVariousDefaultValues(String defaultValue) throws IOException { assertEquals(defaultValue, mimeMap.getMimeType("notinmap", defaultValue)); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
this.compressionAlgorithms[i] = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; // Validate known algorithms if (!isValidCompressionAlgorithm(this.compressionAlgorithms[i])) { log.warn("Unknown compression algorithm: 0x{}", Integer.toHexString(this.compressionAlgorithms[i])); } } return bufferIndex - start; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
/** SID name type: invalid. */ public static final int SID_NAME_INVALID = 7; /** SID name type: unknown. */ /** SID name type: unknown. */ public static final int SID_NAME_UNKNOWN = 8; /** * LSA translated SID. */ public static class LsarTranslatedSid extends NdrObject { /** * Default constructor for LsarTranslatedSid. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java
*/ @DisplayName("SmbAuthException Tests") class SmbAuthExceptionTest { /** * Provides a set of error codes covering normal, edge and unknown cases. */ static Stream<Arguments> errorCodes() { return Stream.of( // Known NT status code - NT_STATUS_UNSUCCESSFUL Arguments.of(0xC0000001, "A device attached to the system is not functioning."),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0)