Added base64 unit test
This commit is contained in:
parent
ff9ecea997
commit
22581474fd
@ -1,4 +1,11 @@
|
|||||||
package com.rarchives.ripme.tst;
|
package com.rarchives.ripme.tst;
|
||||||
|
|
||||||
public class Base64Test {
|
import junit.framework.TestCase;
|
||||||
|
import com.rarchives.ripme.utils.Base64;
|
||||||
|
|
||||||
|
public class Base64Test extends TestCase {
|
||||||
|
|
||||||
|
public void testDecode() {
|
||||||
|
assertEquals("test", new String(Base64.decode("dGVzdA==")));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user