mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +02:00
Replace KeystoreKeyring with KmsKeystore comparison
Replace KeystoreKeyring with ComparatorKeyring between KeystoreKeyring and KmsKeystore. In the opensource version, will replace DummyKeyring with KmsKeyring directly. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152893767
This commit is contained in:
parent
dea386d08a
commit
ab515cb352
16 changed files with 94 additions and 36 deletions
|
@ -94,12 +94,12 @@ public class ComparingInvocationHandlerTest {
|
|||
return super.stringifyResult(method, a);
|
||||
}
|
||||
|
||||
@Override protected boolean compareException(Method method, Throwable a, Throwable b) {
|
||||
return exceptionEqualsResult && super.compareException(method, a, b);
|
||||
@Override protected boolean compareThrown(Method method, Throwable a, Throwable b) {
|
||||
return exceptionEqualsResult && super.compareThrown(method, a, b);
|
||||
}
|
||||
|
||||
@Override protected String stringifyException(Method method, Throwable a) {
|
||||
return String.format("testException(%s)", super.stringifyException(method, a));
|
||||
@Override protected String stringifyThrown(Method method, Throwable a) {
|
||||
return String.format("testException(%s)", super.stringifyThrown(method, a));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue