- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for testDecode (0.29 sec)
-
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
/** * @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 */ public void testDecode() throws Exception { final byte[] decodedData = Base64Util.decode(ENCODED_DATA);
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
* */ 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 { assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8")); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
@Override public void setUp() throws Exception { super.setUp(); permissionHelper = new PermissionHelper(); permissionHelper.systemHelper = new SystemHelper(); } public void test_encode() { assertNull(permissionHelper.encode(null)); assertNull(permissionHelper.encode("")); assertNull(permissionHelper.encode(" ")); assertNull(permissionHelper.encode("{user}"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
} public void testBase32LenientPadding() { testDecodes(base32(), "MZXW6", "foo"); testDecodes(base32(), "MZXW6=", "foo"); testDecodes(base32(), "MZXW6==", "foo"); testDecodes(base32(), "MZXW6===", "foo"); // proper padding length testDecodes(base32(), "MZXW6====", "foo"); testDecodes(base32(), "MZXW6=====", "foo"); } public void testBase32AlternatePadding() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
} public void testBase32LenientPadding() { testDecodes(base32(), "MZXW6", "foo"); testDecodes(base32(), "MZXW6=", "foo"); testDecodes(base32(), "MZXW6==", "foo"); testDecodes(base32(), "MZXW6===", "foo"); // proper padding length testDecodes(base32(), "MZXW6====", "foo"); testDecodes(base32(), "MZXW6=====", "foo"); } public void testBase32AlternatePadding() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeInteropTest.kt
@ArgumentsSource(StoriesTestProvider::class) fun testGoodDecoderInterop(story: Story) { assumeFalse( story === Story.MISSING, "Test stories missing, checkout git submodule", ) testDecoder(story) } internal class StoriesTestProvider : SimpleProvider() { override fun arguments(): List<Any> = createStories(HpackJsonUtil.storiesForCurrentDraft()) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
) val newCases = mutableListOf<Case>() for (case in story.cases) { hpackWriter.writeHeaders(case.headersList) newCases += case.copy(wire = bytesOut.readByteString()) } testDecoder(story.copy(cases = newCases)) } companion object { private val RAW_DATA = arrayOf("raw-data") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
*/ open class HpackDecodeTestBase { private val bytesIn = Buffer() private val hpackReader = Hpack.Reader(bytesIn, 4096) protected fun testDecoder(story: Story) { for (testCase in story.cases) { val encoded = testCase.wire ?: continue bytesIn.write(encoded) hpackReader.readHeaders() assertSetEquals( "seqno=$testCase.seqno",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/EncodingFilterTest.java
paramMap = filter.parseQueryString("=", "UTF-8"); assertEquals(1, paramMap.size()); assertEquals("", paramMap.get("")[0]); } public void test_decode() throws IOException { final EncodingFilter filter = new EncodingFilter(); Map<String, String[]> paramMap; paramMap = filter.parseQueryString("a=%E3%83%86%E3%82%B9%E3%83%88", "UTF-8");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0)