edu.rice.cs.plt.io
Class MessageDigestOutputStreamTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.plt.io.MessageDigestOutputStreamTest
- All Implemented Interfaces:
- Test
public class MessageDigestOutputStreamTest
- extends TestCase
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
MessageDigestOutputStreamTest
public MessageDigestOutputStreamTest()
testMD5
public void testMD5()
throws IOException
- Throws:
IOException
testSHA1
public void testSHA1()
throws IOException
- Throws:
IOException
testSHA256
public void testSHA256()
throws IOException
- Throws:
IOException
main
public static void main(String... args)
throws IOException
- Run to compare performance. args[0] is a file name.
- Throws:
IOException