- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 860 for setMap (0.03 sec)
-
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
import jcifs.internal.util.SMBUtil; /** * Test class for SmbInfoAllocation */ class SmbInfoAllocationTest { private SmbInfoAllocation smbInfoAllocation; @BeforeEach void setUp() { smbInfoAllocation = new SmbInfoAllocation(); } @Test @DisplayName("Test getFileSystemInformationClass returns SMB_INFO_ALLOCATION") void testGetFileSystemInformationClass() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
*/ public class RdmaIntegrationTest { private String testServer; private int testPort; private CIFSContext testContext; @BeforeEach public void setUp() throws Exception { testServer = System.getProperty("rdma.test.server"); String portStr = System.getProperty("rdma.test.port", "445"); testPort = Integer.parseInt(portStr);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
import org.junit.jupiter.api.Test; import jcifs.util.Encdec; public class NdrBufferTest { private byte[] buffer; private NdrBuffer ndrBuffer; @BeforeEach void setUp() { buffer = new byte[1024]; // Initialize with a reasonable size ndrBuffer = new NdrBuffer(buffer, 0); } @Test void testConstructor() { // Verify initial stateRegistered: 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/smb/CriticalPerformanceTest.java
*/ public class CriticalPerformanceTest { private CIFSContext mockContext; private Configuration mockConfig; private Credentials mockCredentials; @BeforeEach public void setUp() { mockContext = Mockito.mock(CIFSContext.class); mockConfig = Mockito.mock(Configuration.class); mockCredentials = Mockito.mock(Credentials.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
@Mock private Configuration mockConfig; @Mock private CIFSContext mockContext; private Smb2QueryDirectoryRequest request; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getMaximumBufferSize()).thenReturn(65536); when(mockConfig.getListSize()).thenReturn(65536);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
private Configuration mockConfig; private byte[] testFileId; private byte[] emptyFileId; private byte[] unspecifiedFileId; private byte[] testOutputBuffer; @BeforeEach void setUp() { // Initialize test file IDs testFileId = new byte[16]; new SecureRandom().nextBytes(testFileId); emptyFileId = new byte[16]; Arrays.fill(emptyFileId, (byte) 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
@Mock private CommonServerMessageBlock response; @Mock private CommonServerMessageBlock message; private byte[] testData; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; } @Test @DisplayName("Test sign method with valid parameters")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
import jcifs.internal.util.SMBUtil; public class SmbComQueryInformationResponseTest { private Configuration mockConfig; private SmbComQueryInformationResponse response; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); } @Test void testConstructor() { // Test constructor with positive timezone offsetRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
public class SmbComRenameTest { private Configuration config; private SmbComRename smbComRename; @Mock private Configuration mockConfig; @BeforeEach public void setUp() throws CIFSException { MockitoAnnotations.openMocks(this); config = new PropertyConfiguration(new Properties()); } /** * Test constructor initialization with valid parameters */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
import jcifs.internal.util.SMBUtil; /** * Unit tests for FileNotifyInformationImpl class */ class FileNotifyInformationImplTest { private FileNotifyInformationImpl notifyInfo; @BeforeEach void setUp() { notifyInfo = new FileNotifyInformationImpl(); } @Test @DisplayName("Test default constructor creates instance with null values") void testDefaultConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)