Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsepidehMS <sekho@microsoft.com>2017-02-07 00:28:24 +0300
committersepidehMS <sekho@microsoft.com>2017-02-08 02:46:26 +0300
commit493cb79ff4976479be5cc7c6f1fe2d5d9b710425 (patch)
treeca95a1b72112f67cf8784c3f2bfa4eb5eeec630c /src/System.Security.Cryptography.Encoding/tests/Oid.cs
parentec6a6de7d69a3000866e177a5bcb7354ea96d05e (diff)
Add comments to PlatformSpecific tests
Diffstat (limited to 'src/System.Security.Cryptography.Encoding/tests/Oid.cs')
-rw-r--r--src/System.Security.Cryptography.Encoding/tests/Oid.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/System.Security.Cryptography.Encoding/tests/Oid.cs b/src/System.Security.Cryptography.Encoding/tests/Oid.cs
index a0b85ce295..476ed2ba65 100644
--- a/src/System.Security.Cryptography.Encoding/tests/Oid.cs
+++ b/src/System.Security.Cryptography.Encoding/tests/Oid.cs
@@ -181,7 +181,7 @@ namespace System.Security.Cryptography.Encoding.Tests
[Theory]
[MemberData(nameof(ValidOidFriendlyNameHashAlgorithmPairs))]
- [PlatformSpecific(TestPlatforms.Windows)]
+ [PlatformSpecific(TestPlatforms.Windows)] // Uses P/Invokes to get the Oid lookup table
public static void LookupOidByValue_Method_WrongGroup(string oidValue, string friendlyName)
{
// Oid group is implemented strictly - no fallback to OidGroup.All as with many other parts of Crypto.
@@ -237,7 +237,7 @@ namespace System.Security.Cryptography.Encoding.Tests
[Theory]
[MemberData(nameof(ValidOidFriendlyNameHashAlgorithmPairs))]
- [PlatformSpecific(TestPlatforms.Windows)]
+ [PlatformSpecific(TestPlatforms.Windows)] // Uses P/Invokes to get the Oid lookup table
public static void LookupOidByFriendlyName_Method_WrongGroup(string oidValue, string friendlyName)
{
// Oid group is implemented strictly - no fallback to OidGroup.All as with many other parts of Crypto.
@@ -259,7 +259,7 @@ namespace System.Security.Cryptography.Encoding.Tests
}
[Fact]
- [PlatformSpecific(TestPlatforms.AnyUnix)]
+ [PlatformSpecific(TestPlatforms.AnyUnix)] // Uses P/Invokes to search Oid in the lookup table
public static void LookupOidByValue_Method_UnixOnly()
{
// This needs to be an OID not in the static lookup table. The purpose is to verify the
@@ -273,7 +273,7 @@ namespace System.Security.Cryptography.Encoding.Tests
}
[Fact]
- [PlatformSpecific(TestPlatforms.AnyUnix)]
+ [PlatformSpecific(TestPlatforms.AnyUnix)] // Uses P/Invokes to search Oid in the lookup table
public static void LookupOidByFriendlyName_Method_UnixOnly()
{
// This needs to be a name not in the static lookup table. The purpose is to verify the