Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for anyRoot (0.38 sec)

  1. src/test/java/jcifs/DfsResolverTest.java

        // Test for resolve method
        @Test
        void testResolve_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsResolver.resolve(mockContext, "anyDomain", "anyRoot", "anyPath"));
        }
    
        @Test
        void testResolve_NullRoot() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            // Test that orphaned directives (before any User-agent) are ignored
            // These should not affect any bot
            assertTrue(robotsTxt.allows("/orphaned1/", "AnyBot"));
            assertTrue(robotsTxt.allows("/orphaned2/", "AnyBot"));
    
            // Test GoodBot - should parse valid directives and ignore invalid ones
            assertNotNull(robotsTxt.getDirective("goodbot"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

            if (!isWindows) {
                // Should handle IOException gracefully and return null
                NbtAddress result = lmhosts.getByName("ANYHOST", mockContext);
                assertNull(result);
            }
    
            // Cleanup
            lmhostsFile.setReadable(true);
        }
    
        @Test
        void testPopulateDirectCall() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            Directive directive = new Directive("*");
            directive.addDisallow("/private/");
            robotsTxt.addDirective(directive);
    
            Directive matched = robotsTxt.getMatchedDirective("AnyBot");
            assertNotNull(matched);
            assertEquals("*", matched.getUserAgent());
        }
    
        public void test_getMatchedDirectiveMostSpecific() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top