Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,171 for constants (0.07 sec)

  1. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            int result = crawler.doCrawl(options);
            assertEquals(Constants.EXIT_OK, result);
        }
    
        public void test_doCrawl_withWebConfigIds() {
            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session";
            options.webConfigIds = "web1,web2";
    
            int result = crawler.doCrawl(options);
            assertEquals(Constants.EXIT_OK, result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        public static String formatDate(final Date date) {
            if (date == null) {
                return StringUtil.EMPTY;
            }
            final SimpleDateFormat sdf = new SimpleDateFormat(Constants.ISO_DATETIME_FORMAT);
            sdf.setTimeZone(Constants.TIMEZONE_UTC);
            return sdf.format(date);
        }
    
        /**
         * Formats a LocalDateTime object to ISO datetime string format.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                }
            }
    
            assertEquals("Should have exactly one serialVersionUID", 1, serialVersionUIDCount);
            assertTrue("Should have many label constants", labelConstantCount > 100);
        }
    
        /**
         * Test that label constant values match their field names
         */
        public void test_labelConstantValueMatchesName() throws Exception {
            Field[] fields = FessLabels.class.getDeclaredFields();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                for (final String labelTypeValue : labelList) {
                    for (final Map<String, String> map : labelTypeItems) {
                        if (map.get(Constants.ITEM_VALUE).equals(labelTypeValue)) {
                            buf.append(' ');
                            buf.append(map.get(Constants.ITEM_LABEL));
                            break;
                        }
                    }
                }
            }
            return buf.toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

        }
    
        @Nested
        @DisplayName("Header Constants")
        class HeaderConstants {
    
            @Test
            @DisplayName("SMB2 header length should be 64 bytes")
            void testSmb2HeaderLength() {
                assertEquals(64, Smb2Constants.SMB2_HEADER_LENGTH, "SMB2 header must be exactly 64 bytes");
            }
        }
    
        @Nested
        @DisplayName("Negotiation Constants")
        class NegotiationConstants {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            if (Constants.TRUE.equalsIgnoreCase(osddLinkEnabled)) {
                return true;
            }
    
            if (!Constants.AUTO.equalsIgnoreCase(osddLinkEnabled)) {
                return false;
            }
    
            final String ssoType = fessConfig.getSsoType();
            return StringUtil.isBlank(ssoType) || Constants.NONE.equalsIgnoreCase(ssoType);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java

            }
            return st;
        }
    
        public boolean isLoggingEnabled() {
            return Constants.T.equals(getJobLogging());
        }
    
        public boolean isCrawlerJob() {
            return Constants.T.equals(getCrawler());
        }
    
        public boolean isEnabled() {
            return Constants.T.equals(getAvailable());
        }
    
        public boolean isRunning() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacConstantsTest.java

    /**
     * Tests for the PacConstants interface.
     * This test class verifies that the constant values defined in PacConstants are correct.
     */
    class PacConstantsTest {
    
        /**
         * Tests that the constant values in the PacConstants interface match their expected values.
         * This prevents accidental modification of these critical constants.
         */
        @Test
        void testConstantValues() {
            // Verify the PAC version
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Check all constants are unique
            for (int i = 0; i < constants.length; i++) {
                for (int j = i + 1; j < constants.length; j++) {
                    assertTrue(constants[i] != constants[j], "Constants at index " + i + " and " + j + " should be unique");
                }
            }
        }
    
        /**
         * Test mock implementation of FileInformation interface
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java

     * @param source The source file of core extensions, is never {@code null}.
     * @param coreExtensions The configured core extensions, is never {@code null}. Contents of list is guaranteed to be unique by GA.
     *
     * @see Constants#MAVEN_PROJECT_EXTENSIONS
     * @see Constants#MAVEN_USER_EXTENSIONS
     * @see Constants#MAVEN_INSTALLATION_EXTENSIONS
     */
    @Experimental
    public record CoreExtensions(Path source, List<CoreExtension> coreExtensions) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 13 12:50:59 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top