- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 344 for DisplayName (0.06 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
} } @Test @DisplayName("Test createResponse method") void testCreateResponse() { request = new Smb2SetInfoRequest(mockConfig); Smb2SetInfoResponse response = request.createResponse(mockContext, request); assertNotNull(response); verify(mockContext, times(1)).getConfig(); } @Test @DisplayName("Test size method") void testSize() {
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/net/NetServerEnum2ResponseTest.java
response = new NetServerEnum2Response(mockConfig); } @Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response); // Response is successfully created with configuration assertTrue(response instanceof NetServerEnum2Response); } @Test @DisplayName("Test writeSetupWireFormat returns 0") void testWriteSetupWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
} @Test @DisplayName("Test default constructor creates empty SecurityDescriptor") void testDefaultConstructor() { SecurityDescriptor sd = new SecurityDescriptor(); assertEquals(0, sd.getType()); assertNull(sd.getAces()); assertNull(sd.getOwnerUserSid()); assertNull(sd.getOwnerGroupSid()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
/* ------------------------------------------------------------------ */ @Test @DisplayName("Construct with a valid configuration - should not throw") void testConstructionWithValidConfiguration() { assertDoesNotThrow(() -> new SmbComSeekResponse(mockConfig)); } @Test @DisplayName("getOffset before any read - should return zero") void testOffsetInitiallyZero() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
@DisplayName("Should handle various NTLM flags") void testVariousNTLMFlags(int flag) { // When Type1Message type1 = new Type1Message(mockContext, flag, null, null); // Then assertTrue((type1.getFlags() & flag) != 0); } @Test @DisplayName("Should include NTLMSSP signature")
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/smb1/netbios/SocketInputStreamTest.java
} @Test @DisplayName("Close delegates to underlying stream") void closeDelegatesToUnderlyingStream(@Mock InputStream mockIn) throws IOException { SocketInputStream sis = new SocketInputStream(mockIn); sis.close(); verify(mockIn).close(); } @Test @DisplayName("Read array delegates to read with offset and length")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
} @Test @DisplayName("Test constructor with root path") void testConstructorWithRootPath() { // Test root path trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\", "*.*", 0x16, 15, 4096); assertEquals("\\", trans2FindFirst2.getPath()); } @ParameterizedTest @DisplayName("Test search attributes masking")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
mockConfig = mock(Configuration.class); notification = new Smb2OplockBreakNotification(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create notification with configuration") void testConstructorWithConfiguration() { Smb2OplockBreakNotification testNotification = new Smb2OplockBreakNotification(mockConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
import jcifs.internal.util.SMBUtil; /** * Test class for Smb2TreeDisconnectRequest functionality */ @DisplayName("Smb2TreeDisconnectRequest Tests") @ExtendWith(MockitoExtension.class) class Smb2TreeDisconnectRequestTest { private static final short SMB2_TREE_DISCONNECT = 0x0004; @Test @DisplayName("Should create request with correct command type") void testConstructorSetsCorrectCommand() throws Exception {
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/fscc/FileInternalInfoTest.java
void setUp() { fileInternalInfo = new FileInternalInfo(); } @Test @DisplayName("Test getFileInformationLevel returns FILE_INTERNAL_INFO") void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_INTERNAL_INFO, fileInternalInfo.getFileInformationLevel()); } @Test @DisplayName("Test initial indexNumber value is 0") void testInitialIndexNumber() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)