Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_replace (0.12 sec)

  1. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                assertTrue(e.getMessage().contains("Crawler Process terminated"));
            }
        }
    
        public void test_startProcess_replaceExistingProcess() {
            String sessionId = "test_replace";
            List<String> cmdList1 = Arrays.asList("echo", "first");
            List<String> cmdList2 = Arrays.asList("echo", "second");
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

    import java.lang.reflect.Method;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class StringUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testReplace() throws Exception {
            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
            assertEquals("2", "1234ef", StringUtil.replace("12345", "5", "ef"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top