- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testUnicode (0.47 sec)
-
src/test/java/jcifs/tests/NamingTest.java
strings[ i ] = str.substring(i * maxLen, Math.min(str.length() - 1, ( i + 1 ) * maxLen)); } return strings; } @Test public void testUnicode () throws UnknownHostException, CIFSException, MalformedURLException { Assume.assumeTrue("No unicode support", getContext().getConfig().isUseUnicode()); runFilenameTest(Strings.UNICODE_STRINGS); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
private static final byte[] BINARY_DATA = ORIGINAL.getBytes(); private static final String ENCODED_DATA = "aG93IG5vdyBicm93biBjb3cNCg=="; /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
import java.net.URL; import junit.framework.TestCase; /** * @author taichi * */ public class URLUtilTest extends TestCase { /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8")); } /** * @throws Exception */ public void testDecode() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0)