- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 384 for displayName (0.07 seconds)
-
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.FileNotifyInformation;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@BeforeEach void setUp() { bind = new DcerpcBind(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Default constructor should create instance with default values") void testDefaultConstructor() { // When DcerpcBind defaultBind = new DcerpcBind(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
} @Test @DisplayName("Test inheritance from ServerMessageBlock2Response") void testInheritance() { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); assertTrue(response instanceof ServerMessageBlock2Response); assertTrue(response instanceof ServerMessageBlock2); } @Test @DisplayName("Test OVERHEAD constant value")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (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")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("Constructor: invalid mode throws IllegalArgumentException") void constructor_invalidMode_throws() { SmbFile file = mock(SmbFile.class); assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode")); } @Test @DisplayName("open(): acquires and releases handle (no I/O)")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbConnectionTest.java
package jcifs; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Properties; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.config.PropertyConfiguration; /** * Tests for SMB connection batch limit functionality. * Tests the batch limit configuration for various SMB commands. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
} @Test @DisplayName("Constructor should initialize with Configuration") void testConstructor() { // Given & When Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig); // Then assertNotNull(flushResponse); // Cannot test getConfig() as it's protected } @Nested @DisplayName("writeBytesWireFormat tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
* Achieves 100% coverage of the ACE interface contract. */ @DisplayName("ACE Interface Comprehensive Tests") class ACETest { @Nested @DisplayName("File Access Constants Tests") class FileAccessConstantsTests { @Test @DisplayName("Should have correct values for file access constants") void shouldHaveCorrectFileAccessConstants() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
} @Test @DisplayName("Test getName method") void testGetName() { // Default constructor assertNull(shareInfo.getName()); // With name set SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); assertEquals(TEST_NET_NAME, info.getName()); } @Test @DisplayName("Test getFileIndex always returns 0")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0)