- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 370 for display_name (0.04 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Nested class for testing buffer operations */ @Nested @DisplayName("Buffer Operations Tests") class BufferOperationsTests { @Test @DisplayName("Test write operations with empty buffer") public void testWriteOperationsWithEmptyBuffer() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
} } @Nested @DisplayName("Interface Constants Tests") class InterfaceConstantsTests { @Test @DisplayName("Should have correct SMB_INFO_ALLOCATION constant value") void testSmbInfoAllocationConstant() { assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION); } @Test @DisplayName("Should have correct FS_SIZE_INFO constant value")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
import java.io.IOException; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for TransportException class */ public class TransportExceptionTest { @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create exception with no arguments")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@DisplayName("Test isDFSSupported returns false") void testIsDFSSupportedFalse() { // Arrange when(negotiationResponse.isDFSSupported()).thenReturn(false); // Act boolean result = negotiationResponse.isDFSSupported(); // Assert assertFalse(result); verify(negotiationResponse).isDFSSupported(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
when(mockContext.getConfig()).thenReturn(mockConfig); echoRequest = new Smb2EchoRequest(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create echo request with correct command") void testConstructor() throws Exception { Smb2EchoRequest request = new Smb2EchoRequest(mockConfig);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)