Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getTestContent (0.07 seconds)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            }
            super.tearDown(testInfo);
        }
    
        private String getTestContent() {
            return "# This is a comment\n" + "the\n" + "and\n" + "a\n" + "is\n" + "to\n";
        }
    
        private void loadTestData() {
            // Load data into stopwordsFile
            try (InputStream is = new ByteArrayInputStream(getTestContent().getBytes(StandardCharsets.UTF_8))) {
                stopwordsFile.reload(null, is);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            testFile.deleteOnExit();
    
            // Write test content to file
            try (FileOutputStream fos = new FileOutputStream(testFile)) {
                fos.write(getTestContent().getBytes(StandardCharsets.UTF_8));
            }
    
            // Create a temporary project.properties file for SystemHelper
            File propFile = File.createTempFile("project", ".properties");
    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)
Back to Top