Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 77 for expects (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // OutOfMemoryError is an Error, not Exception, so it will not be caught
            // The test should expect the error to propagate
            try {
                purgeDocJob.execute();
                fail("Expected OutOfMemoryError to be thrown");
            } catch (OutOfMemoryError e) {
                assertEquals("Out of memory", e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

            def snapshot = snapshot('4.3')
            def rc = releasedVersion('4.3-rc-1')
            def versions = releasedVersions(snapshot, rc, [])
            def version = new ReleasedVersion('4.2', '20170913122310+0000')
    
            expect:
            ReleasedVersionsHelperKt.updateReleasedVersions(version, versions) == releasedVersions(snapshot, rc, [version])
        }
    
        def "final releases are sorted by version"() {
            def snapshot = snapshot('4.3')
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. architecture/standards/0010-gradle-properties-naming.md

    Symmetrically, the same problem exists on the side of Gradle maintainers.
    It should be clear when introducing a property what contract users can expect and what we can afford to provide.
    As features progress through the lifecycle of stabilization and, possibly later, deprecation, the corresponding properties can also adjust accordingly.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 06 09:25:54 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
            options.numOfThreads = 5;
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]";
            assertEquals(expected, options.toString());
        }
    
        @Test
        public void test_initializeProbes() {
            // Test that initializeProbes doesn't throw exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                assertNotNull(result);
                assertTrue(result.contains("string"));
                assertTrue(result.contains("test"));
            } catch (IORuntimeException e) {
                // Expected in test environment due to OpenSearch XContent setup
                assertTrue(e.getCause() instanceof IOException);
            }
        }
    
        @Test
        public void test_getXContentString_withException() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            ldapManager.init();
    
            // Complex injection attempt should be fully escaped
            String injectionAttempt = "admin)(|(password=*";
            String expected = "admin\\29\\28|\\28password=\\2a";
            assertEquals(expected, ldapManager.escapeLDAPSearchFilter(injectionAttempt));
        }
    
        @Test
        public void test_escapeLDAPSearchFilter_withAllSpecialCharacters() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        private void assertArrayEquals(String[] expected, String[] actual) {
            if (expected == null && actual == null) {
                return;
            }
            if (expected == null || actual == null) {
                fail("Arrays are not equal: one is null");
            }
            assertEquals("Array lengths differ", expected.length, actual.length);
            for (int i = 0; i < expected.length; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
Back to Top