FileDocCategorySizeDatePackage
Base64Test.javaAPI DocAndroid 1.5 API1932Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.tests.util

Base64Test

public class Base64Test extends TestCase
Base64 encoder/decoder test.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        junit.textui.TestRunner.run(suite());
    
public static junit.framework.Testsuite()

        return new TestSuite(Base64Test.class);
    
public static voidtestDecodeEmpty()
Checks the result on empty parameter.

        // Regression for HARMONY-1513
        byte[] result = Base64.decode(new byte[0]);
        assertEquals("The length of the result differs from expected",
                0, result.length);