forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update readme and changelog for jca (Azure#22283)
- Loading branch information
1 parent
faf0204
commit f4a0ced
Showing
20 changed files
with
191 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 0 additions & 64 deletions
64
...eyvault-jca/src/test/java/com/azure/security/keyvault/jca/FileSystemCertificatesTest.java
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
...vault-jca/src/test/java/com/azure/security/keyvault/jca/SpecificPathCertificatesTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
package com.azure.security.keyvault.jca; | ||
|
||
import org.junit.jupiter.api.Assertions; | ||
import org.junit.jupiter.api.Test; | ||
|
||
public class SpecificPathCertificatesTest { | ||
|
||
SpecificPathCertificates specificPathCertificates; | ||
|
||
public static String getFilePath(String packageName) { | ||
String filepath = "\\src\\test\\resources\\" + packageName; | ||
return System.getProperty("user.dir") + filepath.replace("\\", System.getProperty("file.separator")); | ||
} | ||
|
||
@Test | ||
public void testSetCertificateEntry() { | ||
specificPathCertificates = SpecificPathCertificates.getSpecificPathCertificates(getFilePath("custom\\")); | ||
Assertions.assertTrue(specificPathCertificates.getAliases().contains("sideload")); | ||
} | ||
} |
38 changes: 0 additions & 38 deletions
38
...lt-jca/src/test/java/com/azure/security/keyvault/jca/test/FileSystemCertificatesTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.