Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for fail (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

                extractor.testValidateInputStream(null);
                fail("Expected CrawlerSystemException");
            } catch (final CrawlerSystemException e) {
                // Verify it's exactly CrawlerSystemException, not a subclass
                assertEquals("Should throw CrawlerSystemException", CrawlerSystemException.class, e.getClass());
            } catch (final Exception e) {
                fail("Should throw CrawlerSystemException, not " + e.getClass().getName());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

            } catch (IllegalArgumentException e) {
                fail();
            }
    
            try {
                settings.badword().add("");
                fail();
            } catch (IllegalArgumentException e) {
                assertTrue(true);
            }
    
            try {
                settings.badword().add("aaaa bbb");
                fail();
            } catch (IllegalArgumentException e) {
                assertTrue(true);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java

            try {
                client.checkMaxContentLength(responseData);
                fail();
            } catch (MaxLengthExceededException e) {
                // ok
            }
    
            responseData.setContentLength(1000000000L);
            try {
                client.checkMaxContentLength(responseData);
                fail();
            } catch (MaxLengthExceededException e) {
                // ok
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            // Arrange
            SmbPipeOutputStream out = newStream();
            CIFSException boom = new CIFSException("tree-fail");
            when(handle.ensureTreeConnected()).thenThrow(boom);
    
            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, out::ensureTreeConnected);
            assertEquals("tree-fail", ex.getMessage());
            verify(handle, times(1)).ensureTreeConnected();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.getEntry(2).getElement(), is("3"));
            try {
                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
            try {
                list.getEntry(3);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            method.setAccessible(true);
    
            // This should fail because localhost doesn't support SMB multi-channel
            // but the method should not throw NullPointerException
            try {
                method.invoke(multiChannelManager, localhost, loopback);
                // If it doesn't throw, that's unexpected for localhost
                fail("Expected CIFSException for localhost multi-channel attempt");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java

                new ICUNormalizer(null);
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertEquals("transliteratorId must not be null", e.getMessage());
            }
        }
    
        public void test_invalidTransliteratorId() {
            try {
                new ICUNormalizer("Invalid-Transliterator-ID-12345");
                fail("Expected IllegalArgumentException");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacMac.java

         * @param key the encryption key to use for MAC calculation
         * @param data the data to calculate the MAC for
         * @return the calculated MAC bytes
         * @throws GeneralSecurityException if cryptographic operations fail
         */
        public static byte[] calculateMacArcfourHMACMD5(int keyusage, Key key, byte[] data) throws GeneralSecurityException {
            int ms_usage = mapArcfourMD5KeyUsage(keyusage);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

                lhaExtractor.getText(in, null);
                fail();
            } catch (MaxLengthExceededException e) {
                // pass
            }
            lhaExtractor.setMaxContentSize(-1);
        }
    
        public void test_getText_null() {
            try {
                lhaExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

         */
        public void test_getText_nullInputStream_throwsWithMessage() {
            try {
                textExtractor.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
    - 8.9K bytes
    - Viewed (0)
Back to top