- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 370 for display_name (0.04 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
import java.util.Arrays; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for CreateContextRequest interface */ @DisplayName("CreateContextRequest Tests") class CreateContextRequestTest { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
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 0Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
void setUp() { // Reset mocks to ensure clean state for each test reset(mockResource, mockLocator, mockContext); } @Nested @DisplayName("Interface Contract Tests") class InterfaceContractTests { @Test @DisplayName("SmbResource should extend AutoCloseable") void testInterfaceInheritance() { // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
} @Test @DisplayName("Constructor should handle null configuration") void testConstructorWithNullConfig() { // Given & When Smb2LockResponse lockResponse = new Smb2LockResponse(null); // Then assertNotNull(lockResponse); } @Nested @DisplayName("writeBytesWireFormat tests") class WriteBytesWireFormatTests {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0)