Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for bbb_ (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            assertEquals("aaa bbb ccc", normalizeText("aaa bbb aaa ccc aaa", 100, -1, -1, true));
            assertEquals("aaa? bbb ccc", normalizeText("aaa? bbb aaa? ccc", 100, -1, -1, true));
            assertEquals("aaa #bbb ccc?", normalizeText("aaa #bbb# aaa ccc? aaa", 100, -1, -1, true));
            assertEquals("123 abc", normalizeText(" 123 abc 123", 100, -1, -1, true));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    		}
    	}
    }
    
    // Test queries()
    func TestQueries(t *testing.T) {
    	testCases := []struct {
    		keys      []string
    		keyvalues []string
    	}{
    		{
    			[]string{"aaaa", "bbbb"},
    			[]string{"aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"},
    		},
    	}
    
    	for i, test := range testCases {
    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            doc.put("key1", new String[] { "aaa", "bbb" });
            assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class));
            assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class));
        }
    
        public void test_list() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key1", Arrays.asList("aaa", "bbb"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            value = FessFunctions.maskEmail("aaa bbb ccc");
            assertEquals("aaa bbb ccc", value);
    
            value = FessFunctions.maskEmail("aaa@bbb.ccc");
            assertEquals("******@****.***", value);
    
            value = FessFunctions.maskEmail("111.aaa@bbb.ccc");
            assertEquals("******@****.***", value);
    
            value = FessFunctions.maskEmail("111 aaa+@bbb.ccc 222");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

            assertThat(ClassUtil.concatName("aaa", "bbb"), is("aaa.bbb"));
            assertThat(ClassUtil.concatName("aaa", null), is("aaa"));
            assertThat(ClassUtil.concatName("aaa", ""), is("aaa"));
            assertThat(ClassUtil.concatName(null, "bbb"), is("bbb"));
            assertThat(ClassUtil.concatName("", "bbb"), is("bbb"));
            assertThat(ClassUtil.concatName("", "bbb"), is("bbb"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("aaa bbb ccc", value);
    
            data = "<html><body> aaa <p> bbb <aaa>ccc</bbb> </p> </body></html>";
            document = getDocument(data);
            value = transformer.getSingleNodeValue(document, "//BODY", node -> node);
            assertEquals("aaa bbb ccc", value);
    
            data = "<html><body> aaa <p> bbb <!-- test -->ccc<!-- test --> </p> </body></html>";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Map.of("_default", List.of("*aaa:*bbb*")), //
                    Set.of("aaa:*bbb"), //
                    buildQuery("aaa:*bbb*"));
        }
    
        public void test_build_phrase() {
            setQueryType("bool");
            assertQueryContext(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            text = "\"aaafile:///home/user/\"";
            assertEquals("\"aaahttp://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
            text = "aaa\"file:///home/user/\"bbb";
            assertEquals("aaa\"http://localhost/user/\"bbb", pathMappingHelper.replaceUrls(text));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            }
    
            assertFalse(robotsTxt.allows("/aaa", "Crawler"));
            assertTrue(robotsTxt.allows("/bbb", "Crawler"));
            assertTrue(robotsTxt.allows("/ccc", "Crawler"));
            assertTrue(robotsTxt.allows("/ddd", "Crawler"));
            assertTrue(robotsTxt.allows("/aaa", "Crawler/1.0"));
            assertFalse(robotsTxt.allows("/bbb", "Crawler/1.0"));
            assertTrue(robotsTxt.allows("/ccc", "Crawler/1.0"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
            final IndexedIterator<String> it = new IndexedIterator<String>(list.iterator());
    
            assertThat(it.hasNext(), is(true));
    
            final Indexed<String> indexed1 = it.next();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top