Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 4,439 for test$ (0.02 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            }
        }
    
        @Test
        public void test_addCondition() {
            // Test adding conditions
            generator = new TestThumbnailGenerator();
    
            // Test adding single condition
            generator.addCondition("field1", "value1");
    
            // Test adding multiple conditions for same field
            generator.addCondition("field1", "value2");
    
            // Test adding conditions for different fields
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        }
    
        @Test
        public void test_getName() {
            assertEquals("groovy", groovyEngine.getName());
        }
    
        // ===== Null-Safety Tests =====
    
        /**
         * Test that evaluate returns null for null template
         */
        @Test
        public void test_evaluate_nullTemplate() {
            final Map<String, Object> params = new HashMap<>();
            params.put("test", "value");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

        }
    
        // ========== Security Tests ==========
    
        /**
         * Security test: Verify that unregistered classes are rejected during serialization.
         * This test ensures that the Kryo registration requirement is working correctly.
         * Unregistered classes should throw an exception to prevent potential RCE attacks.
         */
        @Test
        public void test_security_unregisteredClassRejected() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            fileRenameInfo = new FileRenameInformation2();
        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            assertNotNull(fileRenameInfo);
        }
    
        @Test
        @DisplayName("Test parameterized constructor")
        void testParameterizedConstructor() {
            String fileName = "test.txt";
            boolean replaceIfExists = true;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. cmd/utils_test.go

    		{[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"},
    	}
    
    	for i, test := range testCases {
    		foundPrefix := lcp(test.prefixes, true)
    		if foundPrefix != test.commonPrefix {
    			t.Fatalf("Test %d: Common prefix found: `%v`, expected: `%v`", i+1, foundPrefix, test.commonPrefix)
    		}
    	}
    }
    
    func TestGetMinioMode(t *testing.T) {
    	testMinioMode := func(expected string) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class DataStoreCrawlingExceptionTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor_withUrlMessageAndException() {
            // Test with URL, message, and exception (abort defaults to false)
            String url = "http://example.com/test";
            String message = "Test error message";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/CurlResponseTest.java

    import org.codelibs.curl.io.ContentCache;
    import org.junit.Test;
    
    /**
     * Test class for CurlResponse.
     * Tests response handling, header operations, and content access.
     */
    public class CurlResponseTest {
    
        @Test
        public void testConstructor() {
            CurlResponse response = new CurlResponse();
            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertThat(graph.inDegree(N1)).isEqualTo(3);
      }
    
      @Test
      public void outDegree_selfLoop() {
        assume().that(graph.allowsSelfLoops()).isTrue();
    
        putEdge(N1, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(2);
        putEdge(N2, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(3);
      }
    
      // Stable order tests
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

    import org.codelibs.fess.suggest.normalizer.NormalizerChain;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.junit.AfterClass;
    import org.junit.BeforeClass;
    import org.junit.Test;
    
    /**
     * Edge case tests for DefaultContentsParser.
     * Tests boundary conditions, null handling, and error scenarios.
     */
    public class DefaultContentsParserEdgeCaseTest {
        static Suggester suggester;
        static OpenSearchRunner runner;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/InputValidatorTest.java

            assertDoesNotThrow(() -> InputValidator.validateBufferSize(0, 1000, "test"));
            assertDoesNotThrow(() -> InputValidator.validateBufferSize(1000, 1000, "test"));
        }
    
        @Test
        @DisplayName("Test invalid buffer size validation")
        void testInvalidBufferSize() {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top