Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java730 Provider mockProviderSpecific = new MockProvider("MockProviderSpecific") { in testKeyAgreement_getInstance_DelayedInitialization_KeyType() local
748 Security.addProvider(mockProviderSpecific); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
756 assertEquals(mockProviderSpecific, s.getProvider()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
794 assertEquals(mockProviderSpecific, s.getProvider()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
797 Security.removeProvider(mockProviderSpecific.getName()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
DMacTest.java926 Provider mockProviderSpecific = new MockProvider("MockProviderSpecific") { in testMac_getInstance_DelayedInitialization_KeyType() local
944 Security.addProvider(mockProviderSpecific); in testMac_getInstance_DelayedInitialization_KeyType()
952 assertEquals(mockProviderSpecific, s.getProvider()); in testMac_getInstance_DelayedInitialization_KeyType()
990 assertEquals(mockProviderSpecific, s.getProvider()); in testMac_getInstance_DelayedInitialization_KeyType()
993 Security.removeProvider(mockProviderSpecific.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/test/java/libcore/java/security/
DSignatureTest.java99 Provider mockProviderSpecific = new MockProvider("MockProviderSpecific") { in testSignature_getInstance_DelayedInitialization_KeyType() local
117 Security.addProvider(mockProviderSpecific); in testSignature_getInstance_DelayedInitialization_KeyType()
125 assertEquals(mockProviderSpecific, s.getProvider()); in testSignature_getInstance_DelayedInitialization_KeyType()
163 assertEquals(mockProviderSpecific, s.getProvider()); in testSignature_getInstance_DelayedInitialization_KeyType()
166 Security.removeProvider(mockProviderSpecific.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java890 Provider mockProviderSpecific = new MockProvider("MockProviderSpecific") { in testCipher_getInstance_DelayedInitialization_KeyType() local
908 Security.addProvider(mockProviderSpecific); in testCipher_getInstance_DelayedInitialization_KeyType()
917 assertEquals(mockProviderSpecific, c.getProvider()); in testCipher_getInstance_DelayedInitialization_KeyType()
955 assertEquals(mockProviderSpecific, c.getProvider()); in testCipher_getInstance_DelayedInitialization_KeyType()
958 Security.removeProvider(mockProviderSpecific.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()