summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2016-09-26 09:07:31 -0700
committerKenny Root <kroot@google.com>2016-09-26 16:31:21 +0000
commitc54efa1b0849fde7c1dec4a6b9b8d4f60f7a1b7d (patch)
treea4a813e5d101c80f55466cfde534ee1411ddff01 /annotations/generate_annotated_java_files.py
parentc420a3603fc4151dd59c5e3fd3e984e352332088 (diff)
Harmony SSLEngineTest: fail when wrap called before init
The original test did not actually call fail() thus leading this part of the provider to be broken. However, subsequent tests called for behavior that was opposite of the documentation. Changed both tests to expect IllegalStateException as the documentation for SSLEngine says will happen if the client mode is not set prior to calling #wrap. Test: vogar --mode host --classpath out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jack --classpath out/target/common/obj/JAVA_LIBRARIES/bouncycastle-ocsp_intermediates/classes.jack --classpath out/target/common/obj/JAVA_LIBRARIES/bouncycastle-bcpkix_intermediates/classes.jack --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/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/SSLEngineTest.java Test: cts-tradefed run cts -m CtsLibcoreTestCases -a arm64-v8a Bug: 31301555 Change-Id: I2fde906670c4b7caf0df60190387ec5d90c3f7de
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions