Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for lenient (0.13 sec)

  1. src/test/java/jcifs/smb1/smb1/DfsTest.java

            lenient().when(UniAddress.getByName("domain.com", true)).thenReturn(uniAddress);
            lenient().when(SmbTransport.getSmbTransport(uniAddress, 0)).thenReturn(smbTransport);
    
            DfsReferral referral = new DfsReferral();
            referral.server = "dc1.domain.com";
            referral.next = referral;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTreeHandleTest.java

     * Each method of the interface is tested to ensure it behaves as expected.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbTreeHandleTest {
    
        @Mock
        private SmbTreeHandle smbTreeHandle;
    
        @Mock
        private Configuration mockConfig;
    
        /**
         * Test for getConfig() method.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

     * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built
     * for both Unicode and OEM encodings.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbComQueryInformationTest {
    
        @Mock
        Configuration mockConfig;
    
        private SmbComQueryInformation cmd;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

     * that branches on credential type.  These tests use reflection to call
     * protected methods and Mockito to stub collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbComSessionSetupAndXTest {
    
        @Mock
        private CIFSContext mockContext;
        @Mock
        private SmbComNegotiateResponse mockNegotiate;
        @Mock
        private ServerMessageBlock mockAndX;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

    import jcifs.SmbTransport;
    import jcifs.internal.CommonServerMessageBlock;
    
    /**
     * Unit tests for ChannelFailover
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class ChannelFailoverTest {
    
        @Mock
        private ChannelManager mockChannelManager;
    
        @Mock
        private ChannelLoadBalancer mockLoadBalancer;
    
        @Mock
        private SmbTransport mockTransport;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

    import jcifs.SmbSession;
    import jcifs.SmbTransport;
    import jcifs.internal.CommonServerMessageBlock;
    
    /**
     * Unit tests for ChannelManager
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class ChannelManagerTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private SmbSession mockSession;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

                  parameter.groups[3]!!.value
                }
                token.startsWith('\'') && token.endsWith('\'') && token.length > 2 -> {
                  // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes.
                  token.substring(1, token.length - 1)
                }
                else -> token
              }
    
            parameterNamesAndValues += name
            parameterNamesAndValues += value
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. 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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top