Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 119 for lenient (0.05 seconds)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    /**
     * Tests for the NtlmHttpURLConnection class.
     * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NtlmHttpURLConnectionTest {
    
        @Mock
        private HttpURLConnection mockConnection;
    
        private URL mockUrl;
    
        @Mock
        private CIFSContext mockCifsContext;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbSessionImplTest.java

    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.smb2.Smb2EncryptionContext;
    import jcifs.internal.smb2.session.Smb2SessionSetupResponse;
    
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbSessionImplTest {
    
        @Mock
        private CIFSContext cifsContext;
        @Mock
        private Configuration configuration;
        @Mock
        private Credentials credentials;
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

    import jcifs.smb.NtStatus;
    
    /**
     * Tests for Smb2SessionSetupResponse decoding and behavior.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("Smb2SessionSetupResponse Tests")
    @MockitoSettings(strictness = Strictness.LENIENT)
    class Smb2SessionSetupResponseTest extends BaseTest {
    
        private Smb2SessionSetupResponse newResponse() {
            // Configuration is not used during decode when no signing digest is set
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2SetInfoResponse functionality
     */
    @DisplayName("Smb2SetInfoResponse Tests")
    @MockitoSettings(strictness = Strictness.LENIENT)
    class Smb2SetInfoResponseTest {
    
        private Configuration mockConfig;
        private Smb2SetInfoResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

    import jcifs.internal.Request;
    import jcifs.internal.smb2.io.Smb2ReadRequest;
    import jcifs.internal.smb2.io.Smb2ReadResponse;
    
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbFileInputStreamTest {
    
        @Mock
        SmbFile mockFile;
    
        @Mock
        SmbTreeHandleImpl mockTree;
    
        @Mock
        SmbFileHandleImpl mockHandle;
    
        @Mock
        Configuration mockConfig;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

     *
     * These tests verify the multi-channel implementation without requiring a real SMB server.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class MultiChannelIntegrationTest {
    
        @Mock
        private SmbTransportInternal mockTransport;
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private SmbSessionInternal mockSession;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

    import jcifs.SmbPipeResource;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbPipeHandleImplTest {
    
        @Mock
        SmbNamedPipe pipe;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        @Mock
        SmbFileHandleImpl fileHandle;
    
        @Mock
        Configuration config;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

    import jcifs.internal.Request;
    import jcifs.internal.SmbNegotiationResponse;
    import jcifs.internal.smb1.com.SmbComNegotiateResponse;
    
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbTreeHandleImplTest {
    
        @Mock
        SmbResourceLocatorImpl resourceLoc;
    
        @Mock
        SmbTreeConnection treeConnection;
    
        @Mock
        SmbSessionImpl session;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        //  * They don't use percent escaping at all.
        //  * They use punycode for internationalization.
        //  * URI is much more strict than HttpUrl or URL on what's accepted.
        //
        // HttpUrl is quite lenient with what characters it accepts. In particular, characters like '{'
        // and '"' are permitted but unlikely to occur in real-world URLs. Unfortunately we can't just
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Aug 04 07:38:48 GMT 2025
    - 69.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbTreeTest.java

    /**
     * Tests for SmbTree interface.
     * This test class covers all methods of the SmbTree interface using Mockito for mocking.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbTreeTest {
    
        @Mock
        private SmbTree smbTree;
    
        @Mock
        private SmbTree mockWrappedTree;
    
        /**
         * Setup method executed before each test.
         */
        @BeforeEach
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top