Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java742 Provider mockProviderAll = new MockProvider("MockProviderAll") { in testKeyAgreement_getInstance_DelayedInitialization_KeyType() local
750 Security.addProvider(mockProviderAll); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
789 assertEquals(mockProviderAll, s.getProvider()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
799 Security.removeProvider(mockProviderAll.getName()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
DMacTest.java938 Provider mockProviderAll = new MockProvider("MockProviderAll") { in testMac_getInstance_DelayedInitialization_KeyType() local
946 Security.addProvider(mockProviderAll); in testMac_getInstance_DelayedInitialization_KeyType()
985 assertEquals(mockProviderAll, s.getProvider()); in testMac_getInstance_DelayedInitialization_KeyType()
995 Security.removeProvider(mockProviderAll.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java111 Provider mockProviderAll = new MockProvider("MockProviderAll") { in testSignature_getInstance_DelayedInitialization_KeyType() local
119 Security.addProvider(mockProviderAll); in testSignature_getInstance_DelayedInitialization_KeyType()
158 assertEquals(mockProviderAll, s.getProvider()); in testSignature_getInstance_DelayedInitialization_KeyType()
168 Security.removeProvider(mockProviderAll.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java902 Provider mockProviderAll = new MockProvider("MockProviderAll") { in testCipher_getInstance_DelayedInitialization_KeyType() local
910 Security.addProvider(mockProviderAll); in testCipher_getInstance_DelayedInitialization_KeyType()
950 assertEquals(mockProviderAll, c.getProvider()); in testCipher_getInstance_DelayedInitialization_KeyType()
960 Security.removeProvider(mockProviderAll.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()