- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,026 for FAIL (0.02 seconds)
-
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"); } } @Test public void test_throwAndCatchWithCause() { // Test throwing and catching the exception with cause
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertDone(future); 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); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
assertThat(iia.subArray(1, 5).contains(1)).isTrue(); } public void testForEach() { ImmutableIntArray.of().forEach(i -> fail()); ImmutableIntArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail()); AtomicInteger count = new AtomicInteger(0); ImmutableIntArray.of(0, 1, 2, 3).forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java
*/ package org.codelibs.fess.it.admin.dict; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.BeforeEach;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.3K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
import okhttp3.Request import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.Response import okhttp3.TestUtil.assumeNotWindows import okhttp3.testing.PlatformRule import org.junit.jupiter.api.Assertions.fail import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension @Suppress("ktlint:standard:max-line-length") class LoggingEventListenerTest {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 10.2K bytes - Click Count (0) -
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:"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
/** * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running * a robolectric test. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */ fun initialize(applicationContext: Context) { if (PlatformRegistry.applicationContext == null) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
messages.addErrorsFrontHeader(null); fail("Should throw exception for null property"); } catch (IllegalArgumentException e) { // Expected } } @Test public void test_addConstraintsDecimalMaxMessage_nullProperty() { try { messages.addConstraintsDecimalMaxMessage(null, "100"); fail("Should throw exception for null property");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.9K bytes - Click Count (0) -
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) -
src/main/java/jcifs/pac/PacMac.java
* @param key the encryption key to use for MAC calculation * @param data the data to calculate the MAC for * @return the calculated MAC bytes * @throws GeneralSecurityException if cryptographic operations fail */ public static byte[] calculateMacArcfourHMACMD5(int keyusage, Key key, byte[] data) throws GeneralSecurityException { int ms_usage = mapArcfourMD5KeyUsage(keyusage);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9K bytes - Click Count (0)