Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTestContent (0.48 sec)

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

            }
            super.tearDown();
        }
    
        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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (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");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top