Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getTestData1 (0.06 sec)

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

            regexRule.addRule("httpStatusCode", Pattern.compile("200"));
    
            assertTrue(regexRule.match(getTestData1()));
            assertTrue(regexRule.match(getTestData2()));
            assertFalse(regexRule.match(getTestData3()));
            assertFalse(regexRule.match(getTestData4()));
        }
    
        private ResponseData getTestData1() {
            final ResponseData responseData = new ResponseData();
            responseData.setHttpStatusCode(200);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top