commit | aa14e89b1194c4d4054fcd8dbd0af9d08dd5715c | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Fri Jul 01 10:45:06 2011 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Fri Jul 01 10:45:06 2011 -0700 |
tree | 50d3c3637b8b8f6b527555e87dbfce380ed7cc57 | |
parent | 7037b73962c34e884467d3d4a871ecdab9797fc3 [diff] |
Display full certificate chain in test output Bug: 4970298 Change-Id: I770854873d4d0c98d5037a90b46c8eb0709ede57
diff --git a/tests/src/com/android/keychain/tests/KeyChainTestActivity.java b/tests/src/com/android/keychain/tests/KeyChainTestActivity.java index 0033482..fc59575 100644 --- a/tests/src/com/android/keychain/tests/KeyChainTestActivity.java +++ b/tests/src/com/android/keychain/tests/KeyChainTestActivity.java
@@ -253,7 +253,9 @@ log("Null certificate chain!"); return null; } - log("certificate=" + certificateChain[0]); + for (int i = 0; i < certificateChain.length; i++) { + log("certificate[" + i + "]=" + certificateChain[i]); + } return certificateChain; } catch (InterruptedException e) { Thread.currentThread().interrupt();