Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,381 for then (0.04 sec)

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

            // Setup default mock behaviors
            when(ctx.getConfig()).thenReturn(config);
            when(ctx.getNameServiceClient()).thenReturn(nameSvc);
            when(ctx.getCredentials()).thenReturn(creds);
            when(ctx.getTransportPool()).thenReturn(pool);
    
            // Default config values
            when(config.getLocalAddr()).thenReturn(null);
            when(config.getLocalPort()).thenReturn(0);
            when(config.getSessionLimit()).thenReturn(10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/https/HandlerTest.java

            void testDefaultConstructor() {
                // When
                Handler testHandler = new Handler();
    
                // Then
                assertNotNull(testHandler);
            }
    
            @Test
            @DisplayName("Should extend jcifs.smb1.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.smb1.http.Handler);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTransportPoolTest.java

            @DisplayName("Should handle exception when getting challenge")
            void testGetChallengeException() throws CIFSException {
                // Given
                when(transportPool.getChallenge(context, address)).thenThrow(new CIFSException("Failed to get challenge"));
    
                // When & Then
                assertThrows(CIFSException.class, () -> transportPool.getChallenge(context, address));
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. maven-tests/mvnw

      if [ -n "${JAVA_HOME-}" ]; then
        if [ -x "$JAVA_HOME/jre/sh/java" ]; then
          # IBM's JDK on AIX uses strange locations for the executables
          JAVACMD="$JAVA_HOME/jre/sh/java"
          JAVACCMD="$JAVA_HOME/jre/sh/javac"
        else
          JAVACMD="$JAVA_HOME/bin/java"
          JAVACCMD="$JAVA_HOME/bin/javac"
    
          if [ ! -x "$JAVACMD" ] || [ ! -x "$JAVACCMD" ]; then
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            // Then
            assertTrue(response instanceof ServerMessageBlock2Response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
                // Then
                assertEquals(24, bytesConsumed);
                assertEquals(1048576L * 8 * 512, fileFsSizeInfo.getCapacity());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            byte[] dst = new byte[2];
    
            // When
            int bytesWritten = trans.writeSetupWireFormat(dst, 0);
    
            // Then
            assertEquals(2, bytesWritten, "Should write 2 bytes.");
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, dst[0], "The first byte should be the subCommand.");
            assertEquals((byte) 0x00, dst[1], "The second byte should be 0.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

    /*
     * Copyright 2012-2025 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
                when(mockNdrBuffer.dec_ndr_short()).thenReturn(4, 6); // length, maximum_length
                when(mockDeferredBuffer.dec_ndr_long()).thenReturn(-1); // Invalid _name_buffers
    
                // When/Then: Should throw exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    In an advanced scenario where you know you need the dependency to be called at every step (possibly multiple times) in the same request instead of using the "cached" value, you can set the parameter `use_cache=False` when using `Depends`:
    
    //// tab | Python 3.8+
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top