Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 913 for Mail (0.05 sec)

  1. 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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            try {
                preauthService.validatePreauthIntegrity(sessionId, incorrectHash);
                fail("Expected CIFSException");
            } catch (CIFSException e) {
                // Expected
            }
    
            assertFalse(context.isValid());
    
            // Further operations on invalid context should fail
            assertThrows(CIFSException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. android/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 does
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. 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
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. internal/lock/lock_test.go

    		}
    	}()
    
    	_, err = LockedOpenFile(f.Name(), os.O_APPEND, 0o600)
    	if err == nil {
    		t.Fatal("Should fail here")
    	}
    }
    
    // Tests lock directory fail.
    func TestLockDirFail(t *testing.T) {
    	d := t.TempDir()
    
    	_, err := LockedOpenFile(d, os.O_APPEND, 0o600)
    	if err == nil {
    		t.Fatal("Should fail here")
    	}
    }
    
    // Tests rwlock methods.
    func TestRWLockedFile(t *testing.T) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            options.addOption(Option.builder(FAIL_AT_END)
                    .longOpt("fail-at-end")
                    .desc("Only fail the build afterwards; allow all non-impacted builds to continue")
                    .build());
            options.addOption(Option.builder(FAIL_NEVER)
                    .longOpt("fail-never")
                    .desc("NEVER fail the build, regardless of project result")
                    .build());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 04:56:48 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. 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());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. 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());
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            : !iterable.iterator().hasNext();
      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
      public static void assertEmpty(Map<?, ?> map) {
        if (!map.isEmpty()) {
          fail("Not true that " + map + " is empty");
        }
      }
    
      public static void assertEqualInOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top