Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 837 for iofail (0.07 sec)

  1. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            });
    
            // The StoredLtrQueryBuilder.params() method requires non-null params
            // so this should throw a NullPointerException
            try {
                ltrQueryRescorer.evaluate(null);
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected behavior - StoredLtrQueryBuilder requires non-null params
                assertNotNull(e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    import static java.util.Collections.frequency;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            transformer.setThrowInTransform(true);
    
            ResponseData responseData = new ResponseData();
    
            try {
                transformer.transform(responseData);
                fail("Should throw CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Transform exception", e.getMessage());
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            // Verify null chain doesn't cause issues during operations
            User user = createTestUser("testuser");
            try {
                authenticationManager.insert(user);
                fail("Should throw NullPointerException when processing null chain");
            } catch (NullPointerException e) {
                // Expected behavior when null chain is processed
                assertTrue(true);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            QueryContext context = new QueryContext("test", false);
            TermQuery termQuery = new TermQuery(new Term("field", "value"));
    
            try {
                queryProcessor.execute(context, termQuery, 1.0f);
                fail();
            } catch (InvalidQueryException e) {
                // expected
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { ap })));
    
            // APPLICATION tag 3 with empty sequence - will fail during KerberosTicket parsing
            // but shows that APPLICATION tag is properly recognized
            DERSequence emptyBase = new DERSequence(new ASN1EncodableVector());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/HandlerTest.java

            Handler.setURLStreamHandlerFactory(mockFactory1); // First call, should succeed.
    
            assertThrows(IllegalStateException.class, () -> {
                Handler.setURLStreamHandlerFactory(mockFactory2); // Second call, should fail.
            }, "Setting the factory a second time should throw IllegalStateException.");
        }
    
        @Test
        void testOpenConnection_WithCustomFactory() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        }
    
        public void test_generate_outputFile_null() throws Exception {
            generator.setCommandList(Collections.singletonList("echo test"));
            try {
                generator.generate("test_id", null);
                fail("Should throw exception for null output file");
            } catch (final Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_generate_thumbnailId_null() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

         * Test creation with null component name
         */
        public void test_create_nullComponentName() {
            factory.setComponentName(null);
    
            try {
                factory.create();
                fail("Should throw exception for null component name");
            } catch (Exception e) {
                // Expected behavior
                assertTrue(true);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

        public void test_register_nullFactory() {
            ComponentUtil.register(null, "scriptEngineFactory");
    
            try {
                testScriptEngine.register();
                fail("Should throw exception when factory is null");
            } catch (NullPointerException e) {
                // Expected exception
            }
        }
    
        // Test concrete implementation with different name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top