Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 1,423 for mail (0.02 sec)

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

                // If no exception thrown, test passes
                assertTrue(true);
            } catch (Exception e) {
                fail("initializeProbes should not throw exception: " + e.getMessage());
            }
        }
    
        public void test_main_withHelp() {
            // Test main method with help option
            PrintStream originalErr = System.err;
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            TermQuery termQuery = new TermQuery(new Term("title", "test"));
    
            try {
                queryCommand.execute(queryContext, termQuery, 1.0f);
                fail("Should throw InvalidQueryException");
            } catch (InvalidQueryException e) {
                // Expected exception
                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
    - 11.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(1, result.getArtifacts().size());
    
            //
            // Put in a bogus file to make sure missing files cause the resolution to fail.
            //
            file = new File(getBasedir(), "src/test/repository-system/maven-monkey-2.1.0.jar");
            assertFalse(file.exists());
            d.setSystemPath(file.getCanonicalPath());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_null() {
            try {
                jodExtractor.getText(null, null);
                fail();
            } catch (CrawlerSystemException e) {
                // NOP
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top