| Constructor and Description |
|---|
IOUtilsTest() |
public void testAsHex()
IOUtils.toHex(byte[]).public void testBase64ToBytes()
throws UnsupportedEncodingException
IOUtils.base64ToBytes(String).UnsupportedEncodingException - On a failure to encode the test vector.public void testBase64ToBytesInvalidChar()
throws UnsupportedEncodingException
IOUtils.base64ToBytes(String).UnsupportedEncodingException - On a failure to encode the test vector.public void testBase64ToBytesInvalidLength()
throws UnsupportedEncodingException
IOUtils.base64ToBytes(String).UnsupportedEncodingException - On a failure to encode the test vector.public void testClose()
throws IOException
IOUtils.close(java.io.Closeable).IOException - On a failure setting up the test mocks.public void testHexToBytes()
IOUtils.hexToBytes(java.lang.String).public void testHexToBytesThrowsOnAInvalidCharacter()
IOUtils.hexToBytes(java.lang.String).public void testHexToBytesThrowsOnAInvalidCharacterAfter()
IOUtils.hexToBytes(java.lang.String).public void testHexToBytesThrowsOnAInvalidCharacterAfterFirstNibble()
IOUtils.hexToBytes(java.lang.String).public void testHexToBytesThrowsOnAInvalidCharacterBefore()
IOUtils.hexToBytes(java.lang.String).public void testHexToBytesThrowsOnAInvalidStringLength()
IOUtils.hexToBytes(java.lang.String).public void testToBase64()
throws UnsupportedEncodingException
IOUtils.toBase64(byte[]).UnsupportedEncodingException - On a failure to encode the test vector.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.