Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 929 for Fail (0.02 sec)

  1. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                // In test environments, system monitoring may fail due to missing dependencies
                // or restricted access to system resources. This is acceptable.
                // We primarily want to ensure the method can be called without compilation errors
    
                // Log the exception for debugging purposes but don't fail the test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/JobLogTests.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() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            } catch (FessUserNotFoundException e) {
                assertEquals("User is not found: nonexistentuser", e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught FessUserNotFoundException");
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent exception type
            String username = "testuser";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        }
    
        // Test executePython with blank filename
        public void test_executePython_blankFilename() {
            pythonJob.filename("");
    
            try {
                pythonJob.executePython();
                fail("Should throw JobProcessingException");
            } catch (JobProcessingException e) {
                assertEquals("Python script is not specified.", e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

                CustomSizeValidator.class.getMethod("isValid", CharSequence.class, ConstraintValidatorContext.class);
                assertTrue("Required methods exist", true);
            } catch (final NoSuchMethodException e) {
                fail("Required methods should exist: " + e.getMessage());
            }
        }
    
        public void test_inheritance() {
            assertTrue("Should implement ConstraintValidator interface",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.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() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        }
    
        public void test_valueOf_invalidName() {
            // Test valueOf with invalid name throws exception
            try {
                SsoResponseType.valueOf("INVALID");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("INVALID"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        }
    
        public void test_preprocessUri_null() {
            try {
                fsClient.preprocessUri(null);
                fail();
            } catch (final CrawlerSystemException e) {}
            try {
                fsClient.preprocessUri("");
                fail();
            } catch (final CrawlerSystemException e) {}
        }
    
        public void test_doHead_file() throws Exception {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import assertk.fail
    import java.io.File
    import java.io.FileNotFoundException
    import java.io.IOException
    import java.util.ArrayDeque
    import kotlin.test.assertFailsWith
    import okhttp3.SimpleProvider
    import okhttp3.TestUtil
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
Back to top