Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 2,062 for watch (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      public void testFind_nullNotContainedAndUnsupported() {
        try {
          assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testFind_nonNullWhenNullContained() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
        }
    
        private static RepositorySystemSession rss(PlexusContainer c) {
            try {
                LegacySupport legacySupport = c.lookup(LegacySupport.class);
    
                return legacySupport.getRepositorySession();
            } catch (ComponentLookupException e) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java

                zipExtractor.getText(in, null);
                fail();
            } catch (MaxLengthExceededException e) {
                // pass
            }
            zipExtractor.setMaxContentSize(-1);
        }
    
        public void test_getText_null() {
            try {
                zipExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.isCancelled()).isFalse();
    
        try {
          getDone(future);
          fail();
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expectedException);
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expectedException);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_3site_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb sitec; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                            repositorySystem.injectAuthentication(request.getRepositorySession(), Arrays.asList(repo));
                            repos.add(repo);
                        } catch (InvalidRepositoryException e) {
                            throw new ProjectBuildingException("", "Invalid remote repository " + repository, e);
                        }
                        normalized = true;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                        logger.warn("Failed to send {} to {}. HTTP Status is {}. {}", body, url, response.getHttpStatusCode(),
                                response.getContentAsString());
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to send {} to {}.", body, url, e);
                }
            }));
        }
    
        /**
         * Converts the discloser to a Slack message format.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            String expectedMessage = "Job execution failed";
            boolean exceptionCaught = false;
    
            try {
                throw new ScheduledJobException(expectedMessage);
            } catch (ScheduledJobException e) {
                exceptionCaught = true;
                assertEquals(expectedMessage, e.getMessage());
            }
    
            assertTrue(exceptionCaught);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            // Test throwing and catching the exception
            String expectedMessage = "Storage failure";
    
            try {
                throw new StorageException(expectedMessage);
            } catch (StorageException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        public void test_throwAndCatchExceptionWithCause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // This will return false because getFessConfig() will fail
            // We verify the method handles the case gracefully
            try {
                emptyGenerator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        public void test_getName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top