- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,653 for fail (0.02 seconds)
-
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
try { IntervalControlHelper.parseTime("12"); fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("Invalid time format: 12. Expected format: HH:MM", e.getMessage()); } try { IntervalControlHelper.parseTime("12:30:45"); fail("Should throw FessSystemException"); } catch (FessSystemException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
import assertk.assertions.isIn import assertk.assertions.isInstanceOf import assertk.assertions.isNotNull import assertk.assertions.matchesPredicate import assertk.assertions.startsWith import assertk.fail import java.io.IOException import java.net.ServerSocket import java.net.Socket import java.net.SocketException import java.util.concurrent.CompletableFuture import java.util.concurrent.RejectedExecutionException
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// When/Then - Should throw UnknownHostException quickly due to short timeouts UnknownHostException exception = assertThrows(UnknownHostException.class, () -> { nameServiceClient.getNbtByName("NONEXISTENT-FAST-FAIL"); }, "Should throw UnknownHostException for non-existent NetBIOS name"); // Verify the exception message indicates name resolution failureCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
logger.severe("InterruptenatorTask did not exit; future tests may be affected"); /* * This fail() helps as long as TearDownAccepter is a TearDownStack that was *not* * configured with suppressThrows=true. */ fail(); } }); } private InterruptionUtil() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:38:30 GMT 2026 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/context/SingletonContextTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.fail; import java.io.IOException; import java.lang.reflect.Field; import java.nio.file.Files; import java.nio.file.Path; import java.util.Properties; import org.junit.jupiter.api.AfterEach;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
android/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) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
* subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class * and its subclass in different packages, causing the serialization system to fail to invoke {@code * writeReplace} when serializing an instance of the subclass. For an example of this problem, see * b/310253115. */ @NullUnmarked public class WriteReplaceOverridesTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 03:07:54 GMT 2025 - 5.1K bytes - Click Count (0) -
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; /*Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.6K bytes - Click Count (0) -
cmd/erasure-metadata-utils_test.go
} } // Tests hashing order to fail for when order is '-1'. if hashedOrder := hashOrder("This will fail", -1); hashedOrder != nil { t.Errorf("Test: Expect \"nil\" but failed \"%#v\"", hashedOrder) } if hashedOrder := hashOrder("This will fail", 0); hashedOrder != nil { t.Errorf("Test: Expect \"nil\" but failed \"%#v\"", hashedOrder) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.atLeastOnce; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0)