Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 322 for anyone (0.16 sec)

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

                // Arrange
                when(mockCtx.getSigningKey()).thenReturn(new byte[] { 7 });
                when(mockCtx.isEstablished()).thenReturn(true);
                when(mockCtx.initSecContext(any(byte[].class), anyInt(), anyInt())).thenReturn(new byte[] { 9 });
                when(mockCtx.getNetbiosName()).thenReturn("NB");
                when(mockCtx.isSupported(any())).thenReturn(true);
                when(mockCtx.isPreferredMech(any())).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SpnegoContextTest.java

            assertEquals("Invalid token", ex.getMessage());
    
            // Ensure mechContext was not engaged due to early failure
            verify(this.mechContext, never()).initSecContext(any(), anyInt(), anyInt());
        }
    
        @Test
        @DisplayName("initSecContext with null buffer and non-zero len throws NPE")
        void testInitSecContextNullBufferNonZeroLen() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HMACT64Test.java

                byte[] innerDigest = "inner_digest".getBytes();
    
                when(mockMd5.digest()).thenReturn(innerDigest);
                doThrow(new RuntimeException("Test Exception")).when(mockMd5).digest(any(byte[].class), anyInt(), anyInt());
    
                HMACT64 hmac = new HMACT64(TEST_KEY);
                assertThrows(IllegalStateException.class, () -> hmac.engineDigest(new byte[10], 0, 10));
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacTest.java

    package jcifs.pac;
    
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.Mockito.mockStatic;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.doReturn;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.lenient;
    import static org.mockito.Mockito.spy;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameServicePacketTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. Jenkinsfile

    }
    
    /**
     * To other developers, if you are using this method above, please use the following syntax.
     * By default this method does NOT execute ITs anymore, just "install".
     *
     * mavenBuild("<jdk>", "<profiles> <goals> <plugins> <properties>"
     *
     * @param jdk the jdk tool name (in jenkins) to use for this build
     * @param extraArgs extra command line args
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 10 12:31:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.mockStatic;
    
    import java.io.IOException;
    import java.util.Collections;
    import java.util.HashMap;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/WinErrorTest.java

    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.Mockito.atLeastOnce;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    
    import java.util.HashSet;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Field;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top