Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for testNew (0.09 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        @Test
        public void test_ProtwordsUpdater_write_normalItem() {
            protwordsFile.reload(null);
    
            // Create updater with a new item
            ProtwordsItem newItem = new ProtwordsItem(0, "testNew");
            ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(newItem);
    
            // Write an existing item (should pass through)
            ProtwordsItem existingItem = new ProtwordsItem(10, "existing");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test caching mechanism
        @Test
        public void test_get_caching() {
            // Get property twice to test caching behavior
            String testKey = "domain.title";
            String value1 = fessConfig.get(testKey);
            String value2 = fessConfig.get(testKey);
    
            // Values should be the same
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  3. docs/pt-BR/README.md

        $ mvn dbflute:freegen
        $ mvn license:format
    
    ### Testes de Integração
    
    Inicie o servidor Fess e execute o seguinte comando:
    
        $ mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    
    Para executar um único caso de teste, você pode usar:
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Nov 11 22:42:32 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        @Test
        public void test_append_nullValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> null;
    
            monitorTarget.append(buf, "testKey", supplier);
            assertEquals("\"testKey\":null", buf.toString());
        }
    
        // Test append method with Integer value
        @Test
        public void test_append_integerValue() {
            StringBuilder buf = new StringBuilder();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        @Test
        public void test_setObject_noRequest() {
            // Test setObject when no HTTP request is available
            // This should not throw exception, just do nothing
            try {
                WebApiUtil.setObject("testKey", "testValue");
            } catch (Exception e) {
                fail("setObject should handle missing request gracefully: " + e.getMessage());
            }
        }
    
        @Test
        public void test_setObject_withNullName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/DocMap.java

            return parent.isEmpty();
        }
    
        /**
         * Returns true if this map contains a mapping for the specified key.
         *
         * @param key the key whose presence in this map is to be tested
         * @return true if this map contains a mapping for the specified key
         */
        @Override
        public boolean containsKey(final Object key) {
            return parent.containsKey(key);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/main/resources/fess_message_pt_BR.properties

    errors.failed_to_delete_doc_in_admin = Não foi possível excluir o documento.
    errors.failed_to_send_testmail=Não foi possível enviar o e-mail de teste.
    errors.invalid_query_unknown = A consulta especificada tem condições desconhecidas.
    errors.invalid_query_parse_error = A consulta fornecida é inválida.
    errors.invalid_query_sort_value = A ordenação especificada {0} é inválida.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

                assertTrue(true);
            }
        }
    
        @Test
        public void test_toLowerHyphen() {
            Map<String, Object> source = new HashMap<>();
            source.put("TestKey", "value1");
            source.put("AnotherTestKey", "value2");
    
            Map<String, Object> nested = new HashMap<>();
            nested.put("NestedKey", "nestedValue");
            source.put("NestedMap", nested);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            }
        }
    
        // Test sendMail method
        @Test
        public void test_sendMail_withNotificationDisabled() {
            Map<String, String> infoMap = new HashMap<>();
            infoMap.put("TestKey", "TestValue");
    
            // Should not throw exception when notification is disabled
            try {
                crawler.sendMail(infoMap);
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top