Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for effects (0.42 sec)

  1. src/main/java/jcifs/smb/NtlmAuthenticator.java

        private String url;
        private SmbAuthException sae;
    
        /**
         * Set the default <code>NtlmAuthenticator</code>. Once the default authenticator is set it cannot be changed. Calling
         * this metho again will have no effect.
         *
         * @param a the authenticator to set as default
         */
    
        public synchronized static void setDefault(final NtlmAuthenticator a) {
            if (auth != null) {
                return;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

        }
    
        /**
         * Tests the toString method of the DfsReferral class.
         * It verifies that the toString method returns a string representation of the object
         * that accurately reflects its properties.
         */
        @Test
        void testToString() {
            // Given
            DfsReferral referral = new DfsReferral();
            referral.pathConsumed = 20;
            referral.server = "testServer";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // Then
            assertEquals(ServerMessageBlock.SMB_COM_CLOSE, smbComClose.getCommand());
            // Private fields are not directly accessible, but we can check their effect in other methods.
        }
    
        /**
         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeParameterWordsWireFormat(byte[], int)}.
         */
        @Test
        public void testWriteParameterWordsWireFormat() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptIgnoresWildcard() throws Exception {
            // Wildcard shouldn't affect accept logic.
            DosFileFilter customFilter = new DosFileFilter("*.txt", SmbFile.ATTR_DIRECTORY);
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_DIRECTORY);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            String retrievedPassword = authenticator.getPassword();
            assertEquals("charArrayPassword", retrievedPassword, "Password should match");
    
            // Modify original array - should not affect stored password
            passwordChars[0] = 'X';
            String retrievedPassword2 = authenticator.getPassword();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                assertFalse(stream.markSupported());
    
                assertEquals('A', stream.read());
                assertEquals('B', stream.read());
    
                // Mark is not supported, so calling mark has no effect
                stream.mark(10);
    
                assertEquals('C', stream.read());
                assertEquals('D', stream.read());
    
                // Reset will throw IOException because mark is not supported
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5ContextTest.java

                    | NegTokenInit.SEQUENCE_CHECKING | NegTokenInit.ANONYMITY | NegTokenInit.CONFIDENTIALITY | NegTokenInit.INTEGRITY;
            assertEquals(expected, flags);
        }
    
        @Test
        @DisplayName("isEstablished reflects underlying context state")
        void isEstablished_behavior() throws Exception {
            when(gssContext.isEstablished()).thenReturn(true);
            assertTrue(ctx.isEstablished());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/UniAddress.java

     * <a href="../../resolver.html">Setting Name Resolution Properties</a>
     * and the <code>jcifs.resolveOrder</code> property. Changing
     * jCIFS name resolution properties can greatly affect the behavior of
     * the client and may be necessary for proper operation.
     * <p>
     * This class should be used in favor of {@code InetAddress} to resolve
     * hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        @BeforeEach
        void resetMocks() {
            Mockito.reset(session, transport, tree);
        }
    
        // Happy path: isInUse returns the mocked state
        @ParameterizedTest
        @DisplayName("isInUse reflects current mocked state")
        @ValueSource(booleans = { true, false })
        void isInUse_variants(boolean inUse) {
            when(session.isInUse()).thenReturn(inUse);
    
            boolean result = session.isInUse();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertTrue(ex.getMessage().contains("failed"));
            verify(transport).hasCapability(42);
        }
    
        // Edge: disconnected status toggles
        @ParameterizedTest
        @DisplayName("isDisconnected reflects current mocked state")
        @ValueSource(booleans = { true, false })
        void isDisconnected_states(boolean disconnected) {
            when(transport.isDisconnected()).thenReturn(disconnected);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top