- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 306 for display_name (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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() { // GivenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
} @Test @DisplayName("Should return dialect revision") void testGetDialectRevision() throws Exception { // Given setPrivateField(response, "dialectRevision", 0x0311); // When int dialect = response.getDialectRevision(); // Then assertEquals(0x0311, dialect); } @Test @DisplayName("Should return server GUID")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (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() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (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")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test default constructor creates instance with null values") void testDefaultConstructor() { assertNotNull(notifyInfo); assertEquals(0, notifyInfo.getAction()); assertNull(notifyInfo.getFileName()); assertEquals(0, notifyInfo.getNextEntryOffset()); } @Test @DisplayName("Test constructor with buffer decodes correctly")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (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")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
assertNotNull(request); } @Test @DisplayName("Constructor should handle null filename") void testConstructorWithNullFilename() { // When & Then assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, null)); } @Test @DisplayName("Constructor should handle empty filename") void testConstructorWithEmptyFilename() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
} @Test @DisplayName("Test default constructor creates valid instance") void testDefaultConstructor() { // Verify instance is created assertNotNull(fileInfo); assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel()); } @Test @DisplayName("Test parameterized constructor with end of file value")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (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);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0)