- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestReplace (0.06 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)