Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1811 - 1820 of 3,735 for Pull (0.02 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

                public String findTool(String toolName) {
                    return null;
                }
            };
        }
    
        private DefaultToolchain newDefaultToolchain(ToolchainModel model, String type) {
            return new DefaultToolchain(model, type, logger) {
                @Override
                public String findTool(String toolName) {
                    return null;
                }
            };
        }
    
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().then(response -> latch.countDown());
            assertTrue(latch.await(10, TimeUnit.SECONDS));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

      @StartStop
      private val server = MockWebServer()
    
      private var client = clientTestRule.newClient()
    
      @Test
      fun testNetscapeResponse() {
        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        client =
          client
            .newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
        val urlWithIpAddress = urlWithIpAddress(server, "/path/foo")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    null,
                    artifact.getDownloadUrl(),
                    artifact.getDependencyTrail());
        }
    
        protected ArtifactNotFoundException(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

     */
    public class EnumerationIterator<T> implements Iterator<T> {
    
        private Enumeration<T> enumeration = null;
    
        /**
         * Returns an {@link Iterable} that wraps an {@link Enumeration} for use in a for-each statement.
         *
         * @param <T> the element type
         * @param enumeration the enumeration (must not be {@literal null})
         * @return an {@link Iterable} wrapping the enumeration
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbSessionTest.java

            @Test
            @DisplayName("Should handle unwrap returning null")
            void shouldHandleUnwrapReturningNull() {
                SmbSession mockSession = mock(SmbSession.class);
                when(mockSession.unwrap(SmbSession.class)).thenReturn(null);
    
                SmbSession result = mockSession.unwrap(SmbSession.class);
                assertNull(result, "unwrap should return null when not available");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            verify(handle, never()).close(anyLong());
        }
    
        // Invalid input: constructing with null handle and invoking watch() NPEs
        @Test
        @DisplayName("Null handle causes NPE on watch() (invalid input)")
        void constructor_nullHandle_watch_throwsNPE() {
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(null, 0, false);
    
            assertThrows(NullPointerException.class, () -> {
                sut.watch();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

        /**
         * Test that the constructor handles a null channel binding hash.
         */
        @Test
        void testConstructorWithNullHash() {
            AvChannelBindings avChannelBindings = new AvChannelBindings(null);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertNull(avChannelBindings.getRaw(), "Value should be null when null hash is provided");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
        @DisplayName("calling getters on null reference throws NPE")
        void testNullReference() {
            AllocInfo nullRef = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

            final Map<String, Object> sourceMap = new HashMap<>();
            if (name != null) {
                sourceMap.put("name", name);
            }
            if (password != null) {
                sourceMap.put("password", password);
            }
            if (groups != null) {
                sourceMap.put("groups", groups);
            }
            if (roles != null) {
                sourceMap.put("roles", roles);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top