Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 214 for expects (0.05 seconds)

  1. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                } catch (Exception e) {
                    // Expected due to missing dependencies in test environment
                    assertTrue(true);
                    return;
                }
    
                assertEquals(0, functionBuilders.size());
            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java

        protected void assertEquals(String message, Object expected, Object actual) {
            Assertions.assertEquals(expected, actual, message);
        }
    
        // assertEquals - JUnit 4 style (message first) - int version
        protected void assertEquals(String message, int expected, int actual) {
            Assertions.assertEquals(expected, actual, message);
        }
    
        // assertSame - JUnit 5 style (no message)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        }
    
        def "#member change should not be reported"() {
            expect:
            noViolation(rule)
    
            where:
            member << [Mock(JApiMethod), Mock(JApiField), Mock(JApiImplementedInterface), Mock(JApiConstructor)]
        }
    
        def "nothing should be reported if no changes"() {
            expect:
            noViolation(rule)
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/FessUserTest.java

        private void assertArrayEquals(String[] expected, String[] actual) {
            if (expected == null && actual == null) {
                return;
            }
            assertNotNull(expected, "Expected array is null but actual is not");
            assertNotNull(actual, "Actual array is null but expected is not");
            assertEquals("Array lengths differ", expected.length, actual.length);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  5. AI_POLICY.md

    A pull request is not a finished product—it is the start of a conversation, and an implied contract: we promise to provide thoughtful feedback, and we expect the contributor to engage with us in return.
    
    ## What we expect from contributors
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String expected = "[testParam, [value1, value2]]";
            assertEquals(expected, param.toString());
        }
    
        @Test
        public void test_toString_withNullName() {
            // Test toString with null name
            String[] values = { "value1" };
            RequestParameter param = new RequestParameter(null, values);
    
            String expected = "[null, [value1]]";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        public void test_shutdown_withoutListener() {
            // Call shutdown without setting listener
            try {
                scriptExecutor.shutdown();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected behavior when no listener is set
            }
        }
    
        @Test
        public void test_addShutdownListener_replacesExisting() {
            // Add first listener
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            // setup condition
            cb.query().addOrderBy_SuggestWord_Asc();
    
            // search
    
        }
    
        /**
         * Imports elevate words from a CSV file.
         * Expected CSV format: SuggestWord, Reading, Permissions, Labels, Boost
         *
         * @param reader the Reader containing CSV data to import
         */
        public void importCsv(final Reader reader) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Map<String, Object> doc = new HashMap<>();
    
            String expected = "1";
            doc.put("key1", expected);
            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
            assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue());
            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            ComponentUtil.setFessConfig(fessConfig);
    
            // Execute and expect exception to be handled
            try {
                String result = pingSearchEngineJob.execute();
                // Job should handle exception gracefully
                assertNotNull(result);
            } catch (Exception e) {
                // Exception is expected to be caught within the job
                assertTrue(e.getMessage().contains("Connection failed"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top