Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 728 for test5 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    import com.google.common.io.BaseEncoding;
    
    public class FacetResponseTest extends UnitFessTestCase {
    
        @Test
        public void test_base64_encoding_decoding() {
            // Test that base64 encoding and decoding works correctly
            String originalString = "test field with spaces";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            };
    
            Artifact artifact = new Artifact("fess-theme-test", "1.0.0");
            Path result = mockThemeHelper.getJarFile(artifact);
            assertEquals(jarPath, result);
        }
    
        @Test
        public void test_getJarFile_notExists() {
            try {
                Artifact artifact = new Artifact("fess-theme-test", "1.0.0");
                themeHelper.getJarFile(artifact);
                fail("Should throw ThemeException");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test with only whitespace value
            value = "password=   ";
            result = ParameterUtil.encrypt(value);
            assertTrue(result.contains("password={cipher}"));
        }
    
        @Test
        public void test_loadConfigParams() {
            Map<String, Object> paramMap;
            String configParam;
    
            // Test with empty map and null config
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

        }
    
        @Test
        public void test_getUserId() {
            // Test with normal user
            testUser.setName("testuser");
            assertEquals("testuser", fessUserBean.getUserId());
    
            // Test with another name
            testUser.setName("admin");
            assertEquals("admin", fessUserBean.getUserId());
        }
    
        @Test
        public void test_getPermissions() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            item.setNewInput(null);
            assertFalse(item.isDeleted());
        }
    
        @Test
        public void test_hashCode() {
            // Test hashCode method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
            StopwordsItem item4 = new StopwordsItem(1, "different");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

        }
    
        @Test
        public void test_oneWayCryptography() {
            // Test that one-way cryptographer is available
            OneWayCryptographer cryptographer = securityResourceProvider.providePrimaryOneWayCryptographer();
            assertNotNull(cryptographer);
        }
    
        @Test
        public void test_oneWayCryptography_consistency() {
            // Test that same cryptographer instance is returned
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception has serialVersionUID
            // This test verifies the exception is serializable
            String message = "Serialization test";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly captured
            JobNotFoundException exception = new JobNotFoundException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify the stack trace contains this test method
            boolean foundTestMethod = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/api/engine/SearchEngineApiManagerTest.java

        }
    
        // Basic test to verify test framework is working
        @Test
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        @Test
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/auth/chain/CommandChainTest.java

        }
    
        // Basic test to verify test framework is working
        @Test
        public void test_basicAssertion() {
            assertTrue(true);
            assertFalse(false);
            assertNotNull("test");
            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        @Test
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.9K bytes
    - Click Count (0)
Back to Top