Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for lockContext (0.04 sec)

  1. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

     */
    public class SimpleMemoryManagementTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
        private Configuration mockConfig;
        private Credentials mockCredentials;
        private CredentialsInternal mockCredentialsInternal;
    
        @BeforeEach
        public void setUp() {
            mockContext = Mockito.mock(CIFSContext.class);
            mockTransport = Mockito.mock(SmbTransportImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

     */
    public class SmbSessionImplSecurityTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
        private Configuration mockConfig;
        private Credentials mockCredentials;
        private CredentialsInternal mockCredentialsInternal;
    
        @BeforeEach
        public void setUp() {
            mockContext = Mockito.mock(CIFSContext.class);
            mockTransport = Mockito.mock(SmbTransportImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        void testContextAccess() {
            // When
            NameServiceClientImpl client = new NameServiceClientImpl(mockContext);
    
            // Then
            assertNotNull(client, "Client should be created successfully");
            verify(mockContext, atLeastOnce()).getConfig();
        }
    
        @Test
        @DisplayName("Should handle invalid NetBIOS name quickly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CriticalPerformanceTest.java

        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);
    
            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top