Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Jones (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertNotNull(robotsTxt.getDirective("goodbot"));
            assertFalse(robotsTxt.allows("/admin/", "GoodBot"));
            assertTrue(robotsTxt.allows("/public/", "GoodBot"));
            // Invalid directives should not cause parsing to fail
    
            // Test crawl-delay with invalid values
            // Invalid number should be ignored, valid ones should work
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacSidAttributesTest.java

            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
            assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * EncodingHelper provides utility methods for managing and normalizing character encodings.
     * It allows setting a default encoding, mapping various encoding names to preferred ones,
     * and normalizing an encoding string to its preferred form or the default if no mapping is found.
     */
    public class EncodingHelper {
    
        /** The default encoding to use when no mapping is found */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Deletes all old crawling info sessions except currently running ones.
         *
         * @return JSON response indicating the deletion status
         */
        // DELETE /api/admin/crawlinginfo/all
        @Execute
        public JsonResponse<ApiResult> delete$all() {
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

        // Supplies a range of normal and edge case values.
        private static Stream<Arguments> valueProvider() {
            return Stream.of(Arguments.of(0, 0L, 0L, 0L, 0L), // all zeros
                    Arguments.of(1, 1L, 1L, 1L, 1L), // ones
                    Arguments.of(123, 456L, 789L, 101112L, 131415L), // arbitrary positives
                    Arguments.of(Integer.MAX_VALUE, Long.MAX_VALUE, Long.MIN_VALUE, 999_999_999_999L, -1L), // extremes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

        }
    
        public void test_parseXmlSitemaps_mixedValidInvalid() {
            // Mix of valid and invalid entries should parse valid ones
            final String xml =
                    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // All patterns should be accepted
            assertDoesNotThrow(() -> request.setFileId(allZeros), "Should handle all-zeros file ID");
            assertDoesNotThrow(() -> request.setFileId(allOnes), "Should handle all-ones file ID");
            assertDoesNotThrow(() -> request.setFileId(alternating), "Should handle alternating pattern file ID");
        }
    
        @Test
        @DisplayName("Should create custom implementation of RequestWithFileId")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals(data2.getWeight(), data3.getWeight(), 0.001f);
        }
    
        public void test_overwritingValues() {
            // Test that later values overwrite earlier ones
            RequestData data = RequestDataBuilder.newRequestData()
                    .get()
                    .post()
                    .url("https://first.com")
                    .url("https://second.com")
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            byte[] zeroFileId = new byte[16];
            Smb2FlushRequest zeroRequest = new Smb2FlushRequest(mockConfig, zeroFileId);
            testFileIdInRequest(zeroRequest, zeroFileId);
    
            // Test with all ones
            byte[] onesFileId = new byte[16];
            Arrays.fill(onesFileId, (byte) 0xFF);
            Smb2FlushRequest onesRequest = new Smb2FlushRequest(mockConfig, onesFileId);
            testFileIdInRequest(onesRequest, onesFileId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request.setPath("third\\path\\");
            assertEquals("\\third\\path", request.getPath());
    
            // Multiple leading backslashes - only first one gets stripped, then trailing ones get stripped
            // But getPath() adds a backslash at the beginning, so \\fourth\path\\ becomes \fourth\path\
            request.setPath("\\\\fourth\\path\\\\");
            assertEquals("\\\\fourth\\path\\", request.getPath());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top