Searched refs:MockProvider (Results 1 – 6 of 6) sorted by relevance
135 MockProvider mockProvider = new MockProvider("MOCKNAME", 1.0, in test_getAlias()153 public static class MockProvider extends Provider { class in Provider2Test157 public MockProvider(String name, double version, String info) { in MockProvider() method in Provider2Test.MockProvider
305 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_UnknownService_Success()323 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()350 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()372 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()391 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_NonKey_Failure()413 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure()435 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_KnownService_Null_Failure()454 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_Success()473 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyClasses_Failure()492 Provider provider = new MockProvider("MockProvider") { in testProviderService_supportsParameter_SupportedKeyFormats_Success()[all …]
51 private static abstract class MockProvider extends Provider { class in SignatureTest52 public MockProvider(String name) { in MockProvider() method in SignatureTest.MockProvider61 Provider mockProvider = new MockProvider("MockProvider") { in testSignature_getInstance_SuppliedProviderNotRegistered_Success()76 Provider mockProvider = new MockProvider("MockProvider") { in testSignature_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()85 Provider mockProvider2 = new MockProvider("MockProvider") { in testSignature_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()99 Provider mockProviderSpecific = new MockProvider("MockProviderSpecific") { in testSignature_getInstance_DelayedInitialization_KeyType()105 Provider mockProviderSpecific2 = new MockProvider("MockProviderSpecific2") { in testSignature_getInstance_DelayedInitialization_KeyType()111 Provider mockProviderAll = new MockProvider("MockProviderAll") { in testSignature_getInstance_DelayedInitialization_KeyType()219 Provider mockProviderNonSpi = new MockProvider("MockProviderNonSpi") { in testSignature_getProvider_Subclass()
681 private static abstract class MockProvider extends Provider { class in KeyAgreementTest682 public MockProvider(String name) { in MockProvider() method in KeyAgreementTest.MockProvider692 Provider mockProvider = new MockProvider("MockProvider") { in testKeyAgreement_getInstance_SuppliedProviderNotRegistered_Success()707 Provider mockProvider = new MockProvider("MockProvider") { in testKeyAgreement_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()716 Provider mockProvider2 = new MockProvider("MockProvider") { in testKeyAgreement_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()730 Provider mockProviderSpecific = new MockProvider("MockProviderSpecific") { in testKeyAgreement_getInstance_DelayedInitialization_KeyType()736 Provider mockProviderSpecific2 = new MockProvider("MockProviderSpecific2") { in testKeyAgreement_getInstance_DelayedInitialization_KeyType()742 Provider mockProviderAll = new MockProvider("MockProviderAll") { in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
878 private static abstract class MockProvider extends Provider { class in MacTest879 public MockProvider(String name) { in MockProvider() method in MacTest.MockProvider888 Provider mockProvider = new MockProvider("MockProvider") { in testMac_getInstance_SuppliedProviderNotRegistered_Success()903 Provider mockProvider = new MockProvider("MockProvider") { in testMac_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()912 Provider mockProvider2 = new MockProvider("MockProvider") { in testMac_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()926 Provider mockProviderSpecific = new MockProvider("MockProviderSpecific") { in testMac_getInstance_DelayedInitialization_KeyType()932 Provider mockProviderSpecific2 = new MockProvider("MockProviderSpecific2") { in testMac_getInstance_DelayedInitialization_KeyType()938 Provider mockProviderAll = new MockProvider("MockProviderAll") { in testMac_getInstance_DelayedInitialization_KeyType()
827 private static abstract class MockProvider extends Provider { class in CipherTest828 public MockProvider(String name) { in MockProvider() method in CipherTest.MockProvider837 Provider mockProvider = new MockProvider("MockProvider") { in testCipher_getInstance_SuppliedProviderNotRegistered_Success()852 Provider mockProvider = new MockProvider("MockProvider") { in testCipher_getInstance_SuppliedProviderNotRegistered_MultipartTransform_Success()867 Provider mockProvider = new MockProvider("MockProvider") { in testCipher_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()876 Provider mockProvider2 = new MockProvider("MockProvider") { in testCipher_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()890 Provider mockProviderSpecific = new MockProvider("MockProviderSpecific") { in testCipher_getInstance_DelayedInitialization_KeyType()896 Provider mockProviderSpecific2 = new MockProvider("MockProviderSpecific2") { in testCipher_getInstance_DelayedInitialization_KeyType()902 Provider mockProviderAll = new MockProvider("MockProviderAll") { in testCipher_getInstance_DelayedInitialization_KeyType()965 Provider mockProviderInvalid = new MockProvider("MockProviderInvalid") { in testCipher_getInstance_WrongType_Failure()