Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,319 for fail (0.01 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

        public void test_hook_withNullAssistantDirector() {
            // When & Then - Should not throw exception
            try {
                curtainBeforeHook.hook(null);
            } catch (Exception e) {
                fail("Should not throw exception with null AssistantDirector");
            }
        }
    
        public void test_multipleHookCalls_maintainsSameTimeZone() {
            // Given
            FwAssistantDirector assistantDirector = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            } catch (LdapOperationException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught LdapOperationException");
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            } catch (ScriptEngineException e) {
                assertEquals(message, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught ScriptEngineException");
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent class
            String message = "Parent class catch test";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            QueryContext context = new QueryContext("test", false);
    
            try {
                boostQueryCommand.execute(context, termQuery, 1.0f);
                fail("Should have thrown InvalidQueryException");
            } catch (InvalidQueryException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("Unknown q:"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

        }
    
        public void test_getConfOrClassesPath() {
            // Test behavior when resource is not found
            try {
                Path path = ResourceUtil.getConfOrClassesPath("nonexistent.conf");
                fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior - method throws exception for non-existent files
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    return existingInfo;
                }
    
                @Override
                public void store(CrawlingInfo entity) {
                    // Should not be called for existing info
                    fail("Store should not be called for existing info");
                }
    
                @Override
                public void storeInfo(List<CrawlingInfoParam> crawlingInfoParamList) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static junit.framework.Assert.fail;
    
    import com.google.common.testing.TearDown;
    import com.google.common.testing.TearDownAccepter;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    	// expected to fail with `ErrUnsignedHeaders`.
    	_, errCode = extractSignedHeaders(signedHeaders, r)
    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    
    	// case where the list of signed headers doesn't contain the host field.
    	signedHeaders = signedHeaders[2:5]
    	// expected to fail with `ErrUnsignedHeaders`.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         * Creates a new file or supersedes the existing one
         */
    
        static final int FILE_SUPERSEDE = 0x0;
    
        /*
         * Open the file or fail if it does not exist
         * aka OPEN_EXISTING
         */
    
        static final int FILE_OPEN = 0x1;
    
        /*
         * Create the file or fail if it does not exist
         * aka CREATE_NEW
         */
    
        static final int FILE_CREATE = 0x2;
    
        /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        if (spliterator.estimateSize() > originalSize) {
          fail(
              format(
                  "estimated size of spliterator after trySplit (%s) is larger than original size (%s)",
                  spliterator.estimateSize(), originalSize));
        }
        if (trySplit != null) {
          if (trySplit.estimateSize() > originalSize) {
            fail(
                format(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top