Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 346 for display_name (0.11 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("Constructor with null file ID should accept null")
        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("Constructor with null fileName should accept null")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            buffer = new DfsReferralResponseBuffer();
        }
    
        @Nested
        @DisplayName("Constructor and Initial State Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with null referrals")
            void testInitialState() {
                assertNull(buffer.getReferrals());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            circuitBreaker = new SimpleCircuitBreaker("test", 3, 2, 100);
        }
    
        @Test
        @DisplayName("Test initial state is CLOSED")
        void testInitialState() {
            assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState());
            assertTrue(circuitBreaker.allowsRequests());
        }
    
        @Test
        @DisplayName("Test successful calls in CLOSED state")
        void testSuccessfulCalls() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.mockito.Mockito.mock;
    
    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;
    
    /**
     * Test class for SmbNegotiation
     */
    class SmbNegotiationTest {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            });
        }
    
        @Test
        @DisplayName("Should correctly inherit from ServerMessageBlock2Request")
        void testInheritance() {
            // Then
            assertTrue(request instanceof ServerMessageBlock2Request);
            assertTrue(request instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should maintain immutability of structure size")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        }
    
        @Test
        @DisplayName("Test interface can be mocked")
        void testInterfaceCanBeMocked() {
            // Given
            SmbNegotiationRequest mockRequest = mock(SmbNegotiationRequest.class);
    
            // Then
            assertNotNull(mockRequest, "Mock should be created successfully");
        }
    
        @Test
        @DisplayName("Test default behavior of mock without stubbing")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor creates instance with empty notification list")
        void testConstructor() {
            assertNotNull(response);
            assertNotNull(response.getNotifyInformation());
            assertTrue(response.getNotifyInformation().isEmpty());
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor with Configuration")
        void testConstructor() {
            assertNotNull(response);
            // Verify configuration is set through parent constructor
            verify(mockConfig, atLeastOnce()).getPid();
        }
    
        @Test
        @DisplayName("Test readParameterWordsWireFormat with zero setup count")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/CryptoTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    
    /**
     * Test class for Crypto utility functionality
     */
    @DisplayName("Crypto Utility Tests")
    class CryptoTest extends BaseTest {
    
        @Test
        @DisplayName("Should calculate MD4 hash correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

            assertDoesNotThrow(managed::close);
        }
    
        @Test
        @DisplayName("Test null resource registration throws exception")
        void testNullResourceRegistration() {
            assertThrows(IllegalArgumentException.class, () -> resourceManager.registerResource(null));
        }
    
        @Test
        @DisplayName("Test configuration updates")
        void testConfigurationUpdates() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top