- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 346 for display_name (0.05 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
} @Nested @DisplayName("Getter Tests") class GetterTests { @Test @DisplayName("Should get count value") void testGetCount() { // Initial value should be 0 assertEquals(0, response.getCount()); } @Test @DisplayName("Should get remaining value") void testGetRemaining() { // Initial value should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
} @Test @DisplayName("Constructor accepts valid config") void constructorValid() { assertDoesNotThrow(() -> new SmbComSetInformationResponse(mockConfig)); } @Nested @DisplayName("writeParameterWordsWireFormat tests") class WriteParameterWords { @Test @DisplayName("Returns 0 with null array") void nullArray() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} @Test @DisplayName("Should handle unspecified file ID") void testUnspecifiedFileId() { assertDoesNotThrow(() -> request.setFileId(Smb2Constants.UNSPECIFIED_FILEID)); } } @Nested @DisplayName("Data Setting Tests") class DataSettingTests { @Test @DisplayName("Should set data with offset and length")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
lenient().when(handle.getMaxRecv()).thenReturn(4280); return handle; } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should throw DcerpcException for invalid URL format") void testConstructor_InvalidUrl() { String invalidUrl = "invalid:server";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
* Tests construction, encoding, decoding, and edge cases */ @ExtendWith(MockitoExtension.class) @DisplayName("NdrShort Test Suite") class NdrShortTest { @Mock private NdrBuffer mockBuffer; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @ParameterizedTest @DisplayName("Should mask input values with 0xFF correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
/** * Test class for StringUtil utility methods */ class StringUtilTest { @Test @DisplayName("Should join single element without delimiter") void testJoinSingleElement() { String result = StringUtil.join(",", "hello"); assertEquals("hello", result); } @Test @DisplayName("Should join two elements with delimiter") void testJoinTwoElements() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
} @Test @DisplayName("Test setFlags method") void testSetFlags() { setupMockConfig(); Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); request.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); assertNotNull(request); } @Test @DisplayName("Test setMaxInputResponse method")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} @Test @DisplayName("Should accept null locks array") void testConstructorWithNullLocks() { assertDoesNotThrow(() -> new Smb2LockRequest(mockConfig, testFileId, null)); } } @Nested @DisplayName("FileId Tests") class FileIdTests { @Test @DisplayName("Should set file ID correctly") void testSetFileId() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertTrue(response.isValidTid()); } @Test @DisplayName("Should return null for getService") void testGetService() { // When String service = response.getService(); // Then assertNull(service); } @Test @DisplayName("Should prepare next request correctly when received") void testPrepareWhenReceived() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
import java.nio.charset.StandardCharsets; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Test class for FileRenameInformation2 */ @DisplayName("FileRenameInformation2 Tests") class FileRenameInformation2Test { private FileRenameInformation2 fileRenameInfo;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)