Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _newContent (0.04 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            String newContent = "New content\n";
    
            // Write initial content
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(initialContent.getBytes("UTF-8"));
            }
    
            // Overwrite with new content
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(newContent.getBytes("UTF-8"));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test update method with InputStream
        public void test_update_withInputStream() throws Exception {
            writeTestFile("a,b => c\n");
    
            String newContent = "x,y => z\n";
            InputStream inputStream = new ByteArrayInputStream(newContent.getBytes(StandardCharsets.UTF_8));
    
            charMappingFile.update(inputStream);
    
            PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top