Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 705 for stesti (1.3 sec)

  1. src/test/java/jcifs/ConfigurationTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for Configuration interface functionality
     */
    @DisplayName("Configuration Interface Tests")
    class ConfigurationTest extends BaseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Test
        @DisplayName("Should define all configuration methods")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

         */
        @Test
        void testWitnessEnvironmentConfiguration() throws Exception {
            // Test simulating real witness environment scenarios
            // This test validates integration patterns without requiring real cluster
    
            // Simulate witness service discovery
            InetAddress mockWitnessAddress = InetAddress.getByName("127.0.0.1");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals(16, hash.length);
        }
    
        // Test unescape method
        @ParameterizedTest
        @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" })
        void testUnescape(String input, String expected) throws Exception {
            assertEquals(expected, NtlmPasswordAuthentication.unescape(input));
        }
    
        // Test getAnsiHash always returns 24 bytes regardless of lmCompatibility
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        }
    
        /**
         * Test setting and getting String field (oemDomainName)
         */
        @Test
        @DisplayName("Test oemDomainName field with various string values")
        public void testOemDomainNameField() {
            // Test with normal string
            serverData.oemDomainName = "WORKGROUP";
            assertEquals("WORKGROUP", serverData.oemDomainName);
    
            // Test with empty string
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComWriteAndXResponse class.
     */
    class SmbComWriteAndXResponseTest {
    
        /**
         * Test the readParameterWordsWireFormat method.
         */
        @Test
        void testReadParameterWordsWireFormat() {
            SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MIENameTest.java

        class EqualityContract {
    
            @Test
            void equalsIgnoresCaseForName() {
                ASN1ObjectIdentifier oid = testOid();
                MIEName a = new MIEName(oid, "Alice");
                MIEName b = new MIEName(oid, "alice");
                assertEquals(a, b);
                assertEquals(a.hashCode(), b.hashCode());
            }
    
            @Test
            void equalsHandlesNullNames() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

    import java.util.EnumSet;
    
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.internal.smb2.rdma.tcp.TcpMemoryRegion;
    
    /**
     * Unit tests for RDMA buffer manager
     */
    public class RdmaBufferManagerTest {
    
        @Mock
        private RdmaProvider mockProvider;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

    import org.junit.Test;
    
    /**
     * Test class for resource loading functionality in Suggester class.
     *
     * Tests cover:
     * - Successful resource loading
     * - Missing resource error handling
     * - Resource content validation
     * - InputStream null safety in try-with-resources
     */
    public class SuggesterResourceLoadingTest {
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ResourceNameFilter.java

    /**
     * Filter based on a resource name
     *
     * @author mbechler
     *
     */
    public interface ResourceNameFilter {
    
        /**
         * Tests whether the specified resource name should be included.
         *
         * @param parent the parent SMB resource
         * @param name the resource name to test
         * @return whether the given filename should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileFilter.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
     * Filter interface for SMB file listings
     */
    public interface SmbFileFilter {
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an error occurs while accessing the file
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top