Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 2,760 for 2test (0.62 sec)

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

            }
            return out;
        }
    
        @Test
        @DisplayName("getNTHash: known vector for 'password'")
        void testGetNTHash_knownVector() {
            // Arrange
            String password = "password";
            // Known NT hash for "password" (UTF-16LE MD4)
            // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/BaseContextTest.java

            assertTrue(resource.getLocator().getURL().toString().contains("server/share/file.txt"), "Resource should contain URL path");
        }
    
        @Test
        @DisplayName("get method should handle various URL formats successfully")
        void testGetSmbResourceWithValidURLs() throws CIFSException {
            // Test that these URLs can be created successfully
            String[] validUrls = { "smb://server/", "smb://server/share/", "smb://server/share/file.txt" };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/BaseTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Base test class providing common test infrastructure and utilities.
     * All test classes should extend this to ensure consistent test setup.
     */
    @ExtendWith(MockitoExtension.class)
    public abstract class BaseTest {
    
        protected final Logger logger = LoggerFactory.getLogger(getClass());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(config.getLogonShare()).thenReturn("IPC$");
    
            // Default address values
            when(address.getHostName()).thenReturn("test.host");
            when(address.getHostAddress()).thenReturn("192.168.1.100");
        }
    
        @Test
        @DisplayName("Should distinguish between pooled and non-pooled connections")
        void testPooledVsNonPooledConnections() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp

                                    <c:when test="${allRecordCount == null}">
                                    </c:when>
                                    <c:when test="${f:h(allRecordCount) > 0}">
                                        <div id="subheader" class="row top10">
                                            <div class="col-12">
                                                <c:if test="${allRecordCountRelation=='EQUAL_TO'}">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 24 13:09:22 UTC 2020
    - 20K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

                }
    
                @Override
                public void stop() {
                    // Do nothing
                }
            };
    
            // Create test data
            DataConfig config = new DataConfig();
            config.setName("test-config");
    
            DataStoreParams params = new DataStoreParams();
            params.put("key1", "value1");
            params.put("key2", "value2");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    
    class AvSingleHostTest {
    
        /**
         * Test constructor AvSingleHost(byte[] raw).
         * Should correctly parse the raw bytes.
         */
        @Test
        void testAvSingleHostRawConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacUnicodeStringTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link PacUnicodeString} class.
     */
    class PacUnicodeStringTest {
    
        /**
         * Tests the constructor and getter methods.
         */
        @Test
        void testConstructorAndGetters() {
            // Create a new instance with some test data
            short length = 10;
            short maxLength = 20;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameQueryRequestTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    
    class NameQueryRequestTest {
    
        @Mock
        private Configuration mockConfig;
        @Mock
        private Name mockName;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComNegotiate class.
     */
    class SmbComNegotiateTest {
    
        private SmbComNegotiate smbComNegotiate;
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        @BeforeEach
        void setUp() {
            // Create a new instance before each test
            smbComNegotiate = new SmbComNegotiate();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top