Add test to check version information.

This commit is contained in:
Luke Taylor
2011-05-07 17:15:02 +01:00
parent 6a2a636fd7
commit 396eced291
2 changed files with 14 additions and 6 deletions

View File

@@ -26,6 +26,9 @@ dependencies {
int maxAESKeySize = javax.crypto.Cipher.getMaxAllowedKeyLength('AES')
test {
systemProperties['springSecurityVersion'] = version
systemProperties['springVersion'] = springVersion
if (maxAESKeySize < 256) {
logger.warn("AES keysize limited to $maxAESKeySize, skipping EncryptorsTests")
exclude '**/EncryptorsTests.class'