Apache Commons logo Commons Crypto? logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
30 0 1 0 96.667% 1.377

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
com.intel.chimera.cipher 9 0 1 0 88.889% 0.07
com.intel.chimera.random 3 0 0 0 100% 0.018
com.intel.chimera.stream 17 0 0 0 100% 1.289
com.intel.chimera.utils 1 0 0 0 100% 0

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.intel.chimera.cipher

Class Tests Errors Failures Skipped Success Rate Time
OpensslCipherTest 8 0 0 0 100% 0.061
JceCipherTest 1 0 1 0 0% 0.009

com.intel.chimera.random

Class Tests Errors Failures Skipped Success Rate Time
TestJavaSecureRandom 1 0 0 0 100% 0.017
TestOsSecureRandom 1 0 0 0 100% 0
TestOpensslSecureRandom 1 0 0 0 100% 0.001

com.intel.chimera.stream

Class Tests Errors Failures Skipped Success Rate Time
CTRNoPaddingCryptoStreamTest 4 0 0 0 100% 0.149
PositionedCryptoInputStreamTest 1 0 0 0 100% 0.176
CBCPKCS5PaddingCryptoStreamTest 4 0 0 0 100% 0.158
CTRCryptoStreamTest 4 0 0 0 100% 0.178
CBCNoPaddingCryptoStreamTest 4 0 0 0 100% 0.628

com.intel.chimera.utils

Class Tests Errors Failures Skipped Success Rate Time
UtilsTest 1 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

CTRNoPaddingCryptoStreamTest

testReadWrite 0.081
testSkip 0.012
testByteBufferRead 0.042
testByteBufferWrite 0.014

PositionedCryptoInputStreamTest

doTest 0.176

OpensslCipherTest

testInvalidIV 0.009
testInvalidAlgorithm 0.002
testInvalidPadding 0.002
testInvalidMode 0.002
testUpdateArguments 0.002
testDoFinalArguments 0.002
testInvalidKey 0.001
cryptoTest 0.041

JceCipherTest

cryptoTest 0.009
AES failed initialisation - java.security.InvalidKeyException: Illegal key size

TestJavaSecureRandom

testRandomBytes 0.017

CBCPKCS5PaddingCryptoStreamTest

testReadWrite 0.074
testSkip 0.012
testByteBufferRead 0.047
testByteBufferWrite 0.025

TestOsSecureRandom

testRandomBytes 0

TestOpensslSecureRandom

testRandomBytes 0.001

CTRCryptoStreamTest

testReadWrite 0.106
testSkip 0.011
testByteBufferRead 0.042
testByteBufferWrite 0.019

UtilsTest

testSplitOmitEmptyLine 0

CBCNoPaddingCryptoStreamTest

testReadWrite 0.563
testSkip 0.012
testByteBufferRead 0.037
testByteBufferWrite 0.016

Failure Details

[Summary] [Package List] [Test Cases]


cryptoTest
java.lang.AssertionError: AES failed initialisation - java.security.InvalidKeyException: Illegal key size