diff options
author | Kenny Root <kroot@google.com> | 2016-09-19 11:17:39 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2016-09-19 11:30:13 -0700 |
commit | 24548c72e07a11d9fdd46e9ecf72535fa7819c71 (patch) | |
tree | dfc3bc59b923d6ffb41a8f44bfd85b5f3ba62f2a /annotations/generate_annotated_java_files.py | |
parent | babf8a9c7b07838bce7ae1d38dd5567aff454fff (diff) |
CipherTest: key generation failure is AssertionError
We cannot continue the test without these keys being generated correctly
and upcoming tests will need them generated in the static blocks, so
change the getEncryptKey and getDecryptKey methods to throw
AssertionError on any exception during key generation.
Test: vogar --mode host --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-support-hostdex_intermediates/classes.jack --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-hostdex_intermediates/classes.jack libcore/luni/src/test/java/libcore/javax/crypto/CipherTest.java
Change-Id: I3568b44c011973efe76a2bf1ebba3d23c1f3745e
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions