Home
last modified time | relevance | path

Searched refs:mockCertStore (Results 1 – 1 of 1) sorted by relevance

/packages/apps/KeyChain/robotests/src/com/android/keychain/
DKeyChainServiceRoboTest.java76 private TrustedCertificateStore mockCertStore; field in KeyChainServiceRoboTest
123 ShadowTrustedCertificateStore.sDelegate = mockCertStore; in setUp()
157 doThrow(new IOException()).when(mockCertStore).installCertificate(any()); in testCaInstallFailedLogging()
174 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveSuccessLogging()
186 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveFailedLogging()
187 doThrow(new IOException()).when(mockCertStore).deleteCertificateEntry(any()); in testCaRemoveFailedLogging()
199 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testNoLoggingWhenDisabled()
204 doThrow(new IOException()).when(mockCertStore).installCertificate(any()); in testNoLoggingWhenDisabled()
205 doThrow(new IOException()).when(mockCertStore).deleteCertificateEntry(any()); in testNoLoggingWhenDisabled()