- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for testEncode (0.09 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) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
*/ @GwtCompatible(emulated = true) public class BaseEncodingTest extends TestCase { public void testSeparatorsExplicitly() { testEncodes(base64().withSeparator("\n", 3), "foobar", "Zm9\nvYm\nFy"); testEncodes(base64().withSeparator("$", 4), "foobar", "Zm9v$YmFy"); testEncodes(base32().withSeparator("*", 4), "foobar", "MZXW*6YTB*OI==*===="); } public void testSeparatorSameAsPadChar() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
"istio.io/istio/pkg/kube" "istio.io/istio/pkg/monitoring/monitortest" "istio.io/istio/pkg/test/util/assert" ) func TestExistingPodAddedWhenNsLabeled(t *testing.T) { setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
*/ @GwtCompatible(emulated = true) public class BaseEncodingTest extends TestCase { public void testSeparatorsExplicitly() { testEncodes(base64().withSeparator("\n", 3), "foobar", "Zm9\nvYm\nFy"); testEncodes(base64().withSeparator("$", 4), "foobar", "Zm9v$YmFy"); testEncodes(base32().withSeparator("*", 4), "foobar", "MZXW*6YTB*OI==*===="); } public void testSeparatorSameAsPadChar() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
valid := CNIPluginAddEvent{ Netns: "/var/netns/foo", PodName: "pod-bingo", PodNamespace: "funkyns", IPs: []IPConfig{{ Address: *addr, }}, } setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-bingo", Namespace: "funkyns", }, Spec: corev1.PodSpec{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 7.6K 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)