mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9510 checkin. Also some fixes for ALF-8702.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -85,15 +85,15 @@ public class EncryptorTest extends TestCase
|
||||
Serializable testObject = " This is a string, but will be serialized ";
|
||||
|
||||
Serializable sealedObject = encryptor.sealObject("mykey2", null, testObject);
|
||||
try
|
||||
{
|
||||
// try
|
||||
// {
|
||||
Object output = encryptor.unsealObject("mykey2", sealedObject);
|
||||
assertEquals("Encryption round trip failed. ", testObject, output);
|
||||
}
|
||||
catch(KeyException e)
|
||||
{
|
||||
throw new AlfrescoRuntimeException("", e)
|
||||
; }
|
||||
// }
|
||||
// catch(KeyException e)
|
||||
// {
|
||||
// throw new AlfrescoRuntimeException("", e)
|
||||
//; }
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user