Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 967 for Mail (0.02 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            // First call should fail (no project ID set)
            try {
                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank"));
            }
    
            // Second call should also fail with the same error
            try {
                conn.connect();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                    }
                }
                fail("Should have thrown RuntimeException");
            } catch (RuntimeException e) {
                assertEquals("Simulated processing error", e.getMessage());
                // If InputStream wasn't properly closed, this would leak resources
                // try-with-resources ensures cleanup happens
            } catch (IOException e) {
                fail("Should not throw IOException: " + e.getMessage());
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

        public void test_validateInputStream_throwsExceptionForNull() {
            final TextExtractor extractor = container.getComponent("textExtractor");
    
            try {
                extractor.getText(null, null);
                fail("Expected CrawlerSystemException");
            } catch (final CrawlerSystemException e) {
                assertEquals("The inputstream is null.", e.getMessage());
            }
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

                  + "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]";
          if (!expected.getMessage().contains(expectedMessage)) {
            fail("<" + expected.getMessage() + "> expected to contain <" + expectedMessage + ">");
          }
          return;
        }
        fail();
      }
    
      /** An object with a friendly {@link #toString()}. */
      private static final class TestObject {
        final int group;
        final int item;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

                  + "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]";
          if (!expected.getMessage().contains(expectedMessage)) {
            fail("<" + expected.getMessage() + "> expected to contain <" + expectedMessage + ">");
          }
          return;
        }
        fail();
      }
    
      /** An object with a friendly {@link #toString()}. */
      private static final class TestObject {
        final int group;
        final int item;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  6. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            FtpInfo ftpInfo;
    
            try {
                ftpInfo = new FtpClient.FtpInfo(null, Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            try {
                ftpInfo = new FtpClient.FtpInfo("", Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            try {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. 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");
            }
        }
    
        @Test
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    file:c:\\foo\\bar.html file:///tmp/mock/path s:file p:/c:/foo/bar.html
    
    # Spaces should fail
    \s\sFile:c|////foo\\bar.html  s:file p:/c:////foo/bar.html
    
    # This should fail
    C|/foo/bar  s:file p:/C:/foo/bar
    
    # This should fail
    /C|\\foo\\bar  s:file p:/C:/foo/bar
    //C|/foo/bar  s:file p:/C:/foo/bar
    //server/file  s:file h:server p:/file
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_websockets/test_tutorial002.py

                pytest.fail(
                    "did not raise WebSocketDisconnect on __enter__"
                )  # pragma: no cover
    
    
    def test_websocket_invalid_data(app: FastAPI):
        client = TestClient(app)
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws?q=bar&token=some-token"):
                pytest.fail(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top