diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-27 18:14:04 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-27 18:14:04 +0000 |
commit | 6c13de310492e31ede379bb04df1c62cbdb4b09f (patch) | |
tree | e97ae496cdcdecfec591b74ea60dde5ceb33d32a /java/tests/Connection/HTTPHelperTest.java | |
parent | b5e068afb139dc7c6b9cf90c53571a4333105c95 (diff) | |
download | ATCD-pre_dynamic_any.tar.gz |
This commit was manufactured by cvs2svn to create tagpre_dynamic_any
'pre_dynamic_any'.
Diffstat (limited to 'java/tests/Connection/HTTPHelperTest.java')
-rw-r--r-- | java/tests/Connection/HTTPHelperTest.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/java/tests/Connection/HTTPHelperTest.java b/java/tests/Connection/HTTPHelperTest.java deleted file mode 100644 index 02a16d838af..00000000000 --- a/java/tests/Connection/HTTPHelperTest.java +++ /dev/null @@ -1,27 +0,0 @@ -package tests.Connection; - -import java.io.*; -import JACE.Connection.*; - -public class HTTPHelperTest -{ - public static void main(String args[]) - { - // This is just a quick test to confirm that the Base 64 encoding and decoding work - // (tests the example given in the HTTP 1.1 RFC) - - String secret = "Aladdin:open sesame"; - - String encoded = JACE.Connection.HTTPHelper.EncodeBase64(secret); - - System.err.println("Encoding string: " + secret); - - System.err.println("Result: " + encoded); - - System.err.println("Is this right? " + (encoded.equals("QWxhZGRpbjpvcGVuIHNlc2FtZQ==") ? "Yes" : "No")); - - // Decode should also be tested - // - } -}; - |