- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 1,026 for FAIL (0.02 seconds)
-
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
@Test public void test_execute_withInvalidScriptType() { // Try to execute with non-existent script type try { scriptExecutor.execute("nonexistent", "some script"); fail("Expected ScriptEngineException"); } catch (ScriptEngineException e) { assertTrue(e.getMessage().contains("nonexistent")); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* message passed to a later invocation of {@code fail()}, like "setCount should throw * UnsupportedOperationException." */ abstract void setCountNoCheckReturnValue(E element, int count); private void assertSetCountIncreasingFailure(E element, int count) { try { setCountNoCheckReturnValue(element, count); fail("a call to multiset.setCount() to increase an element's count should throw");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
private static void assertVisited(Type type) { TypeVisitor visitor = new BaseTypeVisitor(); try { visitor.visit(type); fail("Type not visited"); } catch (UnsupportedOperationException expected) { } try { visitor.visit(new Type[] {type}); fail("Type not visited"); } catch (UnsupportedOperationException expected) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
try { response.getContentAsStream(); fail("Expected CurlException"); } catch (CurlException e) { assertTrue(e.getMessage().contains("The content does not exist")); assertSame(exception, e.getCause()); } catch (IOException e) { fail("Should throw CurlException, not IOException"); } } @TestCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
// Should return early without doing anything try { notificationHelper.sendToSlack(null, discloser); } catch (Exception e) { fail("sendToSlack() should not throw an exception with blank URLs: " + e.getMessage()); } } @Test public void test_sendToSlack_withNullWebhookUrls() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0) -
gradlew.bat
echo location of your Java installation. 1>&2 goto fail :execute @rem Setup the command line @rem Execute Gradle "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* :end @rem End local scope for the variables with windows NT shell if %ERRORLEVEL% equ 0 goto mainEnd :fail
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 18 20:55:41 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/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; /* Open the file or create it if it does not existCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
if (getList().size() != expectedList.size()) { fail("size mismatch: " + reportContext(expectedList)); } for (int i = 0; i < expectedList.size(); i++) { E expected = expectedList.get(i); E actual = getList().get(i); if (expected != actual && (expected == null || !expected.equals(actual))) { fail("mismatch at index " + i + ": " + reportContext(expectedList)); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
} catch (ThemeException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught ThemeException, but caught: " + e.getClass()); } } @Test public void test_throwAndCatchWithCause() { // Test throwing and catching exception with cause
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
try { throw exception; } catch (DataStoreException e) { assertEquals("Serialization test", e.getMessage()); } catch (Exception e) { fail("Should have caught DataStoreException"); } } @Test public void test_inheritance() { // Test inheritance hierarchyCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.9K bytes - Click Count (0)