Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,122 for fails (0.02 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

    import okhttp3.tls.HeldCertificate
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

       * Returns whether the source has zero bytes. The default implementation first checks {@link
       * #sizeIfKnown}, returning true if it's known to be zero and false if it's known to be non-zero.
       * If the size is not known, it falls back to opening a stream and checking for EOF.
       *
       * <p>Note that, in cases where {@code sizeIfKnown} returns zero, it is <i>possible</i> that bytes
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. 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");
            }
        }
    
        public void test_inheritance() {
            // Test inheritance hierarchy
            DataStoreException exception = new DataStoreException("Test");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

        }
    
        public void test_shutdown_withoutListener() {
            // Test shutdown without listener should throw NullPointerException
            try {
                jobExecutor.shutdown();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected exception
                assertNotNull(e);
            }
        }
    
        public void test_shutdown_multipleCalls() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static junit.framework.Assert.fail;
    
    import com.google.common.testing.TearDown;
    import com.google.common.testing.TearDownAccepter;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. 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)
  7. 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));
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top