Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 214 for expects (0.04 seconds)

  1. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            try {
                authenticator.getParentGroup(null, "test-id", 4);
                // If we reach here without NullPointerException, depth check passed
            } catch (NullPointerException e) {
                // Expected due to null user - depth check passed, processing attempted
                assertTrue(true);
            } catch (Exception e) {
                // Other exceptions are also acceptable as we're testing depth logic
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

        }
    
        private void assertQueryBuilder(final String expect, final String text) throws Exception {
            QueryContext queryContext = assertQueryBuilder(null, null, text);
            List<SortBuilder<?>> sortBuilders = queryContext.sortBuilders();
            assertEquals(1, sortBuilders.size());
            logger.info("{} => {}", text, sortBuilders.get(0).toString());
            assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
        private
        fun CheckResult.assertBinaryCompatible() {
            assertTrue(richReport.toAssertionMessage("Expected to be compatible but the check failed"), isBinaryCompatible)
        }
    
        private
        fun CheckResult.assertNotBinaryCompatible() {
            assertFalse(richReport.toAssertionMessage("Expected to be breaking but the check passed"), isBinaryCompatible)
        }
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  4. src/main/webapp/js/admin/plugins/form-validator/lang/ko.js

     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 3K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ConfigurationExtensions.kt

    import java.io.File
    
    fun Configuration.getSingleFileProvider(): Provider<File> {
        val name = this.name
        return incoming.files.elements.map {
            require(it.size <= 1) {
                "Expected at most one file in configuration '$name' but found: $it"
            }
            it.firstOrNull()?.asFile
        }
    }
    
    fun NamedDomainObjectProvider<Configuration>.getSingleFileProvider(): Provider<File> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                    throw new RuntimeException("Repository error");
                }
            };
    
            try {
                errorHelper.getAvailableArtifacts(ArtifactType.DATA_STORE);
                fail("Expected PluginException");
            } catch (PluginException e) {
                assertTrue(e.getMessage().contains("Failed to access"));
            }
        }
    
        @Test
        public void test_getInstalledArtifacts_unknown() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        //                                                                        ============
        /**
         * Verify that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         * @param dictId the dictionary ID for error redirection
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // We can only verify the method handles missing container gracefully
            try {
                generator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
        }
    
        @Test
        public void test_addCondition() {
            // Test adding conditions
    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)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            try {
                fessConfig.get("non.existent.property");
                fail("Should throw exception for non-existent property");
            } catch (ConfigPropertyNotFoundException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
        }
    
        // Test system property without prefix
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            final List<Map<String, Object>> documents = new ArrayList<>();
            requestBody.put("documents", documents);
    
            // Execute bulk create with empty list - expect error status (1)
            checkMethodBase(requestBody).put(API_PATH + "/" + BULK_ENDPOINT).then().body("response.status", equalTo(1));
    
            logger.info("[END] bulkCreateEmptyListTest");
        }
    
        @Test
    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)
Back to Top