Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 836 for Fail (0.04 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

          hashFunction.hashBytes(new byte[128], -1, 128);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          hashFunction.hashBytes(new byte[64], 0, -1);
          Assert.fail();
        } catch (IndexOutOfBoundsException expected) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

         */
        @Nonnull
        Optional<Boolean> showErrors();
    
        /**
         * Returns the severity level at which the build should fail.
         *
         * @return an {@link Optional} containing the fail-on-severity string, or empty if not set
         */
        @Nonnull
        Optional<String> failOnSeverity();
    
        /**
         * Indicates whether to run in non-interactive mode.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClientException.java

     */
    package org.codelibs.fess.opensearch.client;
    
    import org.codelibs.fess.exception.FessSystemException;
    
    /**
     * Exception thrown when search engine client operations fail.
     * This exception wraps underlying search engine errors and provides
     * meaningful error messages for troubleshooting.
     */
    public class SearchEngineClientException extends FessSystemException {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            } catch (ResultOffsetExceededException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught ResultOffsetExceededException");
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent class FessSystemException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

                messages.addErrorsFrontHeader(null);
                fail("Should throw exception for null property");
            } catch (IllegalArgumentException e) {
                // Expected
            }
        }
    
        public void test_addConstraintsDecimalMaxMessage_nullProperty() {
            try {
                messages.addConstraintsDecimalMaxMessage(null, "100");
                fail("Should throw exception for null property");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/NetbiosNameTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              val description = StringDescription()
              versionMatcher.describeTo(description)
              description.appendText(" expected to fail with exception that ")
              failureMatcher.describeTo(description)
    
              fail<Any>(description.toString())
            }
          }
        }
    
        fun isConscrypt() = getPlatformSystemProperty() == CONSCRYPT_PROPERTY
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  8. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            mockProcessHelper.setExitValue(0);
            mockProcessHelper.setOutput("Windows execution");
    
            try {
                suggestJob.executeSuggestCreator();
            } catch (Exception e) {
                // May fail in test environment
            } finally {
                System.clearProperty("os.name");
            }
    
            List<String> cmdList = mockProcessHelper.getLastCommandList();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
        ImmutableLongArray.of().forEach(i -> fail());
        ImmutableLongArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicLong count = new AtomicLong(0);
        ImmutableLongArray.of(0, 1, 2, 3)
            .forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.SecureRandom;
    import java.util.Arrays;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top