Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2001 - 2010 of 2,267 for Methods (0.06 sec)

  1. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            AnalyzerConverter testConverter = new AnalyzerConverter(client, settings);
            assertNotNull(testConverter);
        }
    
        @Test
        public void testInit() throws IOException {
            // Test init method (should do nothing)
            converter.init();
            // No exception should be thrown
        }
    
        @Test
        public void testConvertWithNoLanguages() throws IOException {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

            if (directive == null) {
                return 0;
            }
            return directive.getCrawlDelay();
        }
    
        /**
         * Returns the most specific directive matching the given user agent.
         * The method finds the longest matching user agent pattern in the directives,
         * excluding the general "*" pattern which matches all bots.
         *
         * @param userAgent the user agent string to match against directives,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            try {
                indexUpdateCallback.isUrlCrawlable(paramMap, null);
                fail("Expected NullPointerException for null URL");
            } catch (NullPointerException e) {
                // Expected behavior - the method doesn't handle null URLs
            }
        }
    
        public void test_isUrlCrawlable_nullUrlWithoutPattern() {
            DataStoreParams paramMap = new DataStoreParams();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 23:31:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            }
            return redirect(getClass()); // no-op
        }
    
        /**
         * Creates a CURL request from the provided header string.
         *
         * @param header the header string containing HTTP method and path
         * @return CURL request object or null if header is invalid
         */
        private CurlRequest getCurlRequest(final String header) {
            if (StringUtil.isBlank(header)) {
                return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Credentials;
    
    /**
     * Tests for SmbRenewableCredentials interface.
     *
     * Since this file is an interface with a single method, we provide small
     * helper implementations to exercise expected interaction patterns and edge cases.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbRenewableCredentialsTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
        @Test
        void testChannelSelection() {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
      private static void assertMean(long expectedMean, long x, long y) {
        assertEquals(
            "The expectedMean should be the same as computeMeanSafely",
            expectedMean,
            computeMeanSafely(x, y));
        assertMean(x, y);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                protected void install(Artifact artifact) {
                    // Mock install method
                }
            };
    
            Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar");
    
            try {
                testHelper.installArtifact(artifact);
                // If we get here, the method executed without throwing
                assertTrue(true);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                }
            }
            return target;
        }
    
        /**
         * Commits any remaining documents in the cache to the index.
         * This method ensures all pending documents are processed.
         */
        @Override
        public void commit() {
            synchronized (docList) {
                if (!docList.isEmpty()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        /**
         * The main method for the SuggestCreator application.
         *
         * @param args The command-line arguments.
         */
        public static void main(final String[] args) {
            final Options options = new Options();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top