Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for getInput (0.04 seconds)

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

            assertEquals(4, list.size());
            assertEquals("test1", list.get(0).getInput());
            assertEquals("日本語", list.get(1).getInput());
            assertEquals("word with spaces", list.get(2).getInput());
            assertEquals("	tab	word	", list.get(3).getInput());
        }
    
        // Helper method to write content to test file
        private void writeTestFile(String content) throws Exception {
    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/dict/stopwords/StopwordsItemTest.java

        @Test
        public void test_getInput() {
            // Test getInput method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            assertEquals("test", item1.getInput());
    
            StopwordsItem item2 = new StopwordsItem(2, "");
            assertEquals("", item2.getInput());
    
            StopwordsItem item3 = new StopwordsItem(3, null);
            assertNull(item3.getInput());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertEquals(3, stopwordsFile.stopwordsItemList.size());
            assertEquals("word1", stopwordsFile.stopwordsItemList.get(0).getInput());
            assertEquals("word2", stopwordsFile.stopwordsItemList.get(1).getInput());
            assertEquals("word3", stopwordsFile.stopwordsItemList.get(2).getInput());
        }
    
        @Test
        public void test_reload_withEscapedCharacters() {
            String content = "word\\\\1\n" + // word\1
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        @Test
        public void test_getInput() {
            // Test getInput method
            ProtwordsItem item1 = new ProtwordsItem(1, "word1");
            assertEquals("word1", item1.getInput());
    
            ProtwordsItem item2 = new ProtwordsItem(2, "");
            assertEquals("", item2.getInput());
    
            ProtwordsItem item3 = new ProtwordsItem(3, null);
            assertNull(item3.getInput());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

            validate(form, messages -> {}, () -> asListHtml(form.dictId));
            stemmerOverrideService.getStemmerOverrideItem(form.dictId, form.id).ifPresent(entity -> {
                form.input = entity.getInput();
                form.output = entity.getOutput();
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

            final EditBody body = new EditBody();
            body.id = entity.getId();
            body.dictId = dictId;
            body.input = entity.getInput();
            body.output = entity.getOutput();
            return body;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

         */
        @get:Input
        @get:Optional
        @get:Option(option = "fix", description = "When enabled, will write the correct computed runtimes back to the build files")
        abstract val fix: Property<Boolean>
    
        /**
         * If enabled, prints extra details describing why a target runtime declaration is invalid.
         */
        @get:Input
        @get:Optional
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("a", item.getInputs()[0]);
    
            // NewInputs not sorted yet
            assertEquals("9", item.getNewInputs()[0]);
    
            // Call sort
            item.sort();
    
            // Both should be sorted
            assertEquals("a", item.getInputs()[0]);
            assertEquals("m", item.getInputs()[1]);
            assertEquals("z", item.getInputs()[2]);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            assertArrayEquals(new String[] { "a", "b" }, item1.getInputs());
            assertEquals("c", item1.getOutput());
    
            OptionalEntity<CharMappingItem> result2 = charMappingFile.get(2L);
            assertTrue(result2.isPresent());
            CharMappingItem item2 = result2.get();
            assertEquals(2L, item2.getId());
            assertArrayEquals(new String[] { "d", "e" }, item2.getInputs());
            assertEquals("f", item2.getOutput());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                            try {
                                collector.collectFrom(sourceFile).forEach { (version, incubating) ->
                                    versionToIncubating.getOrPut(version) { mutableSetOf() }.addAll(incubating)
                                }
                            } catch (e: Exception) {
                                throw Exception("Unable to parse $sourceFile", e)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top