Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 214 for expects (0.03 seconds)

  1. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Expected error";
            try {
                throw new FessSystemException(expectedMessage);
            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

                assertContains(cleanupHint)
            }
        }
    
        private
        fun StringWriter.assertContains(text: String) {
            Assertions.assertTrue(toString().contains(text)) {
                "Did not find expected error message in $this"
            }
        }
    
        protected
        data class Change(val type: String, val member: String) {
            override fun toString(): String = "Type: '$type', Member: '$member'"
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Nov 29 14:03:44 GMT 2024
    - 6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            try {
                queryFieldConfig.isApiResponseField("field1");
                fail("Should throw NullPointerException");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        @Test
        public void test_getResponseFields() {
            String[] fields = { "field1", "field2", "field3" };
            queryFieldConfig.setResponseFields(fields);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                pair.get(0).lang == Language.GROOVY &&
                pair.get(1).lang == Language.KOTLIN) {
                addError(errors, file, new Error(pair.get(0).line,
                    "Reversed order: found Groovy first then Kotlin. Expected Kotlin first then Groovy."));
            }
        }
    
        private static String parseSourceLang(String lineTrimmed) {
            var m = SOURCE_LANG_PATTERN.matcher(lineTrimmed);
            if (m.matches()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

        //                                                                        ============
        /**
         * Verify that the CRUD mode matches the expected mode.
         * Throws validation error if modes don't match.
         *
         * @param crudMode The current CRUD mode
         * @param expectedMode The expected CRUD mode
         * @param dictId The dictionary ID for error context
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         * When enabled, frequently searched terms are tracked and displayed.
         */
        @Size(max = 10)
        public String popularWord;
    
        /**
         * Character encoding to use for CSV file exports.
         * This setting affects the encoding of downloaded CSV files.
         */
        @Required
        @Size(max = 20)
        public String csvFileEncoding;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

            for (String uri : imageUris) {
                resetMocks();
                mockRequest.setRequestURI(uri);
                testableFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
                assertTrue("Expected pass-through for: " + uri, mockFilterChain.wasDoFilterCalled());
            }
        }
    
        @Test
        public void test_doFilter_fontExcluded() throws IOException, ServletException {
            setConfig(10, 10);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  8. src/main/webapp/js/admin/adminlte.min.js

     * Copyright 2014-2022 Colorlib <https://colorlib.com>
     * Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 45.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

            try {
                testScriptEngine.register();
                fail("Should throw exception when factory is null");
            } catch (NullPointerException e) {
                // Expected exception
            }
        }
    
        // Test concrete implementation with different name
        @Test
        public void test_differentNameImplementation() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            assertEquals(option1.getFieldNaming(), option2.getFieldNaming());
        }
    
        @Test
        public void test_allMethodsReturnExpectedValues() {
            // Comprehensive test to verify all methods return expected values
            FessJsonResourceProvider testProvider = new FessJsonResourceProvider();
    
            // Verify nulls suppression is enabled
            assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top