Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for addTag (0.05 seconds)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                stream(langs).of(stream -> stream.forEach(builder::addLang));
    
                stream(parameter.getTags()).of(stream -> stream.forEach(builder::addTag));
                final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
                if (StringUtil.isNotBlank(key)) {
                    builder.addTag(key);
                }
    
                builder.addKind(SuggestItem.Kind.USER.toString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

        @Test
        public void test_addCondition() {
            // Test adding conditions
            generator = new TestThumbnailGenerator();
    
            // Test adding single condition
            generator.addCondition("field1", "value1");
    
            // Test adding multiple conditions for same field
            generator.addCondition("field1", "value2");
    
            // Test adding conditions for different fields
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

        }
    
        @Test
        public void test_addCondition() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test adding conditions - this should work without container
            emptyGenerator.addCondition("field1", "pattern1");
            emptyGenerator.addCondition("field1", "pattern2");
            emptyGenerator.addCondition("field2", "pattern.*");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            // Test with empty strings
            result = jobExecutor.execute("", "");
            assertEquals("Executed:  ", result);
        }
    
        @Test
        public void test_addShutdownListener() {
            // Test adding shutdown listener
            AtomicBoolean shutdownCalled = new AtomicBoolean(false);
            ShutdownListener listener = new ShutdownListener() {
                @Override
                public void onShutdown() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

         *
         * @param webApiManager The web API manager to add
         */
        public void add(final WebApiManager webApiManager) {
            if (logger.isDebugEnabled()) {
                logger.debug("Adding WebApiManager. class={}", webApiManager.getClass().getSimpleName());
            }
            final List<WebApiManager> list = new ArrayList<>();
            Collections.addAll(list, webApiManagers);
            list.add(webApiManager);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertEquals(1, chain3.updateCallCount);
        }
    
        // Test addChain null handling
        @Test
        public void test_addChain_withNull() {
            // ArrayUtils.addAll handles null gracefully by adding it to the array
            authenticationManager.addChain(null);
    
            // Verify null chain doesn't cause issues during operations
            User user = createTestUser("testuser");
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final Exception[] exceptions = new Exception[threadCount];
    
            // Threads alternate between adding and checking isEmpty
            for (int i = 0; i < threadCount; i++) {
                final int threadIndex = i;
                threads[i] = new Thread(() -> {
                    try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                    processCalled = true;
                    processOrigin = origin;
                    processRequest = request;
                    processResponse = response;
    
                    // Simulate adding headers for testing
                    if (response instanceof HttpServletResponse) {
                        HttpServletResponse httpResponse = (HttpServletResponse) response;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/chat/ChatClient.java

            }
    
            final ChatSession session = chatSessionManager.getOrCreateSession(sessionId, userId);
            // Extract history snapshot before adding current user message to avoid duplication
            final List<LlmMessage> history = extractHistory(session);
            // Add user message immediately for session integrity under concurrent access
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

        @Test
        public void test_putToInfoMap() {
            // Test initial null map
            crawlingInfoHelper.putToInfoMap("key1", "value1");
            assertNotNull(crawlingInfoHelper.infoMap);
    
            // Test adding multiple entries
            crawlingInfoHelper.putToInfoMap("key2", "value2");
            crawlingInfoHelper.putToInfoMap("key3", "value3");
    
            assertEquals("value1", crawlingInfoHelper.infoMap.get("key1"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
Back to Top