Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 691 for true (0.01 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            TestRule rule = new TestRule("rule1", true);
    
            ruleManager.addRule(rule);
    
            assertTrue(ruleManager.hasRule(rule));
            assertEquals(1, ruleManager.getRuleCount());
        }
    
        /**
         * Test adding multiple rules
         */
        public void test_addRule_multiple() {
            TestRule rule1 = new TestRule("rule1", true);
            TestRule rule2 = new TestRule("rule2", false);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            when(crawlerContainer.available()).thenReturn(true);
        }
    
        /**
         * Test isValid method with a valid URL queue.
         */
        public void test_isValid_validUrlQueue() throws Exception {
            final UrlQueue<?> urlQueue = new UrlQueueImpl<>();
            urlQueue.setUrl("http://example.com/");
            urlQueue.setDepth(1);
    
            when(urlFilter.match(anyString())).thenReturn(true);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * Returns {@literal true} if the array is not {@literal null} and its length is not 0.
         *
         * @param arrays
         *            the array
         * @return {@literal true} if the array is not {@literal null} and its length is not 0
         */
        public static boolean isNotEmpty(final boolean[] arrays) {
            return arrays != null && arrays.length != 0;
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbOperationException.java

            OUT_OF_MEMORY("Out of memory", ErrorCategory.RESOURCE, true), TOO_MANY_SESSIONS("Too many sessions", ErrorCategory.RESOURCE,
                    true), RESOURCE_LOCKED("Resource is locked", ErrorCategory.RESOURCE, true),
    
            // Transient errors
            BUSY("Server busy", ErrorCategory.TRANSIENT, true), TRY_AGAIN("Try again later", ErrorCategory.TRANSIENT,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * rule.addRule("contentType", "text/html");
     * rule.setAllRequired(true); // Both URL and content type must match
     *
     * ResponseData responseData = new ResponseData();
     * responseData.setUrl("https://example.com/page1");
     * responseData.setContentType("text/html");
     *
     * boolean matches = rule.match(responseData); // Returns true
     * }
     * </pre>
     *
     */
    public class RegexRule extends AbstractRule {
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTreeHandleTest.java

         */
        @Test
        void testIsSameTree() {
            SmbTreeHandle anotherHandle = mock(SmbTreeHandle.class);
            when(smbTreeHandle.isSameTree(smbTreeHandle)).thenReturn(true);
            when(smbTreeHandle.isSameTree(anotherHandle)).thenReturn(false);
    
            assertTrue(smbTreeHandle.isSameTree(smbTreeHandle), "isSameTree should return true for the same handle");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            assertThat(beanDesc.hasFieldDesc("HOGE"), is(true));
            final FieldDesc fieldDesc = beanDesc.getFieldDesc("HOGE");
            assertThat(fieldDesc.getFieldName(), is("HOGE"));
            assertThat(beanDesc.hasFieldDesc("aaa"), is(true));
            assertThat(beanDesc.hasFieldDesc("aaA"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/spnego/NegTokenInit.java

         * @param flag the context flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean getContextFlag(final int flag) {
            return (getContextFlags() & flag) == flag;
        }
    
        /**
         * Sets or clears a specific context flag
         * @param flag the context flag to set or clear
         * @param value true to set the flag, false to clear it
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("3", true, StringUtil.isNotBlank("a"));
            assertEquals("4", true, StringUtil.isNotBlank(" a "));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            assertEquals("1", true, StringUtil.contains("a", 'a'));
            assertEquals("2", true, StringUtil.contains("abc", 'b'));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/KeyMatchPager.java

            this.allPageCount = allPageCount;
        }
    
        /**
         * Returns true if a previous page exists.
         *
         * @return True if a previous page exists.
         */
        public boolean isExistPrePage() {
            return existPrePage;
        }
    
        /**
         * Sets whether a previous page exists.
         *
         * @param existPrePage True if a previous page exists.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top