- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,653 for fail (0.15 seconds)
-
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
} catch (SearchQueryException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught SearchQueryException"); } } @Test public void test_throwWithCauseAndCatch() { // Test throwing with cause and catching
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.fail; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.nio.charset.StandardCharsets; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.google; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multimap; /** * Helper methods/assertions for use with {@code com.google.common.collect} types. * * @author Colin DeckerCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java
return ITEM_ENDPOINT_SUFFIX; } @Override protected Map<String, Object> createTestParam(int id) { fail(); // Unreachable return null; } @Override protected Map<String, Object> getUpdateMap() { fail(); // Unreachable return null; } @Override protected void testRead() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
assertEquals("time.adjust.time.millis", FessEnv.TIME_ADJUST_TIME_MILLIS); assertEquals("mail.send.mock", FessEnv.MAIL_SEND_MOCK); assertEquals("mail.smtp.server.main.host.and.port", FessEnv.MAIL_SMTP_SERVER_MAIN_HOST_AND_PORT); assertEquals("mail.subject.test.prefix", FessEnv.MAIL_SUBJECT_TEST_PREFIX); assertEquals("mail.return.path", FessEnv.MAIL_RETURN_PATH); } // Test default values
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
include(":successful-report") """.trimIndent() ) fun File.writeFlakyTest(fail: Boolean) { mkdirsAndWriteText( """ class FlakyTest { @org.junit.jupiter.api.Test public void test() { ${if (fail) "throw new IllegalStateException();" else ""} } } """.trimIndent()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 10 00:16:44 GMT 2026 - 11.6K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
*/ @Nonnull Optional<Boolean> failAtEnd(); /** * Indicates whether Maven should never fail the build, regardless of project result. * * @return an {@link Optional} containing true if the build should never fail, false if it should fail normally, or empty if not specified */ @Nonnull Optional<Boolean> failNever(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
// Tamper with data (but not signature) data[100] = (byte) 0xFF; // Verify should fail boolean isValid = digest2.verify(data, 0, data.length, 0, response); assertFalse(isValid, "Tampered data should fail verification"); } @Test @DisplayName("Should handle different session keys")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDown.java
* * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on the version of * JUnit test case you are running under. To avoid failing in the face of an exception regardless * of JUnit version, implement a {@link SloppyTearDown} instead. * * <p>tl4j details: For backwards compatibility, {@code junit3.TearDownTestCase} currently doesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.9K bytes - Click Count (0)