Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 320 for updateMdc (0.28 seconds)

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

            assertTrue("Should find test3", foundTest3);
        }
    
        @Test
        public void test_update_fromInputStream() throws IOException {
            // Create test input stream
            String content = "updated1\n" + "updated2\n";
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    
            // Update from input stream
            protwordsFile.update(is);
    
            // Verify update
    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/StopwordsFileTest.java

            StopwordsItem item = stopwordsFile.get(1).get();
            item.setNewInput("updated");
            stopwordsFile.update(item);
    
            // Verify the item was updated
            OptionalEntity<StopwordsItem> result = stopwordsFile.get(1);
            assertTrue(result.isPresent());
            assertEquals("updated", result.get().getInput());
        }
    
        // Test delete method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

     * output stem. It also tracks updated values for the item.
     */
    public class StemmerOverrideItem extends DictionaryItem {
        /** The original input word. */
        private final String input;
    
        /** The original output stem. */
        private final String output;
    
        /** The new input word, if updated. */
        private String newInput;
    
        /** The new output stem, if updated. */
        private String newOutput;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            // Test toLineString method
            StopwordsItem item = new StopwordsItem(1, "original");
            assertEquals("original", item.toLineString());
    
            // When updated, should return newInput
            item.setNewInput("updated");
            assertEquals("updated", item.toLineString());
    
            // When marked for deletion
            item.setNewInput("");
            assertEquals("", item.toLineString());
    
    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)
  5. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

        }
    
        @Test
        public void test_execute_withCustomFieldName() {
            // Configure custom expires field name
            expiresFieldName = "custom_expires_field";
    
            // Re-register FessConfig with updated field name
            fessConfig = new TestFessConfig() {
                @Override
                public String getIndexFieldExpires() {
                    return expiresFieldName;
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  6. scripts/contributors.py

        updated = [
            update_content(content_path=contributors_path, new_content=top_contributors),
            update_content(content_path=translators_path, new_content=top_translators),
            update_content(
                content_path=translation_reviewers_path,
                new_content=top_translations_reviewers,
            ),
        ]
    
        if not any(updated):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            refresh();
    
            // Verify documents were updated
            response = checkMethodBase(searchBody).get(SEARCHLIST_API_PATH + "/docs").asString();
            List<Map<String, Object>> updatedDocs = JsonPath.from(response).getList("response.docs");
    
            logger.info("Updated documents: {}", updatedDocs);
    
            // Verify updated content
            for (Map<String, Object> doc : updatedDocs) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  8. tests/update_test.go

    	if users[0].Name != "updates_01_newname" || users[0].Age != 100 {
    		t.Errorf("Record should be updated also with map")
    	}
    
    	if users[0].UpdatedAt.UnixNano() == lastUpdatedAt.UnixNano() {
    		t.Errorf("User's updated at should be changed, but got %v, was %v", users[0].UpdatedAt.UnixNano(), lastUpdatedAt)
    	}
    
    	// user2 should not be updated
    	var user1, user2 User
    	DB.First(&user1, users[0].ID)
    	DB.First(&user2, users[1].ID)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  9. scripts/sponsors.py

        # github_sponsors_path = Path("../docs/en/data/github_sponsors.yml")
        github_sponsors_path = Path("./docs/en/data/github_sponsors.yml")
        updated = update_content(
            content_path=github_sponsors_path, new_content=github_sponsors
        )
    
        if not updated:
            logging.info("The data hasn't changed, finishing.")
            return
    
        logging.info("Setting up GitHub Actions git user")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals((int) offset, getFieldValue(write, "offset"), "Offset should be updated");
            assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should be updated");
            assertEquals(buffer, getFieldValue(write, "b"), "Buffer should be updated");
            assertEquals(off, getFieldValue(write, "off"), "Off should be updated");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top