- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 191 for Ints (0.02 sec)
-
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
// Then // Note: getType() method does not exist in Type1Message assertEquals(original.getFlags(), parsed.getFlags()); } @ParameterizedTest @ValueSource(ints = { NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, NtlmFlags.NTLMSSP_NEGOTIATE_OEM, NtlmFlags.NTLMSSP_NEGOTIATE_NTLM, NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED, NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand()); assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, response.getSubCommand()); } @ParameterizedTest @ValueSource(ints = { FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO, FileSystemInformation.FS_FULL_SIZE_INFO }) void testConstructorWithDifferentInformationLevels(int informationLevel) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
// Verify assertEquals(expectedFileName, fileName); verify(mockFileNotifyInfo, times(1)).getFileName(); } @ParameterizedTest @ValueSource(ints = { 0x00000001, 0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000006, 0x00000007, 0x00000008, 0x00000009 }) @DisplayName("Test getAction with various action values")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesRead); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 }) @DisplayName("Should write consistent structure at different offsets") void testWriteBytesAtDifferentOffsets(int offset) { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(securityInfo, SMBUtil.readInt4(dst, dstIndex + 4)); } @ParameterizedTest @DisplayName("Test writeParametersWireFormat with various FID values") @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD }) void testWriteParametersWireFormatWithVariousFids(int fid) { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, OWNER_SECURITY_INFORMATION);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertNotNull(response.getDfsResponse()); assertEquals(3, response.getDfsResponse().getNumReferrals()); } @ParameterizedTest @ValueSource(ints = { 1, 2, 5, 10 }) @DisplayName("Should handle varying number of referrals") void testReadDataWireFormatVaryingReferrals(int numReferrals) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
assertEquals(0, info.getAction()); assertNull(info.getFileName()); } @DisplayName("Test readParametersWireFormat with various file actions") @ParameterizedTest @ValueSource(ints = { FileNotifyInformation.FILE_ACTION_ADDED, FileNotifyInformation.FILE_ACTION_REMOVED, FileNotifyInformation.FILE_ACTION_MODIFIED, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
void testDialectAny() { assertEquals(0x02FF, Smb2Constants.SMB2_DIALECT_ANY, "SMB dialect ANY must be 0x02FF"); } @ParameterizedTest @ValueSource(ints = { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }) @DisplayName("All specific dialects should be greater than or equal to SMB 2.0.2") void testDialectVersionProgression(int dialect) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
assertEquals(negativeLength, SMBUtil.readInt4(buffer, startIndex + 16)); } @ParameterizedTest @DisplayName("Should encode at various buffer positions") @ValueSource(ints = { 0, 1, 10, 50, 70 }) void testEncodeAtDifferentPositions(int position) { // Given byte[] largeBuffer = new byte[200]; long sourceOffset = 12345L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
assertEquals("Expected structureSize = 4", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 8, 16, 100, 255, 1024, 4096, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0)