Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,192 for Fail (0.02 seconds)

  1. 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");
            }
        }
    
        @Test
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent class
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

              assertGoodTesterAnnotation(asAnnotation(containedClass));
            } else {
              fail(
                  rootLocaleFormat(
                      "Feature enum %s contains a class named "
                          + "'Require' but it is not an annotation.",
                      featureEnumClass));
            }
            return;
          }
        }
        fail(
            rootLocaleFormat(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/admin/dict/StopwordsTests.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.admin.dict;
    
    import static org.junit.jupiter.api.Assertions.fail;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    @Tag("it")
    public class StopwordsTests extends DictCrudTestBase {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. generics_withresult_test.go

    	}
    	if r.Error != nil {
    		t.Fatalf("unexpected result error: %v", r.Error)
    	}
    	if r.RowsAffected <= 0 {
    		t.Fatalf("expected RowsAffected > 0, got %d", r.RowsAffected)
    	}
    
    	u2 := withResultUser{Name: "with-result-fail"}
    	r2 := gorm.WithResult()
    	if err := gorm.G[withResultUser](db, r2).Table("does_not_exist").Create(ctx, &u2); err == nil {
    		t.Fatalf("expected error for missing table, got nil")
    	}
    	if r2.Error == nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy

            VersionNumber.parse("8.9")  | ["8.9.1", "8.10.1", "8.11.0-rc01", "8.12.0-beta01", "8.13.0-alpha01", "9.0.0-alpha11"]
        }
    
        def "fail when minimumSupported higher than gradle major when matching gradle major stable or rc available"() {
            given:
            def gradleVersion = GradleVersion.version("9.2")
            def minimumSupported = VersionNumber.parse("8.9")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 15 06:57:24 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
        ImmutableDoubleArray.of().forEach(i -> fail());
        ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableDoubleArray.of(0, 1, 2, 3)
            .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. 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");
            }
        }
    
        @Test
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent class FessSystemException
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (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`.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. tensorflow/c/eager/c_api_cluster_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteOp(op);
    
      // The device of var_handle1 is remote device, which was replaced during
      // cluster update. Removing resource with invalid device should fail
      // gracefully (i.e., with error status) instead of crashing with segfaults.
      op = TFE_NewOp(ctx, "DestroyResourceOp", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            // Verify all expected configuration constants are defined
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
    
            // These constants should be accessible (would fail at compile time if not)
            assertTrue(SpnegoAuthenticator.class.getName().contains("SpnegoAuthenticator"));
    
            // Verify authenticator is properly named (no typo)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top