Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 554 for Parse (0.07 sec)

  1. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            QueryParser queryParser = new QueryParser();
    
            Query query = queryParser.createDefaultFilterChain().parse("fess");
            assertEquals(TermQuery.class, query.getClass());
            assertEquals("_default:fess", ((TermQuery) query).getTerm().toString());
    
            query = queryParser.createDefaultFilterChain().parse("title:fess");
            assertEquals(TermQuery.class, query.getClass());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

    import kotlin.test.assertFailsWith
    import okhttp3.Protocol
    import okhttp3.internal.http.StatusLine.Companion.parse
    import org.junit.jupiter.api.Test
    
    class StatusLineTest {
      @Test
      fun parse() {
        val message = "Temporary Redirect"
        val version = 1
        val code = 200
        val statusLine = parse("HTTP/1.$version $code $message")
        assertThat(statusLine.message).isEqualTo(message)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "\"Fess,FESS\"";
            expected = Arrays.asList("\"Fess,FESS\"");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
            expected = Arrays.asList(" ");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            ClassDoc superType = classDoc("org.gradle.SuperType")
            ExtraAttributeDoc inheritedValue = new ExtraAttributeDoc(parse('<td>inherited</td>'), parse('<td>inherited</td>'))
            ExtraAttributeDoc overriddenValue = new ExtraAttributeDoc(parse('<td>general value</td>'), parse('<td>general</td>'))
            PropertyDoc inheritedPropertyA = propertyDoc('a', additionalValues: [inheritedValue, overriddenValue])
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CookieTest.kt

      @Test fun invalidCharacters() {
        assertThat(parse(url, "a\u0000b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0000d")).isNull()
        assertThat(parse(url, "a\u0001b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0001d")).isNull()
        assertThat(parse(url, "a\u0009b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0009d")).isNull()
        assertThat(parse(url, "a\u001fb=cd")).isNull()
        assertThat(parse(url, "ab=c\u001fd")).isNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            try {
                sitemapsHelper.parse(in);
                fail();
            } catch (final CrawlingAccessException e) {
                // NOP
            }
        }
    
        public void test_parseXmlSitemaps_invalid2() {
            final byte[] bytes = "test".getBytes();
            final InputStream in = new ByteArrayInputStream(bytes);
    
            try {
                sitemapsHelper.parse(in);
                fail();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         */
        @Nonnull
        Model parse(@Nonnull Source source, @Nullable Map<String, ?> options) throws ModelParserException;
    
        /**
         * Locate and parse the model in the specified directory.
         * This is equivalent to {@code locate(dir).map(s -> parse(s, options))}.
         *
         * @param dir the directory to locate the pom for, never {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. internal/etag/etag_test.go

    }
    
    func TestParse(t *testing.T) {
    	for i, test := range parseTests {
    		etag, err := Parse(test.String)
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: parse should have failed but succeeded", i)
    		}
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: failed to parse ETag %q: %v", i, test.String, err)
    		}
    		if !Equal(etag, test.ETag) {
    			t.Log([]byte(etag))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            _ * property.signature >> "$name-signature"
            _ * javadocConverter.parse(property, !null) >> ({[parse("<para>${args.comment ?: 'comment'}</para>")]} as DocComment)
            return property
        }
    
        def propertyDoc(Map<String, ?> args = [:], String name) {
            return new PropertyDoc(classMetaData(), property(name, null), [parse("<para>$name comment</para>")], args.additionalValues ?: [])
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        protected FilterChain filterChain;
    
        @PostConstruct
        public void init() {
            createFilterChain();
        }
    
        public Query parse(final String query) {
            return filterChain.parse(query);
        }
    
        protected org.apache.lucene.queryparser.classic.QueryParser createQueryParser() {
            final LuceneQueryParser parser = new LuceneQueryParser(defaultField, analyzer);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top