jboss-fuse / jasypt

Fork of the jasypt from http://svn.code.sf.net/p/jasypt/code/trunk/jasypt/
3 stars 6 forks source link

Fresh clone, the tests do not pass #3

Open msmyers opened 7 years ago

msmyers commented 7 years ago
Tests in error: 
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.BouncyCastleByProviderBigDecimalEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.BouncyCastleByProviderBigIntegerEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.BouncyCastleByProviderNameBigDecimalEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.BouncyCastleByProviderNameBigIntegerEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.PBEWithMD5AndDESBigDecimalEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.PBEWithMD5AndDESBigIntegerEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.PBEWithMD5AndTripleDESBigDecimalEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.PBEWithMD5AndTripleDESBigIntegerEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.PBEWithSHA1AndDESedeBigDecimalEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.PBEWithSHA1AndDESedeBigIntegerEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.PBEWithSHA1AndRC2_40BigDecimalEncryptorTest)
  testEncryptAndDecrypt(org.jasypt.encryption.pbe.PBEWithSHA1AndRC2_40BigIntegerEncryptorTest)
  testEncrypt(org.jasypt.util.numeric.BasicDecimalNumberEncryptorTest)
  testEncrypt(org.jasypt.util.numeric.BasicIntegerNumberEncryptorTest)
  testEncrypt(org.jasypt.util.numeric.StrongDecimalNumberEncryptorTest)
  testEncrypt(org.jasypt.util.numeric.StrongIntegerNumberEncryptorTest)

Tests run: 54, Failures: 0, Errors: 16, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] JASYPT: Java Simplified Encryption ................. FAILURE [ 45.110 s]
[INFO] Apache ServiceMix :: Bundles :: jasypt ............. SKIPPED
[INFO] jasypt-parent ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52.714 s
[INFO] Finished at: 2017-02-08T12:43:38-08:00
[INFO] Final Memory: 27M/291M
[INFO] ------------------------------------------------------------------------
msmyers commented 7 years ago

After applying the fixes mentioned by another fork, the tests all pass appropriately.

https://github.com/coinme/jasypt/commit/5325ebed796855d1c57b05ef132641ca7c5bdb2d