- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testReplace (0.05 sec)
-
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) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
} /** * Test replace method */ @Test @DisplayName("Replace should remove old and add new") void testReplace() { List<AvPair> pairs = new LinkedList<>(); AvFlags oldFlags1 = new AvFlags(0x11111111); AvFlags oldFlags2 = new AvFlags(0x22222222); AvTimestamp timestamp = new AvTimestamp(new byte[8]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
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)