Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,293 for result2 (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            assertDoesNotThrow(() -> channelManager.establishReplacementChannel());
        }
    
        @Test
        void testGetChannelForTransport() {
            ChannelInfo result = channelManager.getChannelForTransport(mockTransport);
            assertNull(result); // No channels registered yet
        }
    
        @Test
        void testChannelManagerLifecycle() {
            // Test complete lifecycle
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            when(renewable.renew()).thenReturn(returned);
    
            // Act: invoke renew()
            CredentialsInternal result = renewable.renew();
    
            // Assert: verify interaction and returned value
            verify(renewable, times(1)).renew();
            assertSame(returned, result, "renew() should return the stubbed value");
    
            // Negative interaction check: no further interactions with the mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        void shouldForceSigningReturns(boolean expected) {
            when(locator.shouldForceSigning()).thenReturn(expected);
    
            boolean result = locator.shouldForceSigning();
    
            assertEquals(expected, result);
            verify(locator, times(1)).shouldForceSigning();
            verifyNoMoreInteractions(locator);
        }
    
        // Happy path: overlaps delegates to implementation and returns as stubbed
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/UniAddressTest.java

        @ValueSource(strings = { "192.168.0.1", "123.45.67.89", "1.2.3.4" })
        void isDotQuadIPRecognizesDotQuadIP(String ip) {
            // Arrange & Act
            boolean result = UniAddress.isDotQuadIP(ip);
            // Assert
            assertTrue(result, "isDotQuadIP should return true for dot-quad IP");
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "192.168.0", "abcd", "192.168" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * {@code multimap}.
       */
      public <K extends K0, V extends V0> Multimap<K, V> build(
          Multimap<? extends K, ? extends V> multimap) {
        Multimap<K, V> result = build();
        result.putAll(multimap);
        return result;
      }
    
      /**
       * A specialization of {@link MultimapBuilder} that generates {@link ListMultimap} instances.
       *
       * @since 16.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/ExecJob.java

         */
        protected ExecJob() {
            // Default constructor
        }
    
        /**
         * Executes the job and returns the result as a string.
         * This method contains the main business logic for the specific job implementation.
         *
         * @return the execution result message or summary
         */
        public abstract String execute();
    
        /**
         * Returns the execution type identifier for this job.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            byte[] data = new byte[] { 0, 1, 2, 3, 4 };
            cos.write(data);
            assertTrue(cos.isInMemory());
            byte[] result = cos.getData();
            assertNotNull(result);
            assertArrayEquals(data, result);
            cos.close();
        }
    
        @Test
        public void testFlushInMemory() throws IOException {
            // flush() should work with in-memory data
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultimap.java

        }
    
        Map<K, ImmutableCollection.Builder<V>> ensureBuilderMapNonNull() {
          Map<K, ImmutableCollection.Builder<V>> result = builderMap;
          if (result == null) {
            result = Platform.preservesInsertionOrderOnPutsMap();
            builderMap = result;
          }
          return result;
        }
    
        ImmutableCollection.Builder<V> newValueCollectionBuilderWithExpectedSize(int expectedSize) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Config.java

            final String s = props.getProperty(key);
            int result = -1;
            if (s != null) {
                try {
                    result = Integer.parseInt(s);
                } catch (final NumberFormatException nfe) {
                    log.error("Not a number", nfe);
                }
            }
            return result;
        }
    
        /**
         * Retrieve a <code>long</code>. If the key does not exist or
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top