Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,228 for jcifs (0.03 seconds)

  1. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

    package jcifs.pac.kerberos;
    
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.List;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.smb1.dcerpc.DcerpcHandle;
    import jcifs.smb1.smb1.SmbException;
    
    @ExtendWith(MockitoExtension.class)
    class LsaPolicyHandleTest {
    
        @Mock
        private DcerpcHandle mockDcerpcHandle;
    
        @BeforeEach
        void setUp() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.SmbTransport;
    import jcifs.internal.CommonServerMessageBlock;
    
    /**
     * Unit tests for ChannelInfo
     */
    @ExtendWith(MockitoExtension.class)
    class ChannelInfoTest {
    
        @Mock
        private SmbTransport mockTransport;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.witness;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.util.Encdec;
    
    @ExtendWith(MockitoExtension.class)
    class NtlmUtilTest {
    
        @Mock
        CIFSContext cifsContext;
    
        @Mock
        Configuration configuration;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Unit tests for NtTransNotifyChangeResponse class
     */
    class NtTransNotifyChangeResponseTest {
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/PacDataInputStreamTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    public class PacDataInputStreamTest {
    
        // Helper to create PacDataInputStream from a byte array
        private PacDataInputStream createInputStream(byte[] data) throws IOException {
            return new PacDataInputStream(new ByteArrayInputStream(data));
        }
    
        @Test
        public void testAlign() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.ArgumentCaptor;
    import org.mockito.InOrder;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbSession;
    
    /**
     * Tests for SmbTreeHandleInternal interface using Mockito to verify
     * interactions and observable behavior of collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryEnumIteratorBaseTest {
    
        // Simple FileEntry implementation used for tests
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.java

    package jcifs.dcerpc.msrpc;
    
    import jcifs.dcerpc.DcerpcMessage;
    import jcifs.dcerpc.rpc;
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrObject;
    
    /**
     * Security Account Manager Remote (SAMR) protocol implementation.
     * This class provides DCE/RPC interface for SAM database operations including
     * user account management, group operations, and domain security functions.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
Back to Top