Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java736 Provider mockProviderSpecific2 = new MockProvider("MockProviderSpecific2") { in testKeyAgreement_getInstance_DelayedInitialization_KeyType() local
749 Security.addProvider(mockProviderSpecific2); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
760 assertEquals(mockProviderSpecific2, s.getProvider()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
798 Security.removeProvider(mockProviderSpecific2.getName()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
DMacTest.java932 Provider mockProviderSpecific2 = new MockProvider("MockProviderSpecific2") { in testMac_getInstance_DelayedInitialization_KeyType() local
945 Security.addProvider(mockProviderSpecific2); in testMac_getInstance_DelayedInitialization_KeyType()
956 assertEquals(mockProviderSpecific2, s.getProvider()); in testMac_getInstance_DelayedInitialization_KeyType()
994 Security.removeProvider(mockProviderSpecific2.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java105 Provider mockProviderSpecific2 = new MockProvider("MockProviderSpecific2") { in testSignature_getInstance_DelayedInitialization_KeyType() local
118 Security.addProvider(mockProviderSpecific2); in testSignature_getInstance_DelayedInitialization_KeyType()
129 assertEquals(mockProviderSpecific2, s.getProvider()); in testSignature_getInstance_DelayedInitialization_KeyType()
167 Security.removeProvider(mockProviderSpecific2.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java896 Provider mockProviderSpecific2 = new MockProvider("MockProviderSpecific2") { in testCipher_getInstance_DelayedInitialization_KeyType() local
909 Security.addProvider(mockProviderSpecific2); in testCipher_getInstance_DelayedInitialization_KeyType()
921 assertEquals(mockProviderSpecific2, c.getProvider()); in testCipher_getInstance_DelayedInitialization_KeyType()
959 Security.removeProvider(mockProviderSpecific2.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()