Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 160 for simili (0.71 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        private DfsReferralRequestBuffer buffer;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create buffer with simple path and referral level")
            void testConstructorWithSimplePath() {
                String path = "\\\\server\\share";
                int maxReferralLevel = 3;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/StringsTest.java

            }
    
            @ParameterizedTest
            @DisplayName("getBytes should handle various string inputs")
            @NullAndEmptySource
            @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский",
                    "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceLocatorTest.java

                assertEquals("file.txt", loc.getName());
                assertEquals("smb://server/share/path/", loc.getParent());
                assertEquals(url, loc.getPath());
                // canonicalisation simply removes '.' and '..'
                assertEquals("smb://server/share/path/filetxt", loc.getCanonicalURL());
                assertFalse(loc.isRoot());
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

     * result extraction, header encoding/decoding, and the round-trip of an
     * encode/decode operation.
     */
    public class DcerpcMessageTest {
    
        /**
         * A trivial concrete subclass used for testing. It simply writes a
         * single small value in {@code encode_in} and reads it in
         * {@code decode_out}.
         */
        private static class TestMessage extends DcerpcMessage {
            int decodedValue = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

    import org.mockito.InOrder;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    
    @ExtendWith(MockitoExtension.class)
    class SSPContextTest {
    
        // Simple, deterministic test double covering all methods of SSPContext.
        private static class DummySSPContext implements SSPContext {
            private byte[] signingKey;
            private boolean established;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        // Concrete implementation for testing abstract NtlmMessage
        private static class TestNtlmMessage extends NtlmMessage {
            @Override
            public byte[] toByteArray() throws IOException {
                // Simple implementation for testing purposes
                return new byte[0];
            }
        }
    
        @BeforeEach
        void setUp() {
            message = new TestNtlmMessage();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmAuthenticator.java

         * <code>getRequestingException</code> methods.
         * If this method returns <code>null</code> the <code>SmbAuthException</code> that triggered the authenticator check will
         * simply be rethrown. The default implementation returns <code>null</code>.
         * @return the authentication credentials or null if none available
         */
        protected NtlmPasswordAuthenticator getNtlmPasswordAuthentication() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate")
        void constructorAndSimpleDelegations() {
            // Ensures constructor acquires tree connection and simple delegate methods forward correctly
            // Verify constructor invoked acquire once
            verify(treeConnection, times(1)).acquire();
    
            // getConfig delegates
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileFilterTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class SmbFileFilterTest {
    
        @Mock
        private SmbFile smbFile;
    
        // Provides file names and whether a simple name-based filter should accept them
        private static Stream<Arguments> nameCases() {
            return Stream.of(Arguments.of("readme.txt", true), Arguments.of("notes.log", false), Arguments.of("", false),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/Curl.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl;
    
    import java.io.File;
    
    /**
     * The Curl class provides a simple interface for creating HTTP requests using various HTTP methods.
     * It includes static methods for each HTTP method that return a CurlRequest object.
     *
     * <p>Example usage:</p>
     * <pre>
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top